windows.h 2.42 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/*
 * 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
16
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 18
 */

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

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

26 27 28 29 30
#if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
/* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
# pragma warning(disable:4116)
#endif

31 32 33
#ifndef _INC_WINDOWS
#define _INC_WINDOWS

34
#if defined(RC_INVOKED) && !defined(NOWINRES)
35
#include <winresrc.h>
36 37
#else /* RC_INVOKED && !NOWINRES */

38
/* All the basic includes */
39
#include <excpt.h>
40
#include <stdarg.h>
41 42 43 44 45 46 47 48 49
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <winnls.h>
#include <wincon.h>
#include <winver.h>
#include <winreg.h>
#include <winnetwk.h>
50 51 52 53

/* Not so essential ones */
#ifndef WIN32_LEAN_AND_MEAN

54 55 56 57 58 59 60 61 62 63
#include <cderr.h>
#include <dde.h>
#include <ddeml.h>
#include <dlgs.h>
#include <lzexpand.h>
#include <mmsystem.h>
#include <nb30.h>
#include <rpc.h>
#include <shellapi.h>
/* #include <winperf.h> */
64

65
#ifndef WINE_NOWINSOCK
66
#include <winsock2.h>
67
#endif /* WINE_NOWINSOCK */
68 69

#ifndef NOCRYPT
70 71 72
#include <wincrypt.h>
/* #include <winefs.h> */
/* #include <winscard.h> */
73 74 75
#endif /* !NOCRYPT */

#ifndef NOGDI
76
#include <winspool.h>
77
#ifdef INC_OLE1
78
/* #include <ole.h> */
79
#else
80
#include <ole2.h>
81
#endif
82
#include <commdlg.h>
83 84 85 86
#endif /* !NOGDI */

#endif /* !WIN32_LEAN_AND_MEAN */

87
/* #include <stralign.h> */
88

89
#ifdef INC_OLE2
90
#include <ole2.h>
91 92 93
#endif /* INC_OLE2 */

#ifndef NOSERVICE
94
#include <winsvc.h>
95 96 97
#endif /* !NOSERVICE */

#ifndef NOMCX
98
#include <mcx.h>
99 100 101
#endif /* !NOMCX */

#ifndef NOIMM
102
#include <imm.h>
103 104
#endif /* !NOIMM */

105
#endif  /* RC_INVOKED && !NOWINRES */
106
#endif /* _INC_WINDOWS */
Alexandre Julliard's avatar
Alexandre Julliard committed
107
#endif  /* __WINE_WINDOWS_H */