11#define STATUS_BAD_SECTION_NAME_LINE (0xC0700001)
12#define STATUS_SECTION_NAME_TOO_LONG (0xC0700002)
13#define STATUS_WRONG_INF_STYLE (0xC0700003)
14#define STATUS_NOT_ENOUGH_MEMORY (0xC0700004)
16#define MAX_INF_STRING_LENGTH 512
BOOLEAN InfFindFirstLine(HINF InfHandle, PCSTR Section, PCSTR Key, PINFCONTEXT Context)
LONG InfGetLineCount(HINF InfHandle, PCSTR Section)
BOOLEAN InfGetData(PINFCONTEXT Context, PCSTR *Key, PCSTR *Data)
BOOLEAN InfGetIntField(PINFCONTEXT Context, ULONG FieldIndex, LONG *IntegerValue)
BOOLEAN InfFindNextMatchLine(PINFCONTEXT ContextIn, PCSTR Key, PINFCONTEXT ContextOut)
struct _INFCONTEXT * PINFCONTEXT
BOOLEAN InfGetStringField(PINFCONTEXT Context, ULONG FieldIndex, PCHAR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
struct _INFCONTEXT INFCONTEXT
VOID InfCloseFile(HINF InfHandle)
BOOLEAN InfGetMultiSzField(PINFCONTEXT Context, ULONG FieldIndex, PCHAR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
BOOLEAN InfGetDataField(PINFCONTEXT Context, ULONG FieldIndex, PCSTR *Data)
BOOLEAN InfFindNextLine(PINFCONTEXT ContextIn, PINFCONTEXT ContextOut)
BOOLEAN InfFindFirstMatchLine(PINFCONTEXT ContextIn, PCSTR Key, PINFCONTEXT ContextOut)
BOOLEAN InfGetBinaryField(PINFCONTEXT Context, ULONG FieldIndex, PUCHAR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
LONG InfGetFieldCount(PINFCONTEXT Context)
BOOLEAN InfOpenFile(PHINF InfHandle, PCSTR FileName, PULONG ErrorLine)
_In_ DWORD _In_ DWORD ReturnBufferSize
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ ULONG _Out_ PVOID _Out_ PULONG RequiredSize