* Include NDK headers on-demand.

svn path=/trunk/; revision=53265
This commit is contained in:
Amine Khaldi 2011-08-15 17:12:19 +00:00
parent 2583d5f4fb
commit e0cbe302ee
3 changed files with 8 additions and 4 deletions

View file

@ -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
typedef VOID
(WINAPI *PINTERFACE_DEREFERENCE)(
PVOID Context);
#include <ntndk.h>
#include <hidusage.h>
#include <hidclass.h>
#include <hidpi.h>

View file

@ -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>

View file

@ -9,7 +9,7 @@
/* INCLUDES *******************************************************************/
#include <ntifs.h>
#include <ntndk.h>
#include <ndk/ketypes.h>
/* FUNCTIONS ******************************************************************/