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 | |
Patrik Stridvall | 1ed5577 | 2000-11-30 01:31:28 +0000 | [diff] [blame] | 22 | #ifdef __WINE__ |
| 23 | #error Wine should not include windows.h internally |
| 24 | #endif |
| 25 | |
Francois Gouget | fcba601 | 2001-05-07 18:18:33 +0000 | [diff] [blame] | 26 | #if defined(RC_INVOKED) && !defined(NOWINRES) |
| 27 | #include "winresrc.h" |
| 28 | #else /* RC_INVOKED && !NOWINRES */ |
| 29 | |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 30 | /* All the basic includes */ |
Peter Hunnisett | 73ab649 | 2002-02-25 20:10:35 +0000 | [diff] [blame] | 31 | #include "msvcrt/excpt.h" |
Jeremy White | d3e22d9 | 2000-02-10 19:03:02 +0000 | [diff] [blame] | 32 | #include "windef.h" |
Francois Gouget | f324e5e | 1998-12-26 11:56:22 +0000 | [diff] [blame] | 33 | #include "winbase.h" |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 34 | #include "wingdi.h" |
| 35 | #include "winuser.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 36 | #include "winnls.h" |
| 37 | #include "wincon.h" |
| 38 | #include "winver.h" |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 39 | #include "winreg.h" |
| 40 | #include "winnetwk.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 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" |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 49 | #include "lzexpand.h" |
Joshua Thielen | 2431488 | 1999-05-22 16:19:20 +0000 | [diff] [blame] | 50 | #include "mmsystem.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 51 | /* #include "nb30.h" */ |
| 52 | #include "rpc.h" |
| 53 | #include "shellapi.h" |
| 54 | /* #include "winperf.h" */ |
| 55 | |
Francois Gouget | 2720231 | 2001-11-14 21:26:23 +0000 | [diff] [blame] | 56 | #ifndef WINE_NOWINSOCK |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 57 | #include "winsock2.h" |
| 58 | /* #include "mswsock.h" */ |
Francois Gouget | 2720231 | 2001-11-14 21:26:23 +0000 | [diff] [blame] | 59 | #endif /* WINE_NOWINSOCK */ |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 60 | |
| 61 | #ifndef NOCRYPT |
| 62 | #include "wincrypt.h" |
| 63 | #endif /* !NOCRYPT */ |
| 64 | |
| 65 | #ifndef NOGDI |
Francois Gouget | 1789f24 | 2000-05-23 04:07:53 +0000 | [diff] [blame] | 66 | #include "commdlg.h" |
Francois Gouget | a4af44a | 2000-03-19 12:45:06 +0000 | [diff] [blame] | 67 | #include "winspool.h" |
Francois Gouget | 5e4b7de | 2000-10-13 23:13:01 +0000 | [diff] [blame] | 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 | |
Veksler Michael | 1346a3c | 1998-12-15 11:15:35 +0000 | [diff] [blame] | 93 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 94 | #if 0 |
| 95 | Where does this belong? Nobody uses this stuff anyway. |
Alexandre Julliard | 121bd98 | 1993-07-08 17:37:25 +0000 | [diff] [blame] | 96 | typedef struct { |
| 97 | BYTE i; /* much more .... */ |
| 98 | } KANJISTRUCT; |
| 99 | typedef KANJISTRUCT *LPKANJISTRUCT; |
| 100 | typedef KANJISTRUCT *NPKANJISTRUCT; |
| 101 | typedef KANJISTRUCT *PKANJISTRUCT; |
| 102 | |
Alexandre Julliard | a0b2b1d | 1997-11-16 17:38:29 +0000 | [diff] [blame] | 103 | BOOL16 WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16); |
Alexandre Julliard | a396029 | 1999-02-26 11:11:13 +0000 | [diff] [blame] | 104 | BOOL WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL); |
| 105 | WORD WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE); |
Alexandre Julliard | d90840e | 1996-06-11 16:02:08 +0000 | [diff] [blame] | 106 | |
Michael Veksler | 17822f4 | 1999-02-09 15:46:25 +0000 | [diff] [blame] | 107 | #endif /* 0 */ |
Alexandre Julliard | ca22b33 | 1996-07-12 19:02:39 +0000 | [diff] [blame] | 108 | |
Francois Gouget | fcba601 | 2001-05-07 18:18:33 +0000 | [diff] [blame] | 109 | #endif /* RC_INVOKED && !NOWINRES */ |
Alexandre Julliard | 1e9ac79 | 1996-06-06 18:38:27 +0000 | [diff] [blame] | 110 | #endif /* __WINE_WINDOWS_H */ |