Author: akhaldi
Date: Mon Aug 15 17:12:19 2011
New Revision: 53265
URL:
http://svn.reactos.org/svn/reactos?rev=53265&view=rev
Log:
* Include NDK headers on-demand.
Modified:
trunk/reactos/dll/win32/hid/precomp.h
trunk/reactos/dll/win32/powrprof/powrprof.c
trunk/reactos/drivers/base/nmidebug/nmidebug.c
Modified: trunk/reactos/dll/win32/hid/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/hid/precomp.h?re…
==============================================================================
--- trunk/reactos/dll/win32/hid/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/hid/precomp.h [iso-8859-1] Mon Aug 15 17:12:19 2011
@@ -1,6 +1,8 @@
#define WIN32_NO_STATUS
#include <windows.h>
#include <debug.h>
+#define NTOS_MODE_USER
+#include <ndk/umtypes.h>
#define _HIDPI_
#define _HIDPI_NO_FUNCTION_MACROS_
@@ -10,7 +12,7 @@
typedef VOID
(WINAPI *PINTERFACE_DEREFERENCE)(
PVOID Context);
-#include <ntndk.h>
+
#include <hidusage.h>
#include <hidclass.h>
#include <hidpi.h>
Modified: trunk/reactos/dll/win32/powrprof/powrprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/powrprof/powrpro…
==============================================================================
--- trunk/reactos/dll/win32/powrprof/powrprof.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/powrprof/powrprof.c [iso-8859-1] Mon Aug 15 17:12:19 2011
@@ -20,10 +20,12 @@
#include <stdarg.h>
-#include <ntstatus.h>
#define WIN32_NO_STATUS
#include <windows.h>
-#include <ntndk.h>
+#define NTOS_MODE_USER
+#include <ndk/pofuncs.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/setypes.h>
#include <powrprof.h>
#include <wchar.h>
#include <stdio.h>
Modified: trunk/reactos/drivers/base/nmidebug/nmidebug.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/base/nmidebug/nmid…
==============================================================================
--- trunk/reactos/drivers/base/nmidebug/nmidebug.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/base/nmidebug/nmidebug.c [iso-8859-1] Mon Aug 15 17:12:19 2011
@@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/
#include <ntifs.h>
-#include <ntndk.h>
+#include <ndk/ketypes.h>
/* FUNCTIONS ******************************************************************/