SP_ORIGINAL_FILE_INFO_A structure (setupapi.h)

The SP_ORIGINAL_FILE_INFO structure receives the original INF file name and catalog file information returned by SetupQueryInfOriginalFileInformation.

Syntax

typedef struct _SP_ORIGINAL_FILE_INFO_A {
  DWORD cbSize;
  CHAR  OriginalInfName[MAX_PATH];
  CHAR  OriginalCatalogName[MAX_PATH];
} SP_ORIGINAL_FILE_INFO_A, *PSP_ORIGINAL_FILE_INFO_A;

Members

cbSize

Size of this structure, in bytes.

OriginalInfName[MAX_PATH]

Original file name of the INF file stored in array of size MAX_PATH.

OriginalCatalogName[MAX_PATH]

Catalog name of the INF file stored in array of size MAX_PATH.

Remarks

Note

The setupapi.h header defines SP_ORIGINAL_FILE_INFO as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

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

Structures