ReactOS  0.4.13-dev-479-gec9c8fd
infrosget.c File Reference
#include "inflib.h"
#include "infros.h"
#include <debug.h>
Include dependency graph for infrosget.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

BOOLEAN InfFindFirstLine (HINF InfHandle, PCWSTR Section, PCWSTR Key, PINFCONTEXT *Context)
 
BOOLEAN InfFindNextLine (PINFCONTEXT ContextIn, PINFCONTEXT ContextOut)
 
BOOLEAN InfFindFirstMatchLine (PINFCONTEXT ContextIn, PCWSTR Key, PINFCONTEXT ContextOut)
 
BOOLEAN InfFindNextMatchLine (PINFCONTEXT ContextIn, PCWSTR Key, PINFCONTEXT ContextOut)
 
LONG InfGetLineCount (HINF InfHandle, PCWSTR Section)
 
LONG InfGetFieldCount (PINFCONTEXT Context)
 
BOOLEAN InfGetBinaryField (PINFCONTEXT Context, ULONG FieldIndex, PUCHAR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
 
BOOLEAN InfGetIntField (PINFCONTEXT Context, ULONG FieldIndex, INT *IntegerValue)
 
BOOLEAN InfGetMultiSzField (PINFCONTEXT Context, ULONG FieldIndex, PWSTR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
 
BOOLEAN InfGetStringField (PINFCONTEXT Context, ULONG FieldIndex, PWSTR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
 
BOOLEAN InfGetData (PINFCONTEXT Context, PWCHAR *Key, PWCHAR *Data)
 
BOOLEAN InfGetDataField (PINFCONTEXT Context, ULONG FieldIndex, PWCHAR *Data)
 
VOID InfFreeContext (PINFCONTEXT Context)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 14 of file infrosget.c.

Function Documentation

◆ InfFindFirstLine()

BOOLEAN InfFindFirstLine ( HINF  InfHandle,
PCWSTR  Section,
PCWSTR  Key,
PINFCONTEXT Context 
)

Definition at line 19 of file infrosget.c.

23 {
24  return INF_SUCCESS(InfpFindFirstLine(InfHandle, Section, Key, Context));
25 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpFindFirstLine(PINFCACHE Cache, PCWSTR Section, PCWSTR Key, PINFCONTEXT *Context)
Definition: infget.c:173

◆ InfFindFirstMatchLine()

BOOLEAN InfFindFirstMatchLine ( PINFCONTEXT  ContextIn,
PCWSTR  Key,
PINFCONTEXT  ContextOut 
)

Definition at line 37 of file infrosget.c.

40 {
41  return INF_SUCCESS(InfpFindFirstMatchLine(ContextIn, Key, ContextOut));
42 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpFindFirstMatchLine(PINFCONTEXT ContextIn, PCWSTR Key, PINFCONTEXT ContextOut)
Definition: infget.c:251

◆ InfFindNextLine()

BOOLEAN InfFindNextLine ( PINFCONTEXT  ContextIn,
PINFCONTEXT  ContextOut 
)

Definition at line 29 of file infrosget.c.

31 {
32  return INF_SUCCESS(InfpFindNextLine(ContextIn, ContextOut));
33 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpFindNextLine(PINFCONTEXT ContextIn, PINFCONTEXT ContextOut)
Definition: infget.c:224

Referenced by SetupFindNextLine(), and SetupLdrScanBootDrivers().

◆ InfFindNextMatchLine()

BOOLEAN InfFindNextMatchLine ( PINFCONTEXT  ContextIn,
PCWSTR  Key,
PINFCONTEXT  ContextOut 
)

Definition at line 46 of file infrosget.c.

49 {
50  return INF_SUCCESS(InfpFindNextMatchLine(ContextIn, Key, ContextOut));
51 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpFindNextMatchLine(PINFCONTEXT ContextIn, PCWSTR Key, PINFCONTEXT ContextOut)
Definition: infget.c:287

◆ InfFreeContext()

VOID InfFreeContext ( PINFCONTEXT  Context)

Definition at line 135 of file infrosget.c.

136 {
138 }
VOID InfpFreeContext(PINFCONTEXT Context)
Definition: infget.c:673

Referenced by SetupFindFirstLineW().

◆ InfGetBinaryField()

BOOLEAN InfGetBinaryField ( PINFCONTEXT  Context,
ULONG  FieldIndex,
PUCHAR  ReturnBuffer,
ULONG  ReturnBufferSize,
PULONG  RequiredSize 
)

Definition at line 73 of file infrosget.c.

78 {
79  return INF_SUCCESS(InfpGetBinaryField(Context, FieldIndex, ReturnBuffer,
81 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpGetBinaryField(PINFCONTEXT Context, ULONG FieldIndex, PUCHAR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
Definition: infget.c:371
_In_ DWORD _In_ DWORD ReturnBufferSize
Definition: setupapi.h:1891
_Inout_ PRTL_BUFFER _In_ SIZE_T RequiredSize
_In_ DWORD FieldIndex
Definition: setupapi.h:1889

Referenced by SetupGetBinaryField().

◆ InfGetData()

BOOLEAN InfGetData ( PINFCONTEXT  Context,
PWCHAR Key,
PWCHAR Data 
)

Definition at line 118 of file infrosget.c.

121 {
123 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpGetData(PINFCONTEXT Context, PWCHAR *Key, PWCHAR *Data)
Definition: infget.c:604

◆ InfGetDataField()

BOOLEAN InfGetDataField ( PINFCONTEXT  Context,
ULONG  FieldIndex,
PWCHAR Data 
)

Definition at line 127 of file infrosget.c.

130 {
132 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
INFSTATUS InfpGetDataField(PINFCONTEXT Context, ULONG FieldIndex, PWCHAR *Data)
Definition: infget.c:637
_In_ DWORD FieldIndex
Definition: setupapi.h:1889

Referenced by LoadReactOSSetup(), pSetupGetField(), SetupLdrLoadNlsData(), and SetupLdrScanBootDrivers().

◆ InfGetFieldCount()

LONG InfGetFieldCount ( PINFCONTEXT  Context)

Definition at line 66 of file infrosget.c.

67 {
68  return InfpGetFieldCount(Context);
69 }
LONG InfpGetFieldCount(PINFCONTEXT Context)
Definition: infget.c:361

Referenced by SetupGetFieldCount().

◆ InfGetIntField()

BOOLEAN InfGetIntField ( PINFCONTEXT  Context,
ULONG  FieldIndex,
INT IntegerValue 
)

Definition at line 85 of file infrosget.c.

88 {
89  return INF_SUCCESS(InfpGetIntField(Context, FieldIndex, IntegerValue));
90 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
_In_ DWORD FieldIndex
Definition: setupapi.h:1889
INFSTATUS InfpGetIntField(PINFCONTEXT Context, ULONG FieldIndex, INT *IntegerValue)
Definition: infget.c:427

Referenced by SetupGetIntField().

◆ InfGetLineCount()

LONG InfGetLineCount ( HINF  InfHandle,
PCWSTR  Section 
)

Definition at line 55 of file infrosget.c.

57 {
58  return InfpGetLineCount(InfHandle, Section);
59 }
LONG InfpGetLineCount(HINF InfHandle, PCWSTR Section)
Definition: infget.c:323

◆ InfGetMultiSzField()

BOOLEAN InfGetMultiSzField ( PINFCONTEXT  Context,
ULONG  FieldIndex,
PWSTR  ReturnBuffer,
ULONG  ReturnBufferSize,
PULONG  RequiredSize 
)

Definition at line 94 of file infrosget.c.

99 {
100  return INF_SUCCESS(InfpGetMultiSzField(Context, FieldIndex, ReturnBuffer,
102 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
_In_ DWORD _In_ DWORD ReturnBufferSize
Definition: setupapi.h:1891
_Inout_ PRTL_BUFFER _In_ SIZE_T RequiredSize
_In_ DWORD FieldIndex
Definition: setupapi.h:1889
INFSTATUS InfpGetMultiSzField(PINFCONTEXT Context, ULONG FieldIndex, PWSTR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
Definition: infget.c:470

Referenced by SetupGetMultiSzFieldW().

◆ InfGetStringField()

BOOLEAN InfGetStringField ( PINFCONTEXT  Context,
ULONG  FieldIndex,
PWSTR  ReturnBuffer,
ULONG  ReturnBufferSize,
PULONG  RequiredSize 
)

Definition at line 106 of file infrosget.c.

111 {
112  return INF_SUCCESS(InfpGetStringField(Context, FieldIndex, ReturnBuffer,
114 }
#define INF_SUCCESS(x)
Definition: builddep.h:82
_In_ DWORD _In_ DWORD ReturnBufferSize
Definition: setupapi.h:1891
INFSTATUS InfpGetStringField(PINFCONTEXT Context, ULONG FieldIndex, PWSTR ReturnBuffer, ULONG ReturnBufferSize, PULONG RequiredSize)
Definition: infget.c:539
_Inout_ PRTL_BUFFER _In_ SIZE_T RequiredSize
_In_ DWORD FieldIndex
Definition: setupapi.h:1889

Referenced by SetupGetStringFieldW().