- Add my proposed directory tree for the components involved in printing.
[reactos.git] / reactos / 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 <ntintsafe.h>
30 #include <ntddkbd.h>
31
32 /* Win32 headers */
33 /* FIXME: Defines in winbase.h that we need... */
34 typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
35 #define MAKEINTATOM(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
36 #define WINBASEAPI
37 #define STARTF_USESHOWWINDOW 1
38 #define STARTF_USESIZE 2
39 #define STARTF_USEPOSITION 4
40 #include <stdarg.h>
41 #include <windef.h>
42 #define _USE_MATH_DEFINES
43 #include <math.h>
44 #include <intrin.h>
45
46 /* Avoid type casting, by defining RECT to RECTL */
47 #define RECT RECTL
48 #define PRECT PRECTL
49 #define LPRECT LPRECTL
50 #define LPCRECT LPCRECTL
51 #define POINT POINTL
52 #define LPPOINT PPOINTL
53 #define PPOINT PPOINTL
54
55 #include <winerror.h>
56 #include <wingdi.h>
57 #define NT_BUILD_ENVIRONMENT
58 #define _ENGINE_EXPORT_
59 #include <winddi.h>
60 #include <winuser.h>
61 #include <prntfont.h>
62 #define _NOCSECT_TYPE
63 #include <ddrawi.h>
64 #include <imm.h>
65
66 /* SEH support with PSEH */
67 #include <pseh/pseh2.h>
68
69 #ifdef __cplusplus
70 extern "C" {
71 #endif
72
73 /* Public Win32K headers */
74 #include <include/ntgdityp.h>
75 #include <ntgdi.h>
76 #include <include/ntgdihdl.h>
77 #include <include/ntgdibad.h>
78
79 #ifndef __cplusplus
80 #include <include/ntusrtyp.h>
81 #include <include/ntuser.h>
82 #include <include/callback.h>
83 #endif // __cplusplus
84
85 /* Undocumented user definitions */
86 #include <undocuser.h>
87
88 /* Freetype headers */
89 #include <ft2build.h>
90 #include FT_FREETYPE_H
91
92 #define InterlockedIncrementUL(Value) InterlockedIncrement((PLONG)Value)
93 #define InterlockedDecrementUL(Value) InterlockedDecrement((PLONG)Value)
94
95 /* Internal Win32K header */
96 #include "win32kp.h"
97
98 #ifdef __cplusplus
99 } /* extern "C" */
100 #endif
101
102 #endif /* __W32K_H */