windows.h 2.54 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * Copyright (C) the Wine project
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
19 20 21
#ifndef __WINE_WINDOWS_H
#define __WINE_WINDOWS_H

22 23 24 25
#ifdef __WINE__
#error Wine should not include windows.h internally
#endif

26 27 28 29
#if defined(RC_INVOKED) && !defined(NOWINRES)
#include "winresrc.h"
#else /* RC_INVOKED && !NOWINRES */

30
/* All the basic includes */
31
#include "msvcrt/excpt.h"
32
#include "windef.h"
33
#include "winbase.h"
34 35
#include "wingdi.h"
#include "winuser.h"
36 37 38
#include "winnls.h"
#include "wincon.h"
#include "winver.h"
39 40
#include "winreg.h"
#include "winnetwk.h"
41 42 43 44 45 46 47 48

/* Not so essential ones */
#ifndef WIN32_LEAN_AND_MEAN

#include "cderr.h"
#include "dde.h"
#include "ddeml.h"
#include "dlgs.h"
49
#include "lzexpand.h"
50
#include "mmsystem.h"
51 52 53 54 55
/* #include "nb30.h" */
#include "rpc.h"
#include "shellapi.h"
/* #include "winperf.h" */

56
#ifndef WINE_NOWINSOCK
57 58
#include "winsock2.h"
/* #include "mswsock.h" */
59
#endif /* WINE_NOWINSOCK */
60 61 62 63 64 65

#ifndef NOCRYPT
#include "wincrypt.h"
#endif /* !NOCRYPT */

#ifndef NOGDI
66
#include "commdlg.h"
67
#include "winspool.h"
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
#ifdef INC_OLE1
#include "ole.h"
#else
#include "ole2.h"
#endif
#endif /* !NOGDI */

#endif /* !WIN32_LEAN_AND_MEAN */

#ifdef INC_OLE2
#include "ole2.h"
#endif /* INC_OLE2 */

#ifndef NOSERVICE
#include "winsvc.h"
#endif /* !NOSERVICE */

#ifndef NOMCX
#include "mcx.h"
#endif /* !NOMCX */

#ifndef NOIMM
#include "imm.h"
#endif /* !NOIMM */

93 94 95

#if 0
  Where does this belong? Nobody uses this stuff anyway.
Alexandre Julliard's avatar
Alexandre Julliard committed
96 97 98 99 100 101 102
typedef struct {
	BYTE i;  /* much more .... */
} KANJISTRUCT;
typedef KANJISTRUCT *LPKANJISTRUCT;
typedef KANJISTRUCT *NPKANJISTRUCT;
typedef KANJISTRUCT *PKANJISTRUCT;

Alexandre Julliard's avatar
Alexandre Julliard committed
103
BOOL16      WINAPI CheckMenuRadioButton16(HMENU16,UINT16,UINT16,UINT16,BOOL16);
104 105
BOOL      WINAPI CheckMenuRadioButton(HMENU,UINT,UINT,UINT,BOOL);
WORD        WINAPI WOWHandle16(HANDLE,WOW_HANDLE_TYPE);
106

107
#endif /* 0 */
Alexandre Julliard's avatar
Alexandre Julliard committed
108

109
#endif  /* RC_INVOKED && !NOWINRES */
Alexandre Julliard's avatar
Alexandre Julliard committed
110
#endif  /* __WINE_WINDOWS_H */