mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 11:33:31 +08:00
[WIN32K] Re-order some of the includes in pch.h
First the C headers, then the DDK followed by the Win32 PSDK ones, only then the NDK headers, and finally the rest.
This commit is contained in:
parent
7f346b1aa3
commit
6ddfe7e5dd
@ -14,25 +14,23 @@
|
||||
#define _NO_COM
|
||||
#define STRICT
|
||||
|
||||
/* DDK/NDK/SDK headers */
|
||||
/* C headers */
|
||||
#include <stdarg.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#include <intrin.h>
|
||||
|
||||
/* DDK headers */
|
||||
#undef NTDDI_VERSION
|
||||
#define NTDDI_VERSION NTDDI_WS03SP1
|
||||
#include <ntifs.h>
|
||||
#include <ntddkbd.h>
|
||||
#include <ntddmou.h>
|
||||
#include <ndk/exfuncs.h>
|
||||
#include <ndk/iofuncs.h>
|
||||
#include <ndk/kdfuncs.h>
|
||||
#include <ndk/kefuncs.h>
|
||||
#include <ndk/mmfuncs.h>
|
||||
#include <ndk/obfuncs.h>
|
||||
#include <ndk/psfuncs.h>
|
||||
#include <ndk/sefuncs.h>
|
||||
#include <ndk/rtlfuncs.h>
|
||||
#include <ntddvdeo.h>
|
||||
#include <ntstrsafe.h>
|
||||
#include <ntintsafe.h>
|
||||
#include <ntddkbd.h>
|
||||
|
||||
/* Win32 headers */
|
||||
/* Win32 PSDK headers */
|
||||
/* FIXME: Defines in winbase.h that we need... */
|
||||
typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||
#define MAKEINTATOM(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
|
||||
@ -40,11 +38,7 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||
#define STARTF_USESHOWWINDOW 1
|
||||
#define STARTF_USESIZE 2
|
||||
#define STARTF_USEPOSITION 4
|
||||
#include <stdarg.h>
|
||||
#include <windef.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#include <intrin.h>
|
||||
|
||||
// Needed because windef.h messes up CDECL for whatever
|
||||
#undef CDECL
|
||||
@ -64,13 +58,24 @@ typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||
#define NT_BUILD_ENVIRONMENT
|
||||
#define _ENGINE_EXPORT_
|
||||
#include <winddi.h>
|
||||
#define OEMRESOURCE
|
||||
#include <winuser.h>
|
||||
#include <prntfont.h>
|
||||
#define _NOCSECT_TYPE
|
||||
#include <ddrawi.h>
|
||||
#include <imm.h>
|
||||
#include <dbt.h>
|
||||
#include <ntddvdeo.h>
|
||||
|
||||
/* NDK headers */
|
||||
#include <ndk/exfuncs.h>
|
||||
#include <ndk/iofuncs.h>
|
||||
#include <ndk/kdfuncs.h>
|
||||
#include <ndk/kefuncs.h>
|
||||
#include <ndk/mmfuncs.h>
|
||||
#include <ndk/obfuncs.h>
|
||||
#include <ndk/psfuncs.h>
|
||||
#include <ndk/sefuncs.h>
|
||||
#include <ndk/rtlfuncs.h>
|
||||
|
||||
/* SEH support with PSEH */
|
||||
#include <pseh/pseh2.h>
|
||||
|
Loading…
Reference in New Issue
Block a user