Make winsock.h and winsock2.h independent from the Unix headers.
[wine] / include / windows.h
1 #ifndef __WINE_WINDOWS_H
2 #define __WINE_WINDOWS_H
3
4 #ifdef __WINE__
5 #error Wine should not include windows.h internally
6 #endif
7
8 #if defined(RC_INVOKED) && !defined(NOWINRES)
9 #include "winresrc.h"
10 #else /* RC_INVOKED && !NOWINRES */
11
12 /* All the basic includes */
13 /* #include "excpt.h" */
14 #include "windef.h"
15 #include "winbase.h"
16 #include "wingdi.h"
17 #include "winuser.h"
18 #include "winnls.h"
19 #include "wincon.h"
20 #include "winver.h"
21 #include "winreg.h"
22 #include "winnetwk.h"
23
24 /* Not so essential ones */
25 #ifndef WIN32_LEAN_AND_MEAN
26
27 #include "cderr.h"
28 #include "dde.h"
29 #include "ddeml.h"
30 #include "dlgs.h"
31 #include "lzexpand.h"
32 #include "mmsystem.h"
33 /* #include "nb30.h" */
34 #include "rpc.h"
35 #include "shellapi.h"
36 /* #include "winperf.h" */
37
38 #ifndef WINE_NOWINSOCK
39 #include "winsock2.h"
40 /* #include "mswsock.h" */
41 #endif /* WINE_NOWINSOCK */
42
43 #ifndef NOCRYPT
44 #include "wincrypt.h"
45 #endif /* !NOCRYPT */
46
47 #ifndef NOGDI
48 #include "commdlg.h"
49 #include "winspool.h"
50 #ifdef INC_OLE1
51 #include "ole.h"
52 #else
53 #include "ole2.h"
54 #endif
55 #endif /* !NOGDI */
56
57 #endif /* !WIN32_LEAN_AND_MEAN */
58
59 #ifdef INC_OLE2
60 #include "ole2.h"
61 #endif /* INC_OLE2 */
62
63 #ifndef NOSERVICE
64 #include "winsvc.h"
65 #endif /* !NOSERVICE */
66
67 #ifndef NOMCX
68 #include "mcx.h"
69 #endif /* !NOMCX */
70
71 #ifndef NOIMM
72 #include "imm.h"
73 #endif /* !NOIMM */
74
75
76 #if 0
77   Where does this belong? Nobody uses this stuff anyway.
78 typedef struct {
79         BYTE i;  /* much more .... */
80 } KANJISTRUCT;
81 typedef KANJISTRUCT *LPKANJISTRUCT;
82 typedef KANJISTRUCT *NPKANJISTRUCT;
83 typedef KANJISTRUCT *PKANJISTRUCT;
84
85 BOOL16      WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16);
86 BOOL      WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL);
87 WORD        WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE);
88
89 #endif /* 0 */
90
91 #endif  /* RC_INVOKED && !NOWINRES */
92 #endif  /* __WINE_WINDOWS_H */