Author: akhaldi
Date: Sun Aug 14 12:59:05 2011
New Revision: 53231
URL:
http://svn.reactos.org/svn/reactos?rev=53231&view=rev
Log:
* Include NDK headers on-demand.
Modified:
trunk/reactos/base/system/services/services.h
trunk/reactos/base/system/smss/smss.h
trunk/reactos/dll/directx/ksuser/ksuser.h
trunk/reactos/dll/ntdll/include/ntdll.h
trunk/reactos/dll/win32/aclui/precomp.h
trunk/reactos/dll/win32/beepmidi/beepmidi.c
trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h
trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
trunk/reactos/dll/win32/fmifs/precomp.h
trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h
trunk/reactos/dll/win32/kernel32/k32.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 12:59:05 2011
@@ -7,7 +7,10 @@
#include <windows.h>
#include <netevent.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obtypes.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <services/services.h>
Modified: trunk/reactos/base/system/smss/smss.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.h?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -6,7 +6,16 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/exfuncs.h>
+#include <ndk/iofuncs.h>
+#include <ndk/lpcfuncs.h>
+#include <ndk/mmtypes.h>
+#include <ndk/mmfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/umfuncs.h>
#include <sm/api.h>
#include <sm/helper.h>
Modified: trunk/reactos/dll/directx/ksuser/ksuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/ksuser/ksuser.…
==============================================================================
--- trunk/reactos/dll/directx/ksuser/ksuser.h [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/ksuser/ksuser.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -4,7 +4,10 @@
#define WIN32_NO_STATUS
#include <windows.h>
-#include <ndk/ntndk.h>
+//#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obtypes.h>
+#include <ndk/rtlfuncs.h>
#include <ks.h>
Modified: trunk/reactos/dll/ntdll/include/ntdll.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/include/ntdll.h?…
==============================================================================
--- trunk/reactos/dll/ntdll/include/ntdll.h [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/include/ntdll.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -24,7 +24,19 @@
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/dbgkfuncs.h>
+#include <ndk/exfuncs.h>
+#include <ndk/iofuncs.h>
+#include <ndk/kdtypes.h>
+#include <ndk/kefuncs.h>
+#include <ndk/ldrfuncs.h>
+#include <ndk/lpcfuncs.h>
+#include <ndk/mmfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/umfuncs.h>
/* Internal NTDLL */
#include "ntdllp.h"
Modified: trunk/reactos/dll/win32/aclui/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/aclui/precomp.h?…
==============================================================================
--- trunk/reactos/dll/win32/aclui/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/aclui/precomp.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -1,8 +1,8 @@
+#define _ACLUI_
#define WIN32_NO_STATUS
+#include <windows.h>
#define NTOS_MODE_USER
-#define _ACLUI_
-#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
#include <commctrl.h>
#include <oleauto.h>
#include <objsel.h>
Modified: trunk/reactos/dll/win32/beepmidi/beepmidi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/beepmidi/beepmid…
==============================================================================
--- trunk/reactos/dll/win32/beepmidi/beepmidi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/beepmidi/beepmidi.c [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -41,9 +41,11 @@
#define CONTINUOUS_NOTES
#define WIN32_NO_STATUS
+#include <windows.h>
#define NTOS_MODE_USER
-#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <stdio.h>
#include <ntddbeep.h>
#include <math.h>
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/pr…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/precomp.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -15,7 +15,7 @@
#include <windows.h>
#include <winerror.h>
#include <windns.h>
-#include <ndk/ntndk.h>
+#include <ndk/rtlfuncs.h>
/* Internal DNSAPI Headers */
#include <internal/windns.h>
Modified: trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dnsapi/dnsapi/st…
==============================================================================
--- trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dnsapi/dnsapi/stubs.c [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -1,10 +1,4 @@
-/* Can't use precomp.h because these weren't stubbed properly */
-#define WIN32_NO_STATUS
-#define NTOS_MODE_USER
-#include <windows.h>
-#include <windns.h>
-#include <ndk/ntndk.h>
-
+#include "precomp.h"
#include <debug.h>
DNS_STATUS WINAPI
Modified: trunk/reactos/dll/win32/fmifs/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/fmifs/precomp.h?…
==============================================================================
--- trunk/reactos/dll/win32/fmifs/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/fmifs/precomp.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -15,9 +15,13 @@
#define UNICODE
#define _UNICODE
+#include <stdio.h>
+
/* PSDK/NDK Headers */
#include <windows.h>
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
/* FMIFS Public Header */
#include <fmifs/fmifs.h>
Modified: trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/iphlpapi/iphlpap…
==============================================================================
--- trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/iphlpapi/iphlpapi_private.h [iso-8859-1] Sun Aug 14 12:59:05
2011
@@ -4,6 +4,7 @@
#define NtCurrentTeb NtXCurrentTeb
#include <stdarg.h>
+#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#ifdef HAVE_NETINET_IN_H
@@ -24,7 +25,9 @@
#include <ws2tcpip.h>
#include <windows.h>
#define NTOS_MODE_USER
-#include <ndk/ntndk.h>
+#include <ndk/iofuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/rtlfuncs.h>
#include <nspapi.h>
#include <iptypes.h>
#include "iphlpapi.h"
Modified: trunk/reactos/dll/win32/kernel32/k32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/k32.h?r…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/k32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/k32.h [iso-8859-1] Sun Aug 14 12:59:05 2011
@@ -20,7 +20,20 @@
#undef NTDDI_VERSION
#define NTDDI_VERSION NTDDI_WS03SP1
-#include <ndk/ntndk.h>
+#include <ndk/cmfuncs.h>
+#include <ndk/dbgkfuncs.h>
+#include <ndk/exfuncs.h>
+#include <ndk/iofuncs.h>
+#include <ndk/kdtypes.h>
+#include <ndk/kefuncs.h>
+#include <ndk/ldrfuncs.h>
+#include <ndk/mmfuncs.h>
+#include <ndk/obfuncs.h>
+#include <ndk/pofuncs.h>
+#include <ndk/psfuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/setypes.h>
+#include <ndk/umfuncs.h>
/* CSRSS Header */
#include <csrss/csrss.h>