Portability fix.
[wine/multimedia.git] / include / windows.h
blob0a81f0f39e4864055a9167a406b08618ce9d6dba
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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 #if defined(RC_INVOKED) && !defined(NOWINRES)
32 #include <winresrc.h>
33 #else /* RC_INVOKED && !NOWINRES */
35 /* All the basic includes */
36 #include <excpt.h>
37 #include <stdarg.h>
38 #include <windef.h>
39 #include <winbase.h>
40 #include <wingdi.h>
41 #include <winuser.h>
42 #include <winnls.h>
43 #include <wincon.h>
44 #include <winver.h>
45 #include <winreg.h>
46 #include <winnetwk.h>
48 /* Not so essential ones */
49 #ifndef WIN32_LEAN_AND_MEAN
51 #include <cderr.h>
52 #include <dde.h>
53 #include <ddeml.h>
54 #include <dlgs.h>
55 #include <lzexpand.h>
56 #include <mmsystem.h>
57 #include <nb30.h>
58 #include <rpc.h>
59 #include <shellapi.h>
60 /* #include <winperf.h> */
62 #ifndef WINE_NOWINSOCK
63 #include <winsock2.h>
64 #endif /* WINE_NOWINSOCK */
66 #ifndef NOCRYPT
67 #include <wincrypt.h>
68 /* #include <winefs.h> */
69 /* #include <winscard.h> */
70 #endif /* !NOCRYPT */
72 #ifndef NOGDI
73 #include <winspool.h>
74 #ifdef INC_OLE1
75 /* #include <ole.h> */
76 #else
77 #include <ole2.h>
78 #endif
79 #include <commdlg.h>
80 #endif /* !NOGDI */
82 #endif /* !WIN32_LEAN_AND_MEAN */
84 /* #include <stralign.h> */
86 #ifdef INC_OLE2
87 #include <ole2.h>
88 #endif /* INC_OLE2 */
90 #ifndef NOSERVICE
91 #include <winsvc.h>
92 #endif /* !NOSERVICE */
94 #ifndef NOMCX
95 #include <mcx.h>
96 #endif /* !NOMCX */
98 #ifndef NOIMM
99 #include <imm.h>
100 #endif /* !NOIMM */
102 #endif /* RC_INVOKED && !NOWINRES */
103 #endif /* __WINE_WINDOWS_H */