push 4198651bda69323c5c7f7710f437846e02cfc104
[wine/hacks.git] / include / windows.h
blobaf83f83ac1453aaef51ea32221ae956f1b375472
1 /*
2 * Copyright (C) the Wine project
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINDOWS_H
20 #define __WINE_WINDOWS_H
22 #ifdef __WINESRC__
23 #error Wine should not include windows.h internally
24 #endif
26 #if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
27 /* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
28 # pragma warning(disable:4116)
29 #endif
31 #ifndef _INC_WINDOWS
32 #define _INC_WINDOWS
34 #if defined(RC_INVOKED) && !defined(NOWINRES)
35 #include <winresrc.h>
36 #else /* RC_INVOKED && !NOWINRES */
38 /* All the basic includes */
39 #include <excpt.h>
40 #include <stdarg.h>
41 #include <windef.h>
42 #include <winbase.h>
43 #include <wingdi.h>
44 #include <winuser.h>
45 #include <winnls.h>
46 #include <wincon.h>
47 #include <winver.h>
48 #include <winreg.h>
49 #include <winnetwk.h>
51 /* Not so essential ones */
52 #ifndef WIN32_LEAN_AND_MEAN
54 #include <cderr.h>
55 #include <dde.h>
56 #include <ddeml.h>
57 #include <dlgs.h>
58 #include <lzexpand.h>
59 #include <mmsystem.h>
60 #include <nb30.h>
61 #include <rpc.h>
62 #include <shellapi.h>
63 /* #include <winperf.h> */
65 #ifndef WINE_NOWINSOCK
66 #include <winsock2.h>
67 #endif /* WINE_NOWINSOCK */
69 #ifndef NOCRYPT
70 #include <wincrypt.h>
71 /* #include <winefs.h> */
72 /* #include <winscard.h> */
73 #endif /* !NOCRYPT */
75 #ifndef NOGDI
76 #include <winspool.h>
77 #ifdef INC_OLE1
78 /* #include <ole.h> */
79 #else
80 #include <ole2.h>
81 #endif
82 #include <commdlg.h>
83 #endif /* !NOGDI */
85 #endif /* !WIN32_LEAN_AND_MEAN */
87 /* #include <stralign.h> */
89 #ifdef INC_OLE2
90 #include <ole2.h>
91 #endif /* INC_OLE2 */
93 #ifndef NOSERVICE
94 #include <winsvc.h>
95 #endif /* !NOSERVICE */
97 #ifndef NOMCX
98 #include <mcx.h>
99 #endif /* !NOMCX */
101 #ifndef NOIMM
102 #include <imm.h>
103 #endif /* !NOIMM */
105 #endif /* RC_INVOKED && !NOWINRES */
106 #endif /* _INC_WINDOWS */
107 #endif /* __WINE_WINDOWS_H */