Author: akhaldi
Date: Sun Aug 14 17:31:30 2011
New Revision: 53235
URL:
http://svn.reactos.org/svn/reactos?rev=53235&view=rev
Log:
* Include NDK headers on-demand.
Modified:
trunk/reactos/base/system/services/services.h
trunk/reactos/dll/win32/lpk/ros_lpk.h
trunk/reactos/dll/win32/lsasrv/lsasrv.h
trunk/reactos/dll/win32/msafd/msafd.h
trunk/reactos/dll/win32/netcfgx/precomp.h
trunk/reactos/dll/win32/ntmarta/ntmarta.h
trunk/reactos/dll/win32/opengl32/opengl32.h
trunk/reactos/dll/win32/psapi/precomp.h
trunk/reactos/dll/win32/samsrv/samsrv.c
trunk/reactos/dll/win32/secur32/precomp.h
trunk/reactos/dll/win32/secur32/stubs.c
trunk/reactos/dll/win32/setupapi/setupapi_private.h
trunk/reactos/dll/win32/shell32/precomp.h
trunk/reactos/dll/win32/syssetup/precomp.h
trunk/reactos/dll/win32/uext2/uext2.c
trunk/reactos/dll/win32/ufat/ufat.c
trunk/reactos/dll/win32/untfs/untfs.c
trunk/reactos/dll/win32/user32/include/user32.h
trunk/reactos/dll/win32/userenv/precomp.h
trunk/reactos/dll/win32/wshirda/wshirda.h
Modified: trunk/reactos/base/system/services/services.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -8,7 +8,6 @@
#include <netevent.h>
#define NTOS_MODE_USER
#include <ndk/iofuncs.h>
-#include <ndk/obtypes.h>
#include <ndk/obfuncs.h>
#include <ndk/rtlfuncs.h>
#include <services/services.h>
Modified: trunk/reactos/dll/win32/lpk/ros_lpk.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lpk/ros_lpk.h?re…
==============================================================================
--- trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lpk/ros_lpk.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -9,7 +9,7 @@
#define NTOS_MODE_USER
#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
/* FIXME USP10 api that does not have prototype in any include file */
VOID WINAPI LpkPresent(VOID);
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.h?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -11,7 +11,10 @@
#include <windows.h>
#include <ntsecapi.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/lpctypes.h>
+#include <ndk/lpcfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/setypes.h>
#include <string.h>
Modified: trunk/reactos/dll/win32/msafd/msafd.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msafd/msafd.h?re…
==============================================================================
--- trunk/reactos/dll/win32/msafd/msafd.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msafd/msafd.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -15,7 +15,10 @@
#include <windows.h>
#include <ws2spi.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/exfuncs.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
/* This includes ntsecapi.h so it needs to come after the NDK */
#include <wsahelp.h>
Modified: trunk/reactos/dll/win32/netcfgx/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -8,7 +8,8 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/rtlfuncs.h>
#include <netcfgx.h>
#include <setupapi.h>
#include <stdio.h>
Modified: trunk/reactos/dll/win32/ntmarta/ntmarta.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ntmarta/ntmarta.…
==============================================================================
--- trunk/reactos/dll/win32/ntmarta/ntmarta.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ntmarta/ntmarta.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -1,7 +1,9 @@
#define WIN32_NO_STATUS
#define NTOS_MODE_USER
#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <accctrl.h>
#include <aclapi.h>
#include <winsvc.h>
Modified: trunk/reactos/dll/win32/opengl32/opengl32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/opengl32/opengl3…
==============================================================================
--- trunk/reactos/dll/win32/opengl32/opengl32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/opengl32/opengl32.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -37,7 +37,7 @@
#define NTOS_MODE_USER
#include <winddi.h>
-#include <ndk/ntndk.h>
+#include <ndk/pstypes.h>
#include <GL/gl.h>
#include <GL/glu.h>
Modified: trunk/reactos/dll/win32/psapi/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/psapi/precomp.h?…
==============================================================================
--- trunk/reactos/dll/win32/psapi/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/psapi/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -1,7 +1,11 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/exfuncs.h>
+#include <ndk/mmtypes.h>
+#include <ndk/mmfuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <psapi.h>
#include <epsapi/epsapi.h>
Modified: trunk/reactos/dll/win32/samsrv/samsrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.c [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -22,7 +22,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/umtypes.h>
//#include <samsrv.h>
Modified: trunk/reactos/dll/win32/secur32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/secur32/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/secur32/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -12,7 +12,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
#include <lsass/lsass.h>
#include <ntsecapi.h>
Modified: trunk/reactos/dll/win32/secur32/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/secur32/stubs.c?…
==============================================================================
--- trunk/reactos/dll/win32/secur32/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/secur32/stubs.c [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -1,14 +1,11 @@
-
-#include <windows.h>
+#include <precomp.h>
#define NDEBUG
#include <reactos/debug.h>
#define SEC_ENTRY WINAPI
-#define STATUS_UNSUCCESSFUL ((SECURITY_STATUS)0x80000001)
-typedef LONG SECURITY_STATUS;
typedef PVOID PSECURITY_PACKAGE_OPTIONS, PSecurityUserData;
SECURITY_STATUS
Modified: trunk/reactos/dll/win32/setupapi/setupapi_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/setupapi/setupap…
==============================================================================
--- trunk/reactos/dll/win32/setupapi/setupapi_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/setupapi/setupapi_private.h [iso-8859-1] Sun Aug 14 17:31:30
2011
@@ -41,7 +41,9 @@
#include <wine/debug.h>
#include <wine/unicode.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <pseh/pseh2.h>
Modified: trunk/reactos/dll/win32/shell32/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -44,7 +44,7 @@
#include <ntquery.h>
#include <recyclebin.h>
#include <shtypes.h>
-#include <ndk/ntndk.h>
+#include <ndk/umtypes.h>
#include <fmifs/fmifs.h>
#include <largeint.h>
#include <sddl.h>
Modified: trunk/reactos/dll/win32/syssetup/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/precomp…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/syssetup/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -3,7 +3,9 @@
#include <windowsx.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/kefuncs.h>
+#include <ndk/rtlfuncs.h>
#include <setupapi.h>
#include <commctrl.h>
Modified: trunk/reactos/dll/win32/uext2/uext2.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uext2/uext2.c?re…
==============================================================================
--- trunk/reactos/dll/win32/uext2/uext2.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uext2/uext2.c [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -10,7 +10,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/umtypes.h>
#include <fmifs/fmifs.h>
INT WINAPI
Modified: trunk/reactos/dll/win32/ufat/ufat.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ufat/ufat.c?rev=…
==============================================================================
--- trunk/reactos/dll/win32/ufat/ufat.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ufat/ufat.c [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -10,7 +10,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/umtypes.h>
#include <fmifs/fmifs.h>
INT WINAPI
Modified: trunk/reactos/dll/win32/untfs/untfs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/untfs/untfs.c?re…
==============================================================================
--- trunk/reactos/dll/win32/untfs/untfs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/untfs/untfs.c [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -10,7 +10,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/umtypes.h>
#include <fmifs/fmifs.h>
INT WINAPI
Modified: trunk/reactos/dll/win32/user32/include/user32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/include/u…
==============================================================================
--- trunk/reactos/dll/win32/user32/include/user32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/include/user32.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -22,8 +22,11 @@
#include <winuser.h>
#include <windowsx.h>
#include <winnls32.h>
-#include <ndk/ntndk.h>
-#include <ntstatus.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/kefuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/umfuncs.h>
/* CSRSS Headers */
#include <csrss/csrss.h>
Modified: trunk/reactos/dll/win32/userenv/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/userenv/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/precomp.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -2,7 +2,8 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/sefuncs.h>
+#include <ndk/rtlfuncs.h>
#include <userenv.h>
#include <sddl.h>
#include <shlobj.h>
Modified: trunk/reactos/dll/win32/wshirda/wshirda.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wshirda/wshirda.…
==============================================================================
--- trunk/reactos/dll/win32/wshirda/wshirda.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wshirda/wshirda.h [iso-8859-1] Sun Aug 14 17:31:30 2011
@@ -10,7 +10,7 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
#include <wsahelp.h>