Added LGPL standard comment, and copyright notices where necessary.
[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 __WINE__
23 #error Wine should not include windows.h internally
24 #endif
25
26 #if defined(RC_INVOKED) && !defined(NOWINRES)
27 #include "winresrc.h"
28 #else /* RC_INVOKED && !NOWINRES */
29
30 /* All the basic includes */
31 #include "msvcrt/excpt.h"
32 #include "windef.h"
33 #include "winbase.h"
34 #include "wingdi.h"
35 #include "winuser.h"
36 #include "winnls.h"
37 #include "wincon.h"
38 #include "winver.h"
39 #include "winreg.h"
40 #include "winnetwk.h"
41
42 /* Not so essential ones */
43 #ifndef WIN32_LEAN_AND_MEAN
44
45 #include "cderr.h"
46 #include "dde.h"
47 #include "ddeml.h"
48 #include "dlgs.h"
49 #include "lzexpand.h"
50 #include "mmsystem.h"
51 /* #include "nb30.h" */
52 #include "rpc.h"
53 #include "shellapi.h"
54 /* #include "winperf.h" */
55
56 #ifndef WINE_NOWINSOCK
57 #include "winsock2.h"
58 /* #include "mswsock.h" */
59 #endif /* WINE_NOWINSOCK */
60
61 #ifndef NOCRYPT
62 #include "wincrypt.h"
63 #endif /* !NOCRYPT */
64
65 #ifndef NOGDI
66 #include "commdlg.h"
67 #include "winspool.h"
68 #ifdef INC_OLE1
69 #include "ole.h"
70 #else
71 #include "ole2.h"
72 #endif
73 #endif /* !NOGDI */
74
75 #endif /* !WIN32_LEAN_AND_MEAN */
76
77 #ifdef INC_OLE2
78 #include "ole2.h"
79 #endif /* INC_OLE2 */
80
81 #ifndef NOSERVICE
82 #include "winsvc.h"
83 #endif /* !NOSERVICE */
84
85 #ifndef NOMCX
86 #include "mcx.h"
87 #endif /* !NOMCX */
88
89 #ifndef NOIMM
90 #include "imm.h"
91 #endif /* !NOIMM */
92
93
94 #if 0
95   Where does this belong? Nobody uses this stuff anyway.
96 typedef struct {
97         BYTE i;  /* much more .... */
98 } KANJISTRUCT;
99 typedef KANJISTRUCT *LPKANJISTRUCT;
100 typedef KANJISTRUCT *NPKANJISTRUCT;
101 typedef KANJISTRUCT *PKANJISTRUCT;
102
103 BOOL16      WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16);
104 BOOL      WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL);
105 WORD        WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE);
106
107 #endif /* 0 */
108
109 #endif  /* RC_INVOKED && !NOWINRES */
110 #endif  /* __WINE_WINDOWS_H */