2 * PROJECT: .inf file parser
3 * LICENSE: GPL - See COPYING in the top level directory
4 * PROGRAMMER: Royce Mitchell III
6 * Ge van Geldorp <gvg@reactos.org>
9 /* INCLUDES *****************************************************************/
19 InfFindFirstLine(HINF InfHandle
,
24 return INF_SUCCESS(InfpFindFirstLine(InfHandle
, Section
, Key
, Context
));
29 InfFindNextLine(PINFCONTEXT ContextIn
,
30 PINFCONTEXT ContextOut
)
32 return INF_SUCCESS(InfpFindNextLine(ContextIn
, ContextOut
));
37 InfFindFirstMatchLine(PINFCONTEXT ContextIn
,
39 PINFCONTEXT ContextOut
)
41 return INF_SUCCESS(InfpFindFirstMatchLine(ContextIn
, Key
, ContextOut
));
46 InfFindNextMatchLine(PINFCONTEXT ContextIn
,
48 PINFCONTEXT ContextOut
)
50 return INF_SUCCESS(InfpFindNextMatchLine(ContextIn
, Key
, ContextOut
));
55 InfGetLineCount(HINF InfHandle
,
58 return InfpGetLineCount(InfHandle
, Section
);
66 InfGetFieldCount(PINFCONTEXT Context
)
68 return InfpGetFieldCount(Context
);
73 InfGetBinaryField(PINFCONTEXT Context
,
76 ULONG ReturnBufferSize
,
79 return INF_SUCCESS(InfpGetBinaryField(Context
, FieldIndex
, ReturnBuffer
,
80 ReturnBufferSize
, RequiredSize
));
85 InfGetIntField(PINFCONTEXT Context
,
89 return INF_SUCCESS(InfpGetIntField(Context
, FieldIndex
, IntegerValue
));
94 InfGetMultiSzField(PINFCONTEXT Context
,
97 ULONG ReturnBufferSize
,
100 return INF_SUCCESS(InfpGetMultiSzField(Context
, FieldIndex
, ReturnBuffer
,
101 ReturnBufferSize
, RequiredSize
));
106 InfGetStringField(PINFCONTEXT Context
,
109 ULONG ReturnBufferSize
,
112 return INF_SUCCESS(InfpGetStringField(Context
, FieldIndex
, ReturnBuffer
,
113 ReturnBufferSize
, RequiredSize
));
118 InfGetData(PINFCONTEXT Context
,
122 return INF_SUCCESS(InfpGetData(Context
, Key
, Data
));
127 InfGetDataField (PINFCONTEXT Context
,
131 return INF_SUCCESS(InfpGetDataField(Context
, FieldIndex
, Data
));
135 InfFreeContext(PINFCONTEXT Context
)
137 InfpFreeContext(Context
);