Author: sserapion
Date: Tue Sep 23 23:07:16 2008
New Revision: 36443
URL:
http://svn.reactos.org/svn/reactos?rev=36443&view=rev
Log:
Remove references to Infp Functions that collide with inflib names, call the actual
functions instead of making small functions that shared the same parameters and just
called into inflib anyway, with no changes whatsoever.
Make InfpGetIntField's 3rd parameter an INT*
Modified:
branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.c
branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.h
branches/ros-amd64-bringup/reactos/base/setup/usetup/usetup.h
branches/ros-amd64-bringup/reactos/lib/inflib/infget.c
branches/ros-amd64-bringup/reactos/lib/inflib/infpriv.h
branches/ros-amd64-bringup/reactos/lib/inflib/infros.h
branches/ros-amd64-bringup/reactos/lib/inflib/infrosget.c
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.c [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -66,46 +66,6 @@
}
BOOL WINAPI
-InfpFindNextLine(
- IN PINFCONTEXT ContextIn,
- OUT PINFCONTEXT ContextOut)
-{
- return InfFindNextLine(ContextIn, ContextOut);
-}
-
-BOOL WINAPI
-InfpGetBinaryField(
- IN PINFCONTEXT Context,
- IN ULONG FieldIndex,
- IN OUT BYTE* ReturnBuffer,
- IN ULONG ReturnBufferSize,
- OUT PULONG RequiredSize)
-{
- return InfGetBinaryField(Context, FieldIndex, ReturnBuffer, ReturnBufferSize,
RequiredSize);
-}
-
-DWORD WINAPI
-InfpGetFieldCount(
- IN PINFCONTEXT Context)
-{
- return (DWORD)InfGetFieldCount(Context);
-}
-
-BOOL WINAPI
-InfpGetIntField(
- IN PINFCONTEXT Context,
- IN DWORD FieldIndex,
- OUT PINT IntegerValue)
-{
- LONG IntegerValueL;
- BOOL ret;
-
- ret = InfGetIntField(Context, FieldIndex, &IntegerValueL);
- *IntegerValue = (INT)IntegerValueL;
- return ret;
-}
-
-BOOL WINAPI
InfpGetMultiSzFieldW(
IN PINFCONTEXT Context,
IN ULONG FieldIndex,
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.h [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/inffile.h [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -37,10 +37,10 @@
#define SetupCloseInfFile InfpCloseInfFile
#define SetupFindFirstLineW InfpFindFirstLineW
-#define SetupFindNextLine InfpFindNextLine
-#define SetupGetBinaryField InfpGetBinaryField
-#define SetupGetFieldCount InfpGetFieldCount
-#define SetupGetIntField InfpGetIntField
+#define SetupFindNextLine InfFindNextLine
+#define SetupGetBinaryField InfGetBinaryField
+#define SetupGetFieldCount InfGetFieldCount
+#define SetupGetIntField InfGetIntField
#define SetupGetMultiSzFieldW InfpGetMultiSzFieldW
#define SetupGetStringFieldW InfpGetStringFieldW
#define SetupOpenInfFileW InfpOpenInfFileW
@@ -66,29 +66,6 @@
IN PCWSTR Section,
IN PCWSTR Key,
IN OUT PINFCONTEXT Context);
-
-BOOL WINAPI
-InfpFindNextLine(
- IN PINFCONTEXT ContextIn,
- OUT PINFCONTEXT ContextOut);
-
-BOOL WINAPI
-InfpGetBinaryField(
- IN PINFCONTEXT Context,
- IN ULONG FieldIndex,
- IN OUT BYTE* ReturnBuffer,
- IN ULONG ReturnBufferSize,
- OUT PULONG RequiredSize);
-
-DWORD WINAPI
-InfpGetFieldCount(
- IN PINFCONTEXT Context);
-
-BOOL WINAPI
-InfpGetIntField(
- IN PINFCONTEXT Context,
- IN DWORD FieldIndex,
- OUT PINT IntegerValue);
BOOL WINAPI
InfpGetMultiSzFieldW(
Modified: branches/ros-amd64-bringup/reactos/base/setup/usetup/usetup.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/setup/usetup/usetup.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/base/setup/usetup/usetup.h [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -54,6 +54,7 @@
/* Internal Headers */
#include "interface/consup.h"
#include "partlist.h"
+#include "infros.h"
#include "inffile.h"
#include "inicache.h"
#include "progress.h"
Modified: branches/ros-amd64-bringup/reactos/lib/inflib/infget.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/i…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/inflib/infget.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/inflib/infget.c [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -271,7 +271,7 @@
INFSTATUS
InfpGetIntField(PINFCONTEXT Context,
ULONG FieldIndex,
- PLONG IntegerValue)
+ INT* IntegerValue)
{
PINFCACHELINE CacheLine;
PINFCACHEFIELD CacheField;
Modified: branches/ros-amd64-bringup/reactos/lib/inflib/infpriv.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/i…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/inflib/infpriv.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/inflib/infpriv.h [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -116,7 +116,7 @@
PULONG RequiredSize);
extern INFSTATUS InfpGetIntField(PINFCONTEXT Context,
ULONG FieldIndex,
- PLONG IntegerValue);
+ INT* IntegerValue);
extern INFSTATUS InfpGetMultiSzField(PINFCONTEXT Context,
ULONG FieldIndex,
PTSTR ReturnBuffer,
Modified: branches/ros-amd64-bringup/reactos/lib/inflib/infros.h
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/i…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/inflib/infros.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/inflib/infros.h [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -49,7 +49,7 @@
PULONG RequiredSize);
extern BOOLEAN InfGetIntField(PINFCONTEXT Context,
ULONG FieldIndex,
- PLONG IntegerValue);
+ PINT IntegerValue);
extern BOOLEAN InfGetMultiSzField(PINFCONTEXT Context,
ULONG FieldIndex,
PWSTR ReturnBuffer,
Modified: branches/ros-amd64-bringup/reactos/lib/inflib/infrosget.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/lib/i…
==============================================================================
--- branches/ros-amd64-bringup/reactos/lib/inflib/infrosget.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/lib/inflib/infrosget.c [iso-8859-1] Tue Sep 23
23:07:16 2008
@@ -84,7 +84,7 @@
BOOLEAN
InfGetIntField(PINFCONTEXT Context,
ULONG FieldIndex,
- PLONG IntegerValue)
+ PINT IntegerValue)
{
return INF_SUCCESS(InfpGetIntField(Context, FieldIndex, IntegerValue));
}