windows.h 2.35 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
#if defined(RC_INVOKED) && !defined(NOWINRES)
32
#include <winresrc.h>
33 34
#else /* RC_INVOKED && !NOWINRES */

35
/* All the basic includes */
36
#include <excpt.h>
37
#include <stdarg.h>
38 39 40 41 42 43 44 45 46
#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>
47 48 49 50

/* Not so essential ones */
#ifndef WIN32_LEAN_AND_MEAN

51 52 53 54 55 56 57 58 59 60
#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> */
61

62
#ifndef WINE_NOWINSOCK
63
#include <winsock2.h>
64
#endif /* WINE_NOWINSOCK */
65 66

#ifndef NOCRYPT
67 68 69
#include <wincrypt.h>
/* #include <winefs.h> */
/* #include <winscard.h> */
70 71 72
#endif /* !NOCRYPT */

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

#endif /* !WIN32_LEAN_AND_MEAN */

84
/* #include <stralign.h> */
85

86
#ifdef INC_OLE2
87
#include <ole2.h>
88 89 90
#endif /* INC_OLE2 */

#ifndef NOSERVICE
91
#include <winsvc.h>
92 93 94
#endif /* !NOSERVICE */

#ifndef NOMCX
95
#include <mcx.h>
96 97 98
#endif /* !NOMCX */

#ifndef NOIMM
99
#include <imm.h>
100 101
#endif /* !NOIMM */

102
#endif  /* RC_INVOKED && !NOWINRES */
Alexandre Julliard's avatar
Alexandre Julliard committed
103
#endif  /* __WINE_WINDOWS_H */