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 NTSTATUS InfOpenBufferedFile(PHINF InfHandle,
00018                                     PVOID Buffer,
00019                                     ULONG BufferSize,
00020                                     PULONG ErrorLine);
00021 extern NTSTATUS InfOpenFile(PHINF InfHandle,
00022                             PUNICODE_STRING FileName,
00023                             PULONG ErrorLine);
00024 extern NTSTATUS InfWriteFile(HINF InfHandle,
00025                              PUNICODE_STRING FileName,
00026                              PUNICODE_STRING HeaderComment);
00027 extern BOOLEAN InfFindFirstLine(HINF InfHandle,
00028                                 PCWSTR Section,
00029                                 PCWSTR Key,
00030                                 PINFCONTEXT *Context);
00031 extern BOOLEAN InfFindFirstMatchLine(PINFCONTEXT ContextIn,
00032                                      PCWSTR Key,
00033                                      PINFCONTEXT ContextOut);
00034 extern BOOLEAN InfFindNextMatchLine(PINFCONTEXT ContextIn,
00035                                     PCWSTR Key,
00036                                     PINFCONTEXT ContextOut);
00037 extern LONG InfGetLineCount(HINF InfHandle,
00038                             PCWSTR Section);
00039 extern LONG InfGetFieldCount(PINFCONTEXT Context);
00040 extern BOOLEAN InfGetIntField(PINFCONTEXT Context,
00041                               ULONG FieldIndex,
00042                               PINT IntegerValue);
00043 extern BOOLEAN InfGetData(PINFCONTEXT Context,
00044                           PWCHAR *Key,
00045                           PWCHAR *Data);
00046 extern BOOLEAN InfGetDataField(PINFCONTEXT Context,
00047                                ULONG FieldIndex,
00048                                PWCHAR *Data);
00049 extern BOOLEAN InfFindOrAddSection(HINF InfHandle,
00050                                    PCWSTR Section,
00051                                    PINFCONTEXT *Context);
00052 extern BOOLEAN InfAddLine(PINFCONTEXT Context, PCWSTR Key);
00053 extern BOOLEAN InfAddField(PINFCONTEXT Context, PCWSTR Data);
00054 extern VOID InfFreeContext(PINFCONTEXT Context);
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif /* __cplusplus */
00059 
00060 /* 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.