ReactOS  0.4.12-dev-36-g472787f
precomp.h
Go to the documentation of this file.
1 #ifndef _MSCONFIG_PCH_
2 #define _MSCONFIG_PCH_
3 
4 // NOTE: It is completely idiotic to need those defines defined
5 // for having the *_s string functions. In the MS CRT they are
6 // directly available without further tricks.
7 #define MINGW_HAS_SECURE_API 1
8 
9 #include <assert.h>
10 
11 #include <stdarg.h>
12 
13 #include <stdio.h>
14 #include <string.h> // FIXME: Should be normally useless in a proper CRT...
15 #include <tchar.h>
16 
17 #define WIN32_NO_STATUS
18 #define _INC_WINDOWS
19 #define COM_NO_WINDOWS_H
20 
21 #define NTOS_MODE_USER
22 
23 #define _FORCENAMELESSUNION
24 // #define _WIN32_DCOM // For CoInitializeEx on Win2k and perhaps XP / 2003 ??
25 
26 #include <windef.h>
27 #include <winbase.h>
28 #include <winnls.h>
29 #include <winreg.h>
30 #include <winuser.h>
31 #include <winver.h>
32 
33 #include <initguid.h>
34 // #include <shlobj.h> // If used, initguid.h must be included before!
35 #include <shlwapi.h>
36 #include <shellapi.h>
37 #include <commctrl.h>
38 #include <prsht.h>
39 #include <strsafe.h>
40 
41 #include "msconfig.h"
42 #include "resource.h"
43 
44 #define MAX_KEY_LENGTH 255
45 #define MAX_VALUE_NAME 16383
46 
47 #endif /* _MSCONFIG_PCH_ */