Handle D3DLIGHTSTATE_COLORVERTEX to prevent SetLightState from
[wine/multimedia.git] / include / windows.h
blobfc264c0181c31a49233bf29b1a64d6631b1976e6
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 __WINE__
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 "msvcrt/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"
47 /* Not so essential ones */
48 #ifndef WIN32_LEAN_AND_MEAN
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" */
61 #ifndef WINE_NOWINSOCK
62 #include "winsock2.h"
63 /* #include "mswsock.h" */
64 #endif /* WINE_NOWINSOCK */
66 #ifndef NOCRYPT
67 #include "wincrypt.h"
68 #endif /* !NOCRYPT */
70 #ifndef NOGDI
71 #include "commdlg.h"
72 #include "winspool.h"
73 #ifdef INC_OLE1
74 #include "ole.h"
75 #else
76 #include "ole2.h"
77 #endif
78 #endif /* !NOGDI */
80 #endif /* !WIN32_LEAN_AND_MEAN */
82 #ifdef INC_OLE2
83 #include "ole2.h"
84 #endif /* INC_OLE2 */
86 #ifndef NOSERVICE
87 #include "winsvc.h"
88 #endif /* !NOSERVICE */
90 #ifndef NOMCX
91 #include "mcx.h"
92 #endif /* !NOMCX */
94 #ifndef NOIMM
95 #include "imm.h"
96 #endif /* !NOIMM */
99 #if 0
100 Where does this belong? Nobody uses this stuff anyway.
101 typedef struct {
102 BYTE i; /* much more .... */
103 } KANJISTRUCT;
104 typedef KANJISTRUCT *LPKANJISTRUCT;
105 typedef KANJISTRUCT *NPKANJISTRUCT;
106 typedef KANJISTRUCT *PKANJISTRUCT;
108 BOOL16 WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16);
109 BOOL WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL);
110 WORD WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE);
112 #endif /* 0 */
114 #endif /* RC_INVOKED && !NOWINRES */
115 #endif /* __WINE_WINDOWS_H */