Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygeninfhost.h
Go to the documentation of this file.
00001 /* 00002 * PROJECT: .inf file parser 00003 * LICENSE: GPL - See COPYING in the top level directory 00004 * PROGRAMMER: Royce Mitchell III 00005 * Eric Kohl 00006 * Ge van Geldorp <gvg@reactos.org> 00007 */ 00008 00009 #pragma once 00010 00011 #ifdef __cplusplus 00012 extern "C" { 00013 #endif /* __cplusplus */ 00014 00015 #include "infcommon.h" 00016 00017 extern int InfHostOpenBufferedFile(PHINF InfHandle, 00018 void *Buffer, 00019 ULONG BufferSize, 00020 LANGID LanguageId, 00021 ULONG *ErrorLine); 00022 extern int InfHostOpenFile(PHINF InfHandle, 00023 const CHAR *FileName, 00024 LANGID LanguageId, 00025 ULONG *ErrorLine); 00026 extern int InfHostWriteFile(HINF InfHandle, 00027 const CHAR *FileName, 00028 const CHAR *HeaderComment); 00029 extern void InfHostCloseFile(HINF InfHandle); 00030 extern int InfHostFindFirstLine(HINF InfHandle, 00031 const WCHAR *Section, 00032 const WCHAR *Key, 00033 PINFCONTEXT *Context); 00034 extern int InfHostFindNextLine(PINFCONTEXT ContextIn, 00035 PINFCONTEXT ContextOut); 00036 extern int InfHostFindFirstMatchLine(PINFCONTEXT ContextIn, 00037 const WCHAR *Key, 00038 PINFCONTEXT ContextOut); 00039 extern int InfHostFindNextMatchLine(PINFCONTEXT ContextIn, 00040 const WCHAR *Key, 00041 PINFCONTEXT ContextOut); 00042 extern LONG InfHostGetLineCount(HINF InfHandle, 00043 const WCHAR *Section); 00044 extern LONG InfHostGetFieldCount(PINFCONTEXT Context); 00045 extern int InfHostGetBinaryField(PINFCONTEXT Context, 00046 ULONG FieldIndex, 00047 UCHAR *ReturnBuffer, 00048 ULONG ReturnBufferSize, 00049 ULONG *RequiredSize); 00050 extern int InfHostGetIntField(PINFCONTEXT Context, 00051 ULONG FieldIndex, 00052 INT *IntegerValue); 00053 extern int InfHostGetMultiSzField(PINFCONTEXT Context, 00054 ULONG FieldIndex, 00055 WCHAR *ReturnBuffer, 00056 ULONG ReturnBufferSize, 00057 ULONG *RequiredSize); 00058 extern int InfHostGetStringField(PINFCONTEXT Context, 00059 ULONG FieldIndex, 00060 WCHAR *ReturnBuffer, 00061 ULONG ReturnBufferSize, 00062 ULONG *RequiredSize); 00063 extern int InfHostGetData(PINFCONTEXT Context, 00064 WCHAR **Key, 00065 WCHAR **Data); 00066 extern int InfHostGetDataField(PINFCONTEXT Context, 00067 ULONG FieldIndex, 00068 WCHAR **Data); 00069 extern int InfHostFindOrAddSection(HINF InfHandle, 00070 const WCHAR *Section, 00071 PINFCONTEXT *Context); 00072 extern int InfHostAddLine(PINFCONTEXT Context, const WCHAR *Key); 00073 extern int InfHostAddField(PINFCONTEXT Context, const WCHAR *Data); 00074 extern void InfHostFreeContext(PINFCONTEXT Context); 00075 00076 #ifdef __cplusplus 00077 } 00078 #endif /* __cplusplus */ 00079 00080 /* EOF */ Generated on Sun May 27 2012 04:36:14 for ReactOS by
1.7.6.1
|