15#if defined(_SETUPAPI_H_) || defined(_INC_SETUPAPI)
33#undef MAX_INF_STRING_LENGTH
34#define MAX_INF_STRING_LENGTH 1024
36#ifndef INF_STYLE_OLDNT
37#define INF_STYLE_OLDNT 0x00000001
41#define INF_STYLE_WIN4 0x00000002
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
struct _FileName FileName
ULONG(WINAPI * pSpInfGetFieldCount)(IN PINFCONTEXT Context)
pSpInfGetBinaryField SpInfGetBinaryField
HINF(WINAPI * pSpInfOpenInfFile)(IN PCWSTR FileName, IN PCWSTR InfClass, IN DWORD InfStyle, IN LCID LocaleId, OUT PUINT ErrorLine)
pSpInfGetMultiSzField SpInfGetMultiSzField
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 _INFCONTEXT * PINFCONTEXT
struct _INFCONTEXT INFCONTEXT
pSpInfGetStringField SpInfGetStringField
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)
pSpInfGetFieldCount SpInfGetFieldCount
pSpInfFindNextLine SpInfFindNextLine
pSpInfGetIntField SpInfGetIntField
pSpInfFindFirstLine SpInfFindFirstLine
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)
pSpInfOpenInfFile SpInfOpenInfFile
pSpInfCloseInfFile SpInfCloseInfFile
pSpInfGetField SpInfGetField
BOOLEAN INF_GetData(IN PINFCONTEXT Context, OUT PCWSTR *Key, OUT PCWSTR *Data)
PCWSTR(WINAPI * pSpInfGetField)(IN PINFCONTEXT Context, IN ULONG FieldIndex)
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
_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