-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows.h
executable file
·191 lines (143 loc) · 3.32 KB
/
windows.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#ifndef __WINDOWS_H
#define __WINDOWS_H
/*
* Define WINDOWS_H_INCLUDE_WINDOWS in order to include window operations and
* related staff.
*/
/* Vista target */
#define NTDDI_VERSION NTDDI_VISTA
#define WINVER 0x0600
#define _WIN32_WINNT 0x0600
/* XP target */
// #define WINVER 0x501
// #define _WIN32_WINNT 0x501
#define WIN32_LEAN_AND_MEAN
/* CC_*, LC_*, PC_*, CP_*, TC_*, RC_ */
#define NOGDICAPMASKS
/* VK_* */
#define NOVIRTUALKEYCODES
/* WM_*, EM_*, LB_*, CB_* */
#ifndef WINDOWS_H_INCLUDE_WINDOWS
# define NOWINMESSAGES
#endif
/* WS_*, CS_*, ES_*, LBS_*, SBS_*, CBS_* */
#ifndef WINDOWS_H_INCLUDE_WINSTYLES
# define NOWINSTYLES
#endif
/* SM_* */
#define NOSYSMETRICS
/* MF_* */
#ifndef WINDOWS_H_INCLUDE_MENUS
# define NOMENUS
#endif
/* IDI_* */
#define NOICONS
/* MK_* */
#define NOKEYSTATES
/* SC_* */
#ifndef WINDOWS_H_INCLUDE_SYSCOMMANDS
# define NOSYSCOMMANDS
#endif
/* Binary and Tertiary raster ops */
#define NORASTEROPS
/* SW_* */
#define NOSHOWWINDOW
/* OEM Resource values */
#define OEMRESOURCE
/* Atom Manager routines */
#define NOATOM
/* Clipboard routines */
#define NOCLIPBOARD
/* Screen colors */
#define NOCOLOR
/* Control and Dialog routines */
#define NOCTLMGR
/* DrawText() and DT_* */
#define NODRAWTEXT
/* All GDI defines and routines */
#define NOGDI
/* All KERNEL defines and routines */
// #define NOKERNEL
/* All USER defines and routines */
// #define NOUSER
/* All NLS defines and routines */
#define NONLS
/* MB_* and MessageBox() */
#define NOMB
/* GMEM_*, LMEM_*, GHND, LHND, associated routines */
#define NOMEMMGR
/* typedef METAFILEPICT */
#define NOMETAFILE
/* Macros min(a,b) and max(a,b) */
#define NOMINMAX
/* typedef MSG and associated routines */
#define NOMSG
/* OpenFile(), OemToAnsi, AnsiToOem, and OF_* */
#define NOOPENFILE
/* SB_* and scrolling routines */
#define NOSCROLL
/* All Service Controller routines, SERVICE_ equates, etc. */
// #define NOSERVICE
/* Sound driver routines */
#define NOSOUND
/* typedef TEXTMETRIC and associated routines */
#define NOTEXTMETRIC
/* SetWindowsHook and WH_* */
#define NOWH
/* GWL_*, GCL_*, associated routines */
#ifndef WINDOWS_H_INCLUDE_WINDOWS
# define NOWINOFFSETS
#endif
/* COMM driver routines */
#define NOCOMM
/* Kanji support stuff. */
#define NOKANJI
/* Help engine interface. */
#define NOHELP
/* Profiler interface. */
#define NOPROFILER
/* DeferWindowPos routines */
#define NODEFERWINDOWPOS
/* Modem Configuration Extensions */
#define NOMCX
#include <windows.h>
#undef NOGDICAPMASKS
#undef NOVIRTUALKEYCODES
#undef NOWINMESSAGES
#undef NOWINSTYLES
#undef NOSYSMETRICS
#undef NOMENUS
#undef NOICONS
#undef NOKEYSTATES
#undef NOSYSCOMMANDS
#undef NORASTEROPS
#undef NOSHOWWINDOW
#undef OEMRESOURCE
#undef NOATOM
#undef NOCLIPBOARD
#undef NOCOLOR
#undef NOCTLMGR
#undef NODRAWTEXT
#undef NOGDI
#undef NOKERNEL
#undef NOUSER
#undef NONLS
#undef NOMB
#undef NOMEMMGR
#undef NOMETAFILE
#undef NOMINMAX
#undef NOMSG
#undef NOOPENFILE
#undef NOSCROLL
#undef NOSERVICE
#undef NOSOUND
#undef NOTEXTMETRIC
#undef NOWH
#undef NOWINOFFSETS
#undef NOCOMM
#undef NOKANJI
#undef NOHELP
#undef NOPROFILER
#undef NODEFERWINDOWPOS
#undef NOMCX
#endif /* __WINDOWS_H */