Alexandre Julliard | 0799c1a | 2002-03-09 23:29:33 +0000 | [diff] [blame] | 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 | |
Alexandre Julliard | 1e9ac79 | 1996-06-06 18:38:27 +0000 | [diff] [blame] | 19 | #ifndef __WINE_WINDOWS_H |
| 20 | #define __WINE_WINDOWS_H |
| 21 | |
Dimitrie O. Paun | 8b36681 | 2003-01-04 00:52:18 +0000 | [diff] [blame] | 22 | #ifdef __WINESRC__ |
Patrik Stridvall | 1ed5577 | 2000-11-30 01:31:28 +0000 | [diff] [blame] | 23 | #error Wine should not include windows.h internally |
| 24 | #endif |
| 25 | |
Patrik Stridvall | 8b991b2 | 2002-10-23 20:16:23 +0000 | [diff] [blame] | 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 |
| 30 | |
Francois Gouget | fcba601 | 2001-05-07 18:18:33 +0000 | [diff] [blame] | 31 | #if defined(RC_INVOKED) && !defined(NOWINRES) |
| 32 | #include "winresrc.h" |
| 33 | #else /* RC_INVOKED && !NOWINRES */ |
| 34 | |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 35 | /* All the basic includes */ |
Dimitrie O. Paun | 737d4be | 2002-12-12 23:34:01 +0000 | [diff] [blame] | 36 | #include "excpt.h" |
Jeremy White | d3e22d9 | 2000-02-10 19:03:02 +0000 | [diff] [blame] | 37 | #include "windef.h" |
Francois Gouget | f324e5e | 1998-12-26 11:56:22 +0000 | [diff] [blame] | 38 | #include "winbase.h" |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 39 | #include "wingdi.h" |
| 40 | #include "winuser.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 41 | #include "winnls.h" |
| 42 | #include "wincon.h" |
| 43 | #include "winver.h" |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 44 | #include "winreg.h" |
| 45 | #include "winnetwk.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 46 | |
| 47 | /* Not so essential ones */ |
| 48 | #ifndef WIN32_LEAN_AND_MEAN |
| 49 | |
| 50 | #include "cderr.h" |
| 51 | #include "dde.h" |
| 52 | #include "ddeml.h" |
| 53 | #include "dlgs.h" |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 54 | #include "lzexpand.h" |
Joshua Thielen | 2431488 | 1999-05-22 16:19:20 +0000 | [diff] [blame] | 55 | #include "mmsystem.h" |
Francois Gouget | 8e84fed | 2002-12-13 00:32:56 +0000 | [diff] [blame] | 56 | #include "nb30.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 57 | #include "rpc.h" |
| 58 | #include "shellapi.h" |
| 59 | /* #include "winperf.h" */ |
| 60 | |
Francois Gouget | 2720231 | 2001-11-14 21:26:23 +0000 | [diff] [blame] | 61 | #ifndef WINE_NOWINSOCK |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 62 | #include "winsock2.h" |
Francois Gouget | 2720231 | 2001-11-14 21:26:23 +0000 | [diff] [blame] | 63 | #endif /* WINE_NOWINSOCK */ |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 64 | |
| 65 | #ifndef NOCRYPT |
| 66 | #include "wincrypt.h" |
Francois Gouget | 8e84fed | 2002-12-13 00:32:56 +0000 | [diff] [blame] | 67 | /* #include "winefs.h" */ |
| 68 | /* #include "winscard.h" */ |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 69 | #endif /* !NOCRYPT */ |
| 70 | |
| 71 | #ifndef NOGDI |
Francois Gouget | a4af44a | 2000-03-19 12:45:06 +0000 | [diff] [blame] | 72 | #include "winspool.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 73 | #ifdef INC_OLE1 |
Alexandre Julliard | 3c25c8e | 2002-12-23 01:46:34 +0000 | [diff] [blame] | 74 | /* #include "ole.h" */ |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 75 | #else |
| 76 | #include "ole2.h" |
| 77 | #endif |
Francois Gouget | 8e84fed | 2002-12-13 00:32:56 +0000 | [diff] [blame] | 78 | #include "commdlg.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 79 | #endif /* !NOGDI */ |
| 80 | |
| 81 | #endif /* !WIN32_LEAN_AND_MEAN */ |
| 82 | |
Francois Gouget | 8e84fed | 2002-12-13 00:32:56 +0000 | [diff] [blame] | 83 | /* #include "stralign.h" */ |
| 84 | |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 85 | #ifdef INC_OLE2 |
| 86 | #include "ole2.h" |
| 87 | #endif /* INC_OLE2 */ |
| 88 | |
| 89 | #ifndef NOSERVICE |
| 90 | #include "winsvc.h" |
| 91 | #endif /* !NOSERVICE */ |
| 92 | |
| 93 | #ifndef NOMCX |
| 94 | #include "mcx.h" |
| 95 | #endif /* !NOMCX */ |
| 96 | |
| 97 | #ifndef NOIMM |
| 98 | #include "imm.h" |
| 99 | #endif /* !NOIMM */ |
| 100 | |
Francois Gouget | fcba601 | 2001-05-07 18:18:33 +0000 | [diff] [blame] | 101 | #endif /* RC_INVOKED && !NOWINRES */ |
Alexandre Julliard | 1e9ac79 | 1996-06-06 18:38:27 +0000 | [diff] [blame] | 102 | #endif /* __WINE_WINDOWS_H */ |