ReactOS
0.4.15-dev-1627-gaf0f858
windows.h
Go to the documentation of this file.
1
/*
2
windows.h - main header file for the Win32 API
3
4
Written by Anders Norlander <anorland@hem2.passagen.se>
5
6
This file is part of a free library for the Win32 API.
7
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12
*/
13
#ifndef _WINDOWS_H
14
#define _WINDOWS_H
15
16
#ifdef __GNUC__
17
#include <
msvctarget.h
>
18
#endif
19
20
#if !defined(_X86_) && !defined(_AMD64_) && !defined(_IA64_) && !defined(_ALPHA_) && \
21
!defined(_ARM_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_) && !defined(_SH_)
22
23
#if defined(_M_AMD64) || defined(__x86_64__)
24
#define _AMD64_
25
#elif defined(_M_IX86) || defined(__i386__)
26
#define _X86_
27
#elif defined(_M_IA64) || defined(__ia64__)
28
#define _IA64_
29
#elif defined(_M_ALPHA) || defined(__alpha__)
30
#define _ALPHA_
31
#elif defined(_M_ARM) || defined(__arm__)
32
#define _ARM_
33
#elif defined(_M_PPC) || defined(__powerpc__)
34
#define _PPC_
35
#elif defined(_M_MRX000) || defined(__mips__)
36
#define _MIPS_
37
#elif defined(_M_M68K) || defined(__68k__)
38
#define _68K_
39
#elif defined(_SHX_) || defined(__sh__)
40
#define _SH_
41
#endif
42
43
#endif
44
45
#ifdef RC_INVOKED
46
/* winresrc.h includes the necessary headers */
47
#include <
winresrc.h
>
48
#else
49
50
#include <excpt.h>
51
#include <stdarg.h>
52
#include <
windef.h
>
53
#include <
winbase.h
>
54
#include <
wingdi.h
>
55
#include <
winuser.h
>
56
#include <
wincon.h
>
57
#include <
winnls.h
>
58
#include <
winver.h
>
59
#include <
winnetwk.h
>
60
#include <
winreg.h
>
61
#include <
winsvc.h
>
62
63
#ifndef WIN32_LEAN_AND_MEAN
64
#include <
cderr.h
>
65
#include <
dde.h
>
66
#include <
ddeml.h
>
67
#include <
dlgs.h
>
68
#include <
imm.h
>
69
#include <
lzexpand.h
>
70
#include <
mmsystem.h
>
71
#include <
nb30.h
>
72
#include <
rpc.h
>
73
#include <
shellapi.h
>
74
#include <
winperf.h
>
75
#ifndef NOCRYPT
76
#include <
wincrypt.h
>
77
#include <
winefs.h
>
78
#include <
winscard.h
>
79
#endif
80
#ifndef NOGDI
81
#include <
commdlg.h
>
82
#include <
winspool.h
>
83
#endif
84
#if defined(Win32_Winsock)
85
#warning "The Win32_Winsock macro name is deprecated.\
86
Please use __USE_W32_SOCKETS instead"
87
#ifndef __USE_W32_SOCKETS
88
#define __USE_W32_SOCKETS
89
#endif
90
#endif
91
#if defined(__USE_W32_SOCKETS) || !(defined(__CYGWIN__) || defined(__MSYS__) || defined(_UWIN))
92
#if (_WIN32_WINNT >= 0x0400)
93
#include <
winsock2.h
>
94
/*
95
* MS likes to include mswsock.h here as well,
96
* but that can cause undefined symbols if
97
* winsock2.h is included before windows.h
98
*/
99
#else
100
#include <
winsock.h
>
101
#endif
/* (_WIN32_WINNT >= 0x0400) */
102
#endif
103
#ifndef NOGDI
104
#if !defined (__OBJC__)
105
#if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined (__WATCOMC__) || defined(_MSC_VER)
106
#include <
ole2.h
>
107
#endif
108
#endif
/* __OBJC__ */
109
#endif
110
111
#endif
/* WIN32_LEAN_AND_MEAN */
112
113
#endif
/* RC_INVOKED */
114
115
#ifdef __OBJC__
116
/* FIXME: Not undefining BOOL here causes all BOOLs to be WINBOOL (int),
117
but undefining it causes trouble as well if a file is included after
118
windows.h
119
*/
120
#undef BOOL
121
#endif
122
123
#endif
wingdi.h
winresrc.h
wincrypt.h
winsvc.h
ole2.h
winbase.h
ddeml.h
imm.h
dlgs.h
winver.h
rpc.h
lzexpand.h
dde.h
winsock.h
shellapi.h
mmsystem.h
winsock2.h
winnls.h
winspool.h
cderr.h
windef.h
winreg.h
winperf.h
msvctarget.h
nb30.h
commdlg.h
winnetwk.h
winuser.h
wincon.h
winefs.h
winscard.h
sdk
include
psdk
windows.h
Generated on Mon Jan 18 2021 06:22:48 for ReactOS by
1.8.15