INFCONTEXT structure (setupapi.h)

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

Syntax

typedef struct _INFCONTEXT {
  PVOID Inf;
  PVOID CurrentInf;
  UINT  Section;
  UINT  Line;
} INFCONTEXT, *PINFCONTEXT;

Members

Inf

Handle to the INF file returned by SetupOpenInfFile.

CurrentInf

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

Section in the current INF file.

Line

Line of the current section in the INF file.

Note    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.
 

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header setupapi.h

See also

Overview

SetupFindFirstLine

SetupFindNextLine

SetupFindNextMatchLine

Structures