Sync with trunk.
[reactos.git] / win32ss / pch.h
1 #ifndef __W32K_H
2 #define __W32K_H
3 /*
4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS Win32k subsystem
6 * FILE: win32ss/pch.h
7 * PURPOSE: Main Win32K Header
8 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
9 */
10
11 /* INCLUDES ******************************************************************/
12
13 #define _NO_COM
14 #define STRICT
15
16 /* DDK/NDK/SDK headers */
17 #undef NTDDI_VERSION
18 #define NTDDI_VERSION NTDDI_WS03SP1
19 #include <ntifs.h>
20 #include <ntddmou.h>
21 #include <ndk/exfuncs.h>
22 #include <ndk/kdfuncs.h>
23 #include <ndk/kefuncs.h>
24 #include <ndk/mmfuncs.h>
25 #include <ndk/obfuncs.h>
26 #include <ndk/psfuncs.h>
27 #include <ndk/rtlfuncs.h>
28 #include <ntstrsafe.h>
29 #include <ntddkbd.h>
30
31 /* Win32 headers */
32 /* FIXME: Defines in winbase.h that we need... */
33 typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
34 #define MAKEINTATOM(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
35 #define WINBASEAPI
36 #define STARTF_USESIZE 2
37 #define STARTF_USEPOSITION 4
38 #include <stdarg.h>
39 #include <windef.h>
40 #define _USE_MATH_DEFINES
41 #include <math.h>
42 #include <intrin.h>
43
44 /* Avoid type casting, by defining RECT to RECTL */
45 #define RECT RECTL
46 #define PRECT PRECTL
47 #define LPRECT LPRECTL
48 #define LPCRECT LPCRECTL
49 #define POINT POINTL
50 #define LPPOINT PPOINTL
51 #define PPOINT PPOINTL
52
53 #include <winerror.h>
54 #include <wingdi.h>
55 #define NT_BUILD_ENVIRONMENT
56 #define _ENGINE_EXPORT_
57 #include <winddi.h>
58 #include <winuser.h>
59 #include <prntfont.h>
60 #define _NOCSECT_TYPE
61 #include <ddrawi.h>
62
63 /* SEH support with PSEH */
64 #include <pseh/pseh2.h>
65
66 /* Public Win32K headers */
67 #include <include/callback.h>
68 #include <include/ntusrtyp.h>
69 #include <include/ntuser.h>
70 #include <include/ntgdityp.h>
71 #include <include/ntgdibad.h>
72 #include <include/ntgdihdl.h>
73 #include <ntgdi.h>
74
75 /* Undocumented user definitions */
76 #include <undocuser.h>
77
78 /* Freetype headers */
79 #include <ft2build.h>
80 #include FT_FREETYPE_H
81
82 /* Internal Win32K header */
83 #include "win32kp.h"
84
85 #endif /* __W32K_H */