dinput: Fix EnumObjects callback return value handling.
[wine.git] / include / windows.h
blob19e1fd4fc493dd4a361ecf78a6f470ffdc9ff5c7
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINDOWS_H
20 #define __WINE_WINDOWS_H
22 #if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
23 /* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
24 # pragma warning(disable:4116)
25 #endif
27 #ifndef _INC_WINDOWS
28 #define _INC_WINDOWS
30 #if defined(RC_INVOKED) && !defined(NOWINRES)
31 #include <winresrc.h>
32 #else /* RC_INVOKED && !NOWINRES */
34 /* All the basic includes */
35 #include <excpt.h>
36 #include <sdkddkver.h>
37 #include <stdarg.h>
38 #include <windef.h>
39 #include <winbase.h>
40 #include <wingdi.h>
41 #include <winuser.h>
42 #include <winnls.h>
43 #include <wincon.h>
44 #include <winver.h>
45 #include <winreg.h>
46 #include <winnetwk.h>
48 /* Not so essential ones */
49 #ifndef __WINESRC__
51 #ifndef WIN32_LEAN_AND_MEAN
53 #include <cderr.h>
54 #include <dde.h>
55 #include <ddeml.h>
56 #include <dlgs.h>
57 #include <lzexpand.h>
58 #include <mmsystem.h>
59 #include <nb30.h>
60 #include <rpc.h>
61 #include <shellapi.h>
62 #include <winperf.h>
63 #include <winsock.h>
65 #ifndef NOCRYPT
66 #include <wincrypt.h>
67 /* #include <winefs.h> */
68 #include <winscard.h>
69 #endif /* !NOCRYPT */
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 */
81 #endif /* !WIN32_LEAN_AND_MEAN */
83 /* #include <stralign.h> */
85 #ifdef INC_OLE2
86 #include <ole2.h>
87 #endif /* INC_OLE2 */
89 #ifndef NOSERVICE
90 #include <winsvc.h>
91 #endif /* !NOSERVICE */
93 #ifndef NOMCX
94 #include <mcx.h>
95 #endif /* !NOMCX */
97 #ifndef NOIMM
98 #include <imm.h>
99 #endif /* !NOIMM */
101 #endif /* __WINESRC__ */
103 #endif /* RC_INVOKED && !NOWINRES */
104 #endif /* _INC_WINDOWS */
105 #endif /* __WINE_WINDOWS_H */