* Include NDK headers on-demand.

svn path=/trunk/; revision=53235
This commit is contained in:
Amine Khaldi 2011-08-14 17:31:30 +00:00
parent 0c5dee7f52
commit e3a1ac4593
20 changed files with 41 additions and 24 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -37,7 +37,7 @@ extern "C" {
#define NTOS_MODE_USER
#include <winddi.h>
#include <ndk/ntndk.h>
#include <ndk/pstypes.h>
#include <GL/gl.h>
#include <GL/glu.h>

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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