ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

infros.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 VOID InfSetHeap(PVOID Heap);
00018 extern NTSTATUS InfOpenBufferedFile(PHINF InfHandle,
00019                                     PVOID Buffer,
00020                                     ULONG BufferSize,
00021                                     LANGID LanguageId,
00022                                     PULONG ErrorLine);
00023 extern NTSTATUS InfOpenFile(PHINF InfHandle,
00024                             PUNICODE_STRING FileName,
00025                             LANGID LanguageId,
00026                             PULONG ErrorLine);
00027 extern NTSTATUS InfWriteFile(HINF InfHandle,
00028                              PUNICODE_STRING FileName,
00029                              PUNICODE_STRING HeaderComment);
00030 extern VOID InfCloseFile(HINF InfHandle);
00031 extern BOOLEAN InfFindFirstLine(HINF InfHandle,
00032                                 PCWSTR Section,
00033                                 PCWSTR Key,
00034                                 PINFCONTEXT *Context);
00035 extern BOOLEAN InfFindNextLine(PINFCONTEXT ContextIn,
00036                                PINFCONTEXT ContextOut);
00037 extern BOOLEAN InfFindFirstMatchLine(PINFCONTEXT ContextIn,
00038                                      PCWSTR Key,
00039                                      PINFCONTEXT ContextOut);
00040 extern BOOLEAN InfFindNextMatchLine(PINFCONTEXT ContextIn,
00041                                     PCWSTR Key,
00042                                     PINFCONTEXT ContextOut);
00043 extern LONG InfGetLineCount(HINF InfHandle,
00044                             PCWSTR Section);
00045 extern LONG InfGetFieldCount(PINFCONTEXT Context);
00046 extern BOOLEAN InfGetBinaryField(PINFCONTEXT Context,
00047                                  ULONG FieldIndex,
00048                                  PUCHAR ReturnBuffer,
00049                                  ULONG ReturnBufferSize,
00050                                  PULONG RequiredSize);
00051 extern BOOLEAN InfGetIntField(PINFCONTEXT Context,
00052                               ULONG FieldIndex,
00053                               INT *IntegerValue);
00054 extern BOOLEAN InfGetMultiSzField(PINFCONTEXT Context,
00055                                   ULONG FieldIndex,
00056                                   PWSTR ReturnBuffer,
00057                                   ULONG ReturnBufferSize,
00058                                   PULONG RequiredSize);
00059 extern BOOLEAN InfGetStringField(PINFCONTEXT Context,
00060                                  ULONG FieldIndex,
00061                                  PWSTR ReturnBuffer,
00062                                  ULONG ReturnBufferSize,
00063                                  PULONG RequiredSize);
00064 extern BOOLEAN InfGetData(PINFCONTEXT Context,
00065                           PWCHAR *Key,
00066                           PWCHAR *Data);
00067 extern BOOLEAN InfGetDataField(PINFCONTEXT Context,
00068                                ULONG FieldIndex,
00069                                PWCHAR *Data);
00070 extern BOOLEAN InfFindOrAddSection(HINF InfHandle,
00071                                    PCWSTR Section,
00072                                    PINFCONTEXT *Context);
00073 extern BOOLEAN InfAddLine(PINFCONTEXT Context, PCWSTR Key);
00074 extern BOOLEAN InfAddField(PINFCONTEXT Context, PCWSTR Data);
00075 extern VOID InfFreeContext(PINFCONTEXT Context);
00076 
00077 #ifdef __cplusplus
00078 }
00079 #endif /* __cplusplus */
00080 
00081 /* EOF */

Generated on Sat May 26 2012 04:35:14 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.