Partager via


BuildINIPath

The BuildINIPath function returns a fully qualified path to an INI file that corresponds to information you enter.

LPSTRBuildINIPath(char*FullPath,
char*IniFileName);

Parameters

  • FullPath
    Buffer that receives the fully qualified INI file name.
  • IniFileName
    Name of the INI file (the full file name minus the filename extension).

Return Values

If the function is successful, the return value is a pointer to the fully qualified INI file name.

If the function is unsuccessful, the return value is NULL.

Remarks

The path that this function returns is a fully qualified path to an INI file that corresponds to information you enter. For example, if you enter XNS or TCP, the function generates a path to Xns.ini or Tcp.ini, respectively.

Requirements

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Parser.lib.

DLL Requires Nmapi.dll.