SetupOpenMasterInf

The SetupOpenMasterInf function opens the master INF file that contains file and layout information for files shipped with Windows NT.

HINF SetupOpenMasterInf(
  VOID  // takes no parameters
);
 

Parameters

None.

Return Values

If SetupOpenMasterInf is successful, it returns a handle to the opened INF file that contains file/layout information for files shipped with Windows NT. Otherwise, the return value is INVALID_HANDLE_VALUE. To get extended error information, call GetLastError.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.
  Import Library: Link with setupapi.lib.

See Also

Overview, Functions, SetupOpenInfFile, SetupOpenAppendInfFile