1 | /*
|
---|
2 | * Copyright (C) the Wine project
|
---|
3 | *
|
---|
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.
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_WINDOWS_H
|
---|
29 | #define __WINE_WINDOWS_H
|
---|
30 |
|
---|
31 | #ifdef __WINESRC__
|
---|
32 | #error Wine should not include windows.h internally
|
---|
33 | #endif
|
---|
34 |
|
---|
35 | #if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
|
---|
36 | /* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
|
---|
37 | # pragma warning(disable:4116)
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | #ifndef _INC_WINDOWS
|
---|
41 | #define _INC_WINDOWS
|
---|
42 |
|
---|
43 | #if defined(RC_INVOKED) && !defined(NOWINRES)
|
---|
44 | #include <winresrc.h>
|
---|
45 | #else /* RC_INVOKED && !NOWINRES */
|
---|
46 |
|
---|
47 | /* All the basic includes */
|
---|
48 | #include <excpt.h>
|
---|
49 | #include <stdarg.h>
|
---|
50 | #include <windef.h>
|
---|
51 | #include <winbase.h>
|
---|
52 | #include <wingdi.h>
|
---|
53 | #include <winuser.h>
|
---|
54 | #include <winnls.h>
|
---|
55 | #include <wincon.h>
|
---|
56 | #include <winver.h>
|
---|
57 | #include <winreg.h>
|
---|
58 | #include <winnetwk.h>
|
---|
59 |
|
---|
60 | /* Not so essential ones */
|
---|
61 | #ifndef WIN32_LEAN_AND_MEAN
|
---|
62 |
|
---|
63 | #include <cderr.h>
|
---|
64 | #include <dde.h>
|
---|
65 | #include <ddeml.h>
|
---|
66 | #include <dlgs.h>
|
---|
67 | #include <lzexpand.h>
|
---|
68 | #include <mmsystem.h>
|
---|
69 | #include <nb30.h>
|
---|
70 | #include <rpc.h>
|
---|
71 | #include <shellapi.h>
|
---|
72 | /* #include <winperf.h> */
|
---|
73 |
|
---|
74 | #ifndef WINE_NOWINSOCK
|
---|
75 | #include <winsock2.h>
|
---|
76 | #endif /* WINE_NOWINSOCK */
|
---|
77 |
|
---|
78 | #ifndef NOCRYPT
|
---|
79 | #include <wincrypt.h>
|
---|
80 | /* #include <winefs.h> */
|
---|
81 | /* #include <winscard.h> */
|
---|
82 | #endif /* !NOCRYPT */
|
---|
83 |
|
---|
84 | #ifndef NOGDI
|
---|
85 | #include <winspool.h>
|
---|
86 | #ifdef INC_OLE1
|
---|
87 | /* #include <ole.h> */
|
---|
88 | #else
|
---|
89 | #include <ole2.h>
|
---|
90 | #endif
|
---|
91 | #include <commdlg.h>
|
---|
92 | #endif /* !NOGDI */
|
---|
93 |
|
---|
94 | #endif /* !WIN32_LEAN_AND_MEAN */
|
---|
95 |
|
---|
96 | /* #include <stralign.h> */
|
---|
97 |
|
---|
98 | #ifdef INC_OLE2
|
---|
99 | #include <ole2.h>
|
---|
100 | #endif /* INC_OLE2 */
|
---|
101 |
|
---|
102 | #ifndef NOSERVICE
|
---|
103 | #include <winsvc.h>
|
---|
104 | #endif /* !NOSERVICE */
|
---|
105 |
|
---|
106 | #ifndef NOMCX
|
---|
107 | #include <mcx.h>
|
---|
108 | #endif /* !NOMCX */
|
---|
109 |
|
---|
110 | #ifndef NOIMM
|
---|
111 | #include <imm.h>
|
---|
112 | #endif /* !NOIMM */
|
---|
113 |
|
---|
114 | #endif /* RC_INVOKED && !NOWINRES */
|
---|
115 | #endif /* _INC_WINDOWS */
|
---|
116 | #endif /* __WINE_WINDOWS_H */
|
---|