blob: 0a81f0f39e4864055a9167a406b08618ce9d6dba [file] [log] [blame]
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00001/*
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
Alexandre Julliard1e9ac791996-06-06 18:38:27 +000019#ifndef __WINE_WINDOWS_H
20#define __WINE_WINDOWS_H
21
Dimitrie O. Paun8b366812003-01-04 00:52:18 +000022#ifdef __WINESRC__
Patrik Stridvall1ed55772000-11-30 01:31:28 +000023#error Wine should not include windows.h internally
24#endif
25
Patrik Stridvall8b991b22002-10-23 20:16:23 +000026#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
Francois Gougetfcba6012001-05-07 18:18:33 +000031#if defined(RC_INVOKED) && !defined(NOWINRES)
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000032#include <winresrc.h>
Francois Gougetfcba6012001-05-07 18:18:33 +000033#else /* RC_INVOKED && !NOWINRES */
34
Francois Gouget5e4b7de2000-10-13 23:13:01 +000035/* All the basic includes */
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000036#include <excpt.h>
Alexandre Julliarde37c6e12003-09-05 23:08:26 +000037#include <stdarg.h>
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000038#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>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000047
48/* Not so essential ones */
49#ifndef WIN32_LEAN_AND_MEAN
50
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000051#include <cderr.h>
52#include <dde.h>
53#include <ddeml.h>
54#include <dlgs.h>
55#include <lzexpand.h>
56#include <mmsystem.h>
57#include <nb30.h>
58#include <rpc.h>
59#include <shellapi.h>
60/* #include <winperf.h> */
Francois Gouget5e4b7de2000-10-13 23:13:01 +000061
Francois Gouget27202312001-11-14 21:26:23 +000062#ifndef WINE_NOWINSOCK
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000063#include <winsock2.h>
Francois Gouget27202312001-11-14 21:26:23 +000064#endif /* WINE_NOWINSOCK */
Francois Gouget5e4b7de2000-10-13 23:13:01 +000065
66#ifndef NOCRYPT
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000067#include <wincrypt.h>
68/* #include <winefs.h> */
69/* #include <winscard.h> */
Francois Gouget5e4b7de2000-10-13 23:13:01 +000070#endif /* !NOCRYPT */
71
72#ifndef NOGDI
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000073#include <winspool.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000074#ifdef INC_OLE1
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000075/* #include <ole.h> */
Francois Gouget5e4b7de2000-10-13 23:13:01 +000076#else
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000077#include <ole2.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000078#endif
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000079#include <commdlg.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000080#endif /* !NOGDI */
81
82#endif /* !WIN32_LEAN_AND_MEAN */
83
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000084/* #include <stralign.h> */
Francois Gouget8e84fed2002-12-13 00:32:56 +000085
Francois Gouget5e4b7de2000-10-13 23:13:01 +000086#ifdef INC_OLE2
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000087#include <ole2.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000088#endif /* INC_OLE2 */
89
90#ifndef NOSERVICE
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000091#include <winsvc.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000092#endif /* !NOSERVICE */
93
94#ifndef NOMCX
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000095#include <mcx.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +000096#endif /* !NOMCX */
97
98#ifndef NOIMM
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000099#include <imm.h>
Francois Gouget5e4b7de2000-10-13 23:13:01 +0000100#endif /* !NOIMM */
101
Francois Gougetfcba6012001-05-07 18:18:33 +0000102#endif /* RC_INVOKED && !NOWINRES */
Alexandre Julliard1e9ac791996-06-06 18:38:27 +0000103#endif /* __WINE_WINDOWS_H */