INFCONTEXT

The INFCONTEXT structure stores context information that functions such as SetupGetLineText use to navigate INF files.

typedef struct _INFCONTEXT {
    HINF Inf;                  //handle of the open INF file
    HINF CurrentInf;           //handle of the current INF file
    UINT Section;              //a section of the current INF file
    UINT Line;                 //a line of the INF section
} INFCONTEXT, *PINFCONTEXT;
 

Members

Inf
A handle to the INF file returned by SetupOpenInfFile.
CurrentInf
A pointer to the current INF file. The Inf member may point to multiple files if they were appended to the open INF file using SetupOpenAppendInfFile.
Section
Specifies a section in the current INF file.
Line
Specifies a line of the current section in the INF file.

Important The setup functions use this structure internally and it must not be accessed or modified by applications. It is included here for informational purposes only.

QuickInfo

  Windows NT: Use version 4.0 and later.
  Windows: Use Windows 95 and later.
  Windows CE: Unsupported.
  Header: Declared in setupapi.h.

See Also

Overview, Structures, SetupFindFirstLine, SetupFindNextLine, SetupFindNextMatchLine