15#if defined(_SETUPAPI_H_) || defined(_INC_SETUPAPI)
35#undef MAX_INF_STRING_LENGTH
36#define MAX_INF_STRING_LENGTH 1024
38#ifndef INF_STYLE_OLDNT
39#define INF_STYLE_OLDNT 0x00000001
43#define INF_STYLE_WIN4 0x00000002
139#define SpInfCloseInfFile (SpInfExports.SpInfCloseInfFile)
140#define SpInfFindFirstLine (SpInfExports.SpInfFindFirstLine)
141#define SpInfFindNextLine (SpInfExports.SpInfFindNextLine)
142#define SpInfGetFieldCount (SpInfExports.SpInfGetFieldCount)
143#define SpInfGetBinaryField (SpInfExports.SpInfGetBinaryField)
144#define SpInfGetIntField (SpInfExports.SpInfGetIntField)
145#define SpInfGetMultiSzField (SpInfExports.SpInfGetMultiSzField)
146#define SpInfGetStringField (SpInfExports.SpInfGetStringField)
147#define SpInfGetField (SpInfExports.SpInfGetField)
148#define SpInfOpenInfFile (SpInfExports.SpInfOpenInfFile)
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
struct _FileName FileName
ULONG(WINAPI * pSpInfGetFieldCount)(IN PINFCONTEXT Context)
SPINF_EXPORTS SpInfExports
HINF(WINAPI * pSpInfOpenInfFile)(IN PCWSTR FileName, IN PCWSTR InfClass, IN DWORD InfStyle, IN LCID LocaleId, OUT PUINT ErrorLine)
BOOL(WINAPI * pSpInfGetStringField)(IN PINFCONTEXT Context, IN ULONG FieldIndex, OUT PWSTR ReturnBuffer, IN ULONG ReturnBufferSize, OUT PULONG RequiredSize)
BOOL(WINAPI * pSpInfGetMultiSzField)(IN PINFCONTEXT Context, IN ULONG FieldIndex, OUT PWSTR ReturnBuffer, IN ULONG ReturnBufferSize, OUT PULONG RequiredSize)
struct _SPINF_EXPORTS SPINF_EXPORTS
struct _INFCONTEXT * PINFCONTEXT
struct _INFCONTEXT INFCONTEXT
BOOL(WINAPI * pSpInfFindFirstLine)(IN HINF InfHandle, IN PCWSTR Section, IN PCWSTR Key, IN OUT PINFCONTEXT Context)
BOOL(WINAPI * pSpInfGetIntField)(IN PINFCONTEXT Context, IN ULONG FieldIndex, OUT INT *IntegerValue)
VOID(WINAPI * pSpInfCloseInfFile)(IN HINF InfHandle)
BOOLEAN INF_GetDataField(IN PINFCONTEXT Context, IN ULONG FieldIndex, OUT PCWSTR *Data)
FORCEINLINE VOID INF_FreeData(IN PCWSTR InfData)
BOOLEAN INF_GetData(IN PINFCONTEXT Context, OUT PCWSTR *Key, OUT PCWSTR *Data)
PCWSTR(WINAPI * pSpInfGetField)(IN PINFCONTEXT Context, IN ULONG FieldIndex)
struct _SPINF_EXPORTS * PSPINF_EXPORTS
BOOL(WINAPI * pSpInfGetBinaryField)(IN PINFCONTEXT Context, IN ULONG FieldIndex, OUT PUCHAR ReturnBuffer, IN ULONG ReturnBufferSize, OUT PULONG RequiredSize)
BOOL(WINAPI * pSpInfFindNextLine)(IN PINFCONTEXT ContextIn, OUT PINFCONTEXT ContextOut)
#define UNREFERENCED_PARAMETER(P)
_In_ DWORD _In_ DWORD ReturnBufferSize
pSpInfFindFirstLine SpInfFindFirstLine
pSpInfGetBinaryField SpInfGetBinaryField
pSpInfGetField SpInfGetField
pSpInfFindNextLine SpInfFindNextLine
pSpInfGetStringField SpInfGetStringField
pSpInfGetIntField SpInfGetIntField
pSpInfOpenInfFile SpInfOpenInfFile
pSpInfGetMultiSzField SpInfGetMultiSzField
pSpInfGetFieldCount SpInfGetFieldCount
pSpInfCloseInfFile SpInfCloseInfFile
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize
_Must_inspect_result_ _In_ PWDFDEVICE_INIT _In_ PCUNICODE_STRING _In_ PCUNICODE_STRING _In_ LCID LocaleId