SP_INF_INFORMATION

The SP_INF_INFORMATION structure stores information about an INF file, including the style, number of constituent INF files, and version data.

typedef struct _SP_INF_INFORMATION {
    DWORD InfStyle;            //the style of the INF file
    DWORD InfCount;            //number of constituent INF files
    BYTE  VersionData[ANYSIZE_ARRAY];
                               //array to store the INF information
} SP_INF_INFORMATION, *PSP_INF_INFORMATION;
 

Members

InfStyle
Specifies the style of the INF file. This member can be one of the following values.
Value Meaning
INF_STYLE_NONE Specifies that the style of the INF file is unrecognized or nonexistent.
INF_STYLE_OLDNT Specifies a Windows NT 3.x style INF file.
INF_STYLE_WIN4 Specifies a Windows 95- or Windows NT-style INF file.

InfCount
Specifies the number of constituent INF files.
VersionData[ANYSIZE_ARRAY]
Stores information from the Version section of an INF file in an array of ANYSIZE_ARRAY bytes.

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, SetupGetInfInformation, SetupQueryInfFileInformation, SetupQueryInfVersionInformation