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>
13 #endif /* __cplusplus */
15 #include <infcommon.h>
17 extern VOID
InfSetHeap(PVOID Heap
);
18 extern NTSTATUS
InfOpenBufferedFile(PHINF InfHandle
,
23 extern NTSTATUS
InfOpenFile(PHINF InfHandle
,
24 PUNICODE_STRING FileName
,
27 extern NTSTATUS
InfWriteFile(HINF InfHandle
,
28 PUNICODE_STRING FileName
,
29 PUNICODE_STRING HeaderComment
);
30 extern VOID
InfCloseFile(HINF InfHandle
);
31 extern BOOLEAN
InfFindFirstLine(HINF InfHandle
,
34 PINFCONTEXT
*Context
);
35 extern BOOLEAN
InfFindNextLine(PINFCONTEXT ContextIn
,
36 PINFCONTEXT ContextOut
);
37 extern BOOLEAN
InfFindFirstMatchLine(PINFCONTEXT ContextIn
,
39 PINFCONTEXT ContextOut
);
40 extern BOOLEAN
InfFindNextMatchLine(PINFCONTEXT ContextIn
,
42 PINFCONTEXT ContextOut
);
43 extern LONG
InfGetLineCount(HINF InfHandle
,
45 extern LONG
InfGetFieldCount(PINFCONTEXT Context
);
46 extern BOOLEAN
InfGetBinaryField(PINFCONTEXT Context
,
49 ULONG ReturnBufferSize
,
51 extern BOOLEAN
InfGetIntField(PINFCONTEXT Context
,
54 extern BOOLEAN
InfGetMultiSzField(PINFCONTEXT Context
,
57 ULONG ReturnBufferSize
,
59 extern BOOLEAN
InfGetStringField(PINFCONTEXT Context
,
62 ULONG ReturnBufferSize
,
64 extern BOOLEAN
InfGetData(PINFCONTEXT Context
,
67 extern BOOLEAN
InfGetDataField(PINFCONTEXT Context
,
70 extern BOOLEAN
InfFindOrAddSection(HINF InfHandle
,
72 PINFCONTEXT
*Context
);
73 extern BOOLEAN
InfAddLine(PINFCONTEXT Context
, PCWSTR Key
);
74 extern BOOLEAN
InfAddField(PINFCONTEXT Context
, PCWSTR Data
);
75 extern VOID
InfFreeContext(PINFCONTEXT Context
);
79 #endif /* __cplusplus */