Rename __WINE__ to __WINESRC__.
[wine] / include / windows.h
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19 #ifndef __WINE_WINDOWS_H
20 #define __WINE_WINDOWS_H
21
22 #ifdef __WINESRC__
23 #error Wine should not include windows.h internally
24 #endif
25
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
30
31 #if defined(RC_INVOKED) && !defined(NOWINRES)
32 #include "winresrc.h"
33 #else /* RC_INVOKED && !NOWINRES */
34
35 /* All the basic includes */
36 #include "excpt.h"
37 #include "windef.h"
38 #include "winbase.h"
39 #include "wingdi.h"
40 #include "winuser.h"
41 #include "winnls.h"
42 #include "wincon.h"
43 #include "winver.h"
44 #include "winreg.h"
45 #include "winnetwk.h"
46
47 /* Not so essential ones */
48 #ifndef WIN32_LEAN_AND_MEAN
49
50 #include "cderr.h"
51 #include "dde.h"
52 #include "ddeml.h"
53 #include "dlgs.h"
54 #include "lzexpand.h"
55 #include "mmsystem.h"
56 #include "nb30.h"
57 #include "rpc.h"
58 #include "shellapi.h"
59 /* #include "winperf.h" */
60
61 #ifndef WINE_NOWINSOCK
62 #include "winsock2.h"
63 #endif /* WINE_NOWINSOCK */
64
65 #ifndef NOCRYPT
66 #include "wincrypt.h"
67 /* #include "winefs.h" */
68 /* #include "winscard.h" */
69 #endif /* !NOCRYPT */
70
71 #ifndef NOGDI
72 #include "winspool.h"
73 #ifdef INC_OLE1
74 /* #include "ole.h" */
75 #else
76 #include "ole2.h"
77 #endif
78 #include "commdlg.h"
79 #endif /* !NOGDI */
80
81 #endif /* !WIN32_LEAN_AND_MEAN */
82
83 /* #include "stralign.h" */
84
85 #ifdef INC_OLE2
86 #include "ole2.h"
87 #endif /* INC_OLE2 */
88
89 #ifndef NOSERVICE
90 #include "winsvc.h"
91 #endif /* !NOSERVICE */
92
93 #ifndef NOMCX
94 #include "mcx.h"
95 #endif /* !NOMCX */
96
97 #ifndef NOIMM
98 #include "imm.h"
99 #endif /* !NOIMM */
100
101 #endif  /* RC_INVOKED && !NOWINRES */
102 #endif  /* __WINE_WINDOWS_H */