Use W32API.
Modified: trunk/reactos/lib/acledit/acledit.xml
Modified: trunk/reactos/lib/acledit/stubs.c
Modified: trunk/reactos/lib/dxguid/dxguid.xml
Modified: trunk/reactos/lib/epsapi/epsapi.xml
Modified: trunk/reactos/lib/freetype/freetype.xml
Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.xml
Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.xml
Modified: trunk/reactos/lib/lzexpand/lz32.xml
Modified: trunk/reactos/lib/msimg32/msimg32.xml
Modified: trunk/reactos/lib/samlib/samlib.c
Modified: trunk/reactos/lib/samlib/samlib.xml
Modified: trunk/reactos/lib/snmpapi/debug.h
Modified: trunk/reactos/lib/snmpapi/snmpapi.xml
Modified: trunk/reactos/lib/strmiids/strmiids.xml
Modified: trunk/reactos/lib/twain/twain_32.xml
Modified: trunk/reactos/lib/winspool/winspool.xml

Modified: trunk/reactos/lib/acledit/acledit.xml
--- trunk/reactos/lib/acledit/acledit.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/acledit/acledit.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -4,6 +4,7 @@
 	<define name="UNICODE" />
 	<define name="_UNICODE" />
 	<define name="__REACTOS__" />
+	<define name="__USE_W32API" />
 	<library>ntdll</library>
 	<library>kernel32</library>
 	<library>advapi32</library>

Modified: trunk/reactos/lib/acledit/stubs.c
--- trunk/reactos/lib/acledit/stubs.c	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/acledit/stubs.c	2005-06-17 08:12:20 UTC (rev 15954)
@@ -17,6 +17,8 @@
 #include <acledit.h>
 #include "acleditint.h"
 
+ULONG DbgPrint(PCH Format,...);
+
 #define UNIMPLEMENTED \
   DbgPrint("ACLEDIT:  %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
 

Modified: trunk/reactos/lib/dxguid/dxguid.xml
--- trunk/reactos/lib/dxguid/dxguid.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/dxguid/dxguid.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,5 +1,6 @@
 <module name="dxguid" type="staticlibrary">
 	<define name="_DISABLE_TIDENTS" />
 	<define name="__REACTOS__" />
+	<define name="__USE_W32API" />
 	<file>dxguid-mingw.c</file>
 </module>

Modified: trunk/reactos/lib/epsapi/epsapi.xml
--- trunk/reactos/lib/epsapi/epsapi.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/epsapi/epsapi.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,5 +1,6 @@
 <module name="epsapi" type="objectlibrary">
 	<define name="_DISABLE_TIDENTS" />
+	<define name="__USE_W32API" />
 	<directory name="enum">
 		<file>drivers.c</file>
 		<file>modules.c</file>

Modified: trunk/reactos/lib/freetype/freetype.xml
--- trunk/reactos/lib/freetype/freetype.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/freetype/freetype.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -5,6 +5,7 @@
 	<define name="_SEH_NO_NATIVE_NLG" />
 	<define name="__NTDRIVER__" />
 	<define name="__NO_CTYPE_INLINES" />
+	<define name="__USE_W32API" />
 	<library>ntoskrnl</library>
 	<library>hal</library>
 	<directory name="i386">

Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.xml
--- trunk/reactos/lib/fslib/vfatlib/vfatlib.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/fslib/vfatlib/vfatlib.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,6 +1,7 @@
 <module name="vfatlib" type="staticlibrary">
 	<include base="vfatlib">.</include>
 	<define name="_DISABLE_TIDENTS" />
+	<define name="__USE_W32API" />
 	<file>fat12.c</file>
 	<file>fat16.c</file>
 	<file>fat32.c</file>

Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.xml
--- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,6 +1,7 @@
 <module name="vfatxlib" type="staticlibrary">
 	<include base="vfatxlib">.</include>
 	<define name="_DISABLE_TIDENTS" />
+	<define name="__USE_W32API" />
 	<file>fatx.c</file>
 	<file>vfatxlib.c</file>
 </module>

Modified: trunk/reactos/lib/lzexpand/lz32.xml
--- trunk/reactos/lib/lzexpand/lz32.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/lzexpand/lz32.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -2,6 +2,7 @@
 	<importlibrary definition="lz32.def" />
 	<include base="lz32">.</include>
 	<define name="_DISABLE_TIDENTS" />
+	<define name="__USE_W32API" />
 	<library>ntdll</library>
 	<library>kernel32</library>
 	<file>lzexpand_main.c</file>

Modified: trunk/reactos/lib/msimg32/msimg32.xml
--- trunk/reactos/lib/msimg32/msimg32.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/msimg32/msimg32.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -3,6 +3,7 @@
 	<include base="msimg32">.</include>
 	<include base="msimg32">include</include>
 	<define name="__REACTOS__" />
+	<define name="__USE_W32API" />
 	<library>ntdll</library>
 	<library>kernel32</library>
 	<library>gdi32</library>

Modified: trunk/reactos/lib/samlib/samlib.c
--- trunk/reactos/lib/samlib/samlib.c	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/samlib/samlib.c	2005-06-17 08:12:20 UTC (rev 15954)
@@ -28,6 +28,8 @@
 /* INCLUDES *****************************************************************/
 
 #include <windows.h>
+#include <ntos.h>
+#include <ntdll/rtl.h>
 #include <winerror.h>
 #include <string.h>
 

Modified: trunk/reactos/lib/samlib/samlib.xml
--- trunk/reactos/lib/samlib/samlib.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/samlib/samlib.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -2,6 +2,7 @@
 	<importlibrary definition="samlib.def" />
 	<include base="samlib">.</include>
 	<define name="_DISABLE_TIDENTS" />
+	<define name="__USE_W32API" />
 	<library>ntdll</library>
 	<library>kernel32</library>
 	<library>advapi32</library>

Modified: trunk/reactos/lib/snmpapi/debug.h
--- trunk/reactos/lib/snmpapi/debug.h	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/snmpapi/debug.h	2005-06-17 08:12:20 UTC (rev 15954)
@@ -17,6 +17,8 @@
 
 #define DEBUG_ULTRA    0xFFFFFFFF
 
+ULONG DbgPrint(PCH Format,...);
+
 #ifdef DBG
 
 extern DWORD DebugTraceLevel;

Modified: trunk/reactos/lib/snmpapi/snmpapi.xml
--- trunk/reactos/lib/snmpapi/snmpapi.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/snmpapi/snmpapi.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,6 +1,7 @@
 <module name="snmpapi" type="win32dll" baseaddress="${BASEADDRESS_SNMPAPI}" installbase="system32" installname="snmpapi.dll">
 	<importlibrary definition="snmpapi.def" />
 	<include base="snmpapi">.</include>
+	<define name="__USE_W32API" />
 	<define name="UNICODE" />
 	<define name="_DISABLE_TIDENTS" />
 	<library>ntdll</library>

Modified: trunk/reactos/lib/strmiids/strmiids.xml
--- trunk/reactos/lib/strmiids/strmiids.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/strmiids/strmiids.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,4 +1,5 @@
 <module name="strmiids" type="staticlibrary">
+	<define name="__USE_W32API" />
 	<define name="_DISABLE_TIDENTS" />
 	<define name="__REACTOS__" />
 	<file>strmiids.c</file>

Modified: trunk/reactos/lib/twain/twain_32.xml
--- trunk/reactos/lib/twain/twain_32.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/twain/twain_32.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,6 +1,7 @@
 <module name="twain_32" type="win32dll" baseaddress="${BASEADDRESS_TWAIN_32}" installbase="system32" installname="twain_32.dll">
 	<importlibrary definition="twain_32.def" />
 	<include base="twain_32">.</include>
+	<define name="__USE_W32API" />
 	<define name="_DISABLE_TIDENTS" />
 	<library>wine</library>
 	<library>ntdll</library>

Modified: trunk/reactos/lib/winspool/winspool.xml
--- trunk/reactos/lib/winspool/winspool.xml	2005-06-17 08:08:58 UTC (rev 15953)
+++ trunk/reactos/lib/winspool/winspool.xml	2005-06-17 08:12:20 UTC (rev 15954)
@@ -1,6 +1,7 @@
 <module name="winspool" type="win32dll" extension=".drv" baseaddress="${BASEADDRESS_WINSPOOL}" installbase="system32" installname="winspool.drv">
 	<importlibrary definition="winspool.def" />
 	<include base="winspool">.</include>
+	<define name="__USE_W32API" />
 	<define name="_DISABLE_TIDENTS" />
 	<define name="UNICODE" />
 	<define name="_UNICODE" />