NetConfigGet2 or Net32ConfigGet2

The NetConfigGet2 API retrieves one specified parameter value from the IBMLAN.INI file of the local computer or a remote server.

The NetConfigGet2 API replaces the NetConfigGet API, which is now obsolete.

NetConfigGet2 returns the value (ASCIIZ string) for a single parameter of a specified component in buf. This string is the entire value content of the IBMLAN.INI line for the specified parameter, which is all text to the right of the equals sign (=). Leading and trailing spaces are stripped from this text. No other processing is performed on it.