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

infrosget.c
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 /* INCLUDES *****************************************************************/
00010 
00011 #include "inflib.h"
00012 #include "infros.h"
00013 
00014 #define NDEBUG
00015 #include <debug.h>
00016 
00017 
00018 BOOLEAN
00019 InfFindFirstLine(HINF InfHandle,
00020                  PCWSTR Section,
00021                  PCWSTR Key,
00022                  PINFCONTEXT *Context)
00023 {
00024   return INF_SUCCESS(InfpFindFirstLine(InfHandle, Section, Key, Context));
00025 }
00026 
00027 
00028 BOOLEAN
00029 InfFindNextLine(PINFCONTEXT ContextIn,
00030                  PINFCONTEXT ContextOut)
00031 {
00032   return INF_SUCCESS(InfpFindNextLine(ContextIn, ContextOut));
00033 }
00034 
00035 
00036 BOOLEAN
00037 InfFindFirstMatchLine(PINFCONTEXT ContextIn,
00038                       PCWSTR Key,
00039                       PINFCONTEXT ContextOut)
00040 {
00041   return INF_SUCCESS(InfpFindFirstMatchLine(ContextIn, Key, ContextOut));
00042 }
00043 
00044 
00045 BOOLEAN
00046 InfFindNextMatchLine(PINFCONTEXT ContextIn,
00047                      PCWSTR Key,
00048                      PINFCONTEXT ContextOut)
00049 {
00050   return INF_SUCCESS(InfpFindNextMatchLine(ContextIn, Key, ContextOut));
00051 }
00052 
00053 
00054 LONG
00055 InfGetLineCount(HINF InfHandle,
00056                 PCWSTR Section)
00057 {
00058   return InfpGetLineCount(InfHandle, Section);
00059 }
00060 
00061 
00062 /* InfGetLineText */
00063 
00064 
00065 LONG
00066 InfGetFieldCount(PINFCONTEXT Context)
00067 {
00068   return InfpGetFieldCount(Context);
00069 }
00070 
00071 
00072 BOOLEAN
00073 InfGetBinaryField(PINFCONTEXT Context,
00074                   ULONG FieldIndex,
00075                   PUCHAR ReturnBuffer,
00076                   ULONG ReturnBufferSize,
00077                   PULONG RequiredSize)
00078 {
00079   return INF_SUCCESS(InfpGetBinaryField(Context, FieldIndex, ReturnBuffer,
00080                                         ReturnBufferSize, RequiredSize));
00081 }
00082 
00083 
00084 BOOLEAN
00085 InfGetIntField(PINFCONTEXT Context,
00086                ULONG FieldIndex,
00087                PINT IntegerValue)
00088 {
00089   return INF_SUCCESS(InfpGetIntField(Context, FieldIndex, IntegerValue));
00090 }
00091 
00092 
00093 BOOLEAN
00094 InfGetMultiSzField(PINFCONTEXT Context,
00095                    ULONG FieldIndex,
00096                    PWSTR ReturnBuffer,
00097                    ULONG ReturnBufferSize,
00098                    PULONG RequiredSize)
00099 {
00100   return INF_SUCCESS(InfpGetMultiSzField(Context, FieldIndex, ReturnBuffer,
00101                                          ReturnBufferSize, RequiredSize));
00102 }
00103 
00104 
00105 BOOLEAN
00106 InfGetStringField(PINFCONTEXT Context,
00107                   ULONG FieldIndex,
00108                   PWSTR ReturnBuffer,
00109                   ULONG ReturnBufferSize,
00110                   PULONG RequiredSize)
00111 {
00112   return INF_SUCCESS(InfpGetStringField(Context, FieldIndex, ReturnBuffer,
00113                                         ReturnBufferSize, RequiredSize));
00114 }
00115 
00116 
00117 BOOLEAN
00118 InfGetData(PINFCONTEXT Context,
00119            PWCHAR *Key,
00120            PWCHAR *Data)
00121 {
00122   return INF_SUCCESS(InfpGetData(Context, Key, Data));
00123 }
00124 
00125 
00126 BOOLEAN
00127 InfGetDataField (PINFCONTEXT Context,
00128                  ULONG FieldIndex,
00129                  PWCHAR *Data)
00130 {
00131   return INF_SUCCESS(InfpGetDataField(Context, FieldIndex, Data));
00132 }
00133 
00134 VOID
00135 InfFreeContext(PINFCONTEXT Context)
00136 {
00137   InfpFreeContext(Context);
00138 }
00139 
00140 /* EOF */

Generated on Fri May 25 2012 04:34:45 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.