ReactOS  0.4.15-dev-2985-g54406bf
pch.h
Go to the documentation of this file.
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/iofuncs.h>
23 #include <ndk/kdfuncs.h>
24 #include <ndk/kefuncs.h>
25 #include <ndk/mmfuncs.h>
26 #include <ndk/obfuncs.h>
27 #include <ndk/psfuncs.h>
28 #include <ndk/rtlfuncs.h>
29 #include <ntstrsafe.h>
30 #include <ntintsafe.h>
31 #include <ntddkbd.h>
32 
33 /* Win32 headers */
34 /* FIXME: Defines in winbase.h that we need... */
36 #define MAKEINTATOM(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
37 #define WINBASEAPI
38 #define STARTF_USESHOWWINDOW 1
39 #define STARTF_USESIZE 2
40 #define STARTF_USEPOSITION 4
41 #include <stdarg.h>
42 #include <windef.h>
43 #define _USE_MATH_DEFINES
44 #include <math.h>
45 #include <intrin.h>
46 
47 // Needed because windef.h messes up CDECL for whatever
48 #undef CDECL
49 #define CDECL __cdecl
50 
51 /* Avoid type casting, by defining RECT to RECTL */
52 #define RECT RECTL
53 #define PRECT PRECTL
54 #define LPRECT LPRECTL
55 #define LPCRECT LPCRECTL
56 #define POINT POINTL
57 #define LPPOINT PPOINTL
58 #define PPOINT PPOINTL
59 
60 #include <winerror.h>
61 #include <wingdi.h>
62 #define NT_BUILD_ENVIRONMENT
63 #define _ENGINE_EXPORT_
64 #include <winddi.h>
65 #include <winuser.h>
66 #include <prntfont.h>
67 #define _NOCSECT_TYPE
68 #include <ddrawi.h>
69 #include <imm.h>
70 #include <dbt.h>
71 
72 /* SEH support with PSEH */
73 #include <pseh/pseh2.h>
74 
75 #ifdef __cplusplus
76 extern "C" {
77 #endif
78 
79 /* Public Win32K headers */
80 #include <include/ntgdityp.h>
81 #include <ntgdi.h>
82 #include <include/ntgdihdl.h>
83 #include <include/ntgdibad.h>
84 
85 #ifndef __cplusplus
86 #include <include/ntusrtyp.h>
87 #include <include/ntuser.h>
88 #include <include/callback.h>
89 #endif // __cplusplus
90 
91 /* Undocumented user definitions */
92 #include <undocuser.h>
93 
94 /* Freetype headers */
95 #include <ft2build.h>
96 #include FT_FREETYPE_H
97 
98 #define InterlockedIncrementUL(Value) InterlockedIncrement((PLONG)Value)
99 #define InterlockedDecrementUL(Value) InterlockedDecrement((PLONG)Value)
100 
101 /* Internal Win32K header */
102 #include "win32kp.h"
103 
104 #ifdef __cplusplus
105 } /* extern "C" */
106 #endif
107 
108 #endif /* __W32K_H */
struct _SECURITY_ATTRIBUTES * LPSECURITY_ATTRIBUTES
Definition: pch.h:35