4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS Win32k subsystem
7 * PURPOSE: Main Win32K Header
8 * PROGRAMMER: Alex Ionescu (alex@relsoft.net)
11 /* INCLUDES ******************************************************************/
16 /* DDK/NDK/SDK headers */
18 #define NTDDI_VERSION NTDDI_WS03SP1
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>
34 /* FIXME: Defines in winbase.h that we need... */
35 typedef struct _SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES
, *LPSECURITY_ATTRIBUTES
;
36 #define MAKEINTATOM(i) (LPWSTR)((ULONG_PTR)((WORD)(i)))
38 #define STARTF_USESHOWWINDOW 1
39 #define STARTF_USESIZE 2
40 #define STARTF_USEPOSITION 4
43 #define _USE_MATH_DEFINES
47 // Needed because windef.h messes up CDECL for whatever
51 /* Avoid type casting, by defining RECT to RECTL */
54 #define LPRECT LPRECTL
55 #define LPCRECT LPCRECTL
57 #define LPPOINT PPOINTL
58 #define PPOINT PPOINTL
62 #define NT_BUILD_ENVIRONMENT
63 #define _ENGINE_EXPORT_
72 /* SEH support with PSEH */
73 #include <pseh/pseh2.h>
79 /* Public Win32K headers */
80 #include <include/ntgdityp.h>
82 #include <include/ntgdihdl.h>
83 #include <include/ntgdibad.h>
86 #include <include/ntusrtyp.h>
87 #include <include/ntuser.h>
88 #include <include/callback.h>
91 /* Undocumented user definitions */
92 #include <undocuser.h>
94 /* Freetype headers */
96 #include FT_FREETYPE_H
98 #define InterlockedIncrementUL(Value) InterlockedIncrement((PLONG)Value)
99 #define InterlockedDecrementUL(Value) InterlockedDecrement((PLONG)Value)
101 /* Internal Win32K header */
108 #endif /* __W32K_H */