SP_INF_INFORMATION structure (setupapi.h)

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

Syntax

typedef struct _SP_INF_INFORMATION {
  DWORD InfStyle;
  DWORD InfCount;
  BYTE  VersionData[ANYSIZE_ARRAY];
} SP_INF_INFORMATION, *PSP_INF_INFORMATION;

Members

InfStyle

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
A legacy INF file format.
INF_STYLE_WIN4
A Windows INF file format.

InfCount

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.

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

SetupGetInfInformation

SetupQueryInfFileInformation

SetupQueryInfVersionInformation

Structures