source: trunk/include/os2wrap2.h@ 22145

Last change on this file since 22145 was 21974, checked in by dmik, 14 years ago

os2wrap2.h: Add more defines and define OS2_WRAP_INCLUDED.

This is to detect that all OS/2 APIs are in a prefixed form.

File size: 165.4 KB
Line 
1/*
2 * A full version of os2wrap.h that prefixes all OS/2 type and constant
3 * definitions with "os2_" which makes it possible to use the OS/2 APIs
4 * from the same source files that use the Windows APIs.
5 *
6 * Project Odin Software License can be found in LICENSE.TXT
7 */
8
9#ifndef __OS2WRAP2_H__
10#define __OS2WRAP2_H__
11
12#define OS2_WRAP_INCLUDED
13
14#ifdef WINVER
15#error "os2wrap2.h must be included BEFORE any Windows include file!"
16#endif
17
18#define os2__THUNK_PASCAL_FUNCTION (FUN) os2_APIENTRY _16_##FUN
19#define os2_MAKE16P (sel,off) ((_far16ptr)((sel) << 16 | (off)))
20#define os2_MAKEP (sel,off) _libc_16to32 ( os2_MAKE16P (sel, off))
21#define os2_SELECTOROF (farptr) ((os2_SEL)((farptr) >> 16))
22#define os2_OFFSETOF (farptr) ((os2_USHORT)(farptr))
23#define os2__THUNK_PTR_SIZE_OK (ptr,size) \
24 (((os2_ULONG)(ptr) & ~0xffff) == (((os2_ULONG)(ptr) + (size) - 1) & ~0xffff))
25
26#define os2_APIENTRY _System
27#define os2_EXPENTRY _System
28#define os2_VOID void
29#define os2_NULLHANDLE ((os2_LHANDLE)0)
30#define os2_NULLSHANDLE ((os2_SHANDLE)0)
31#define INT os2_INT
32#define UINT os2_UINT
33#define APIRET os2_APIRET
34#define BOOL os2_BOOL
35#define PBOOL os2_PBOOL
36#define BOOL32 os2_BOOL32
37#define PBOOL32 os2_PBOOL32
38#define CHAR os2_CHAR
39#define PCHAR os2_PCHAR
40#define BYTE os2_BYTE
41#define PCH os2_PCH
42#define PSZ os2_PSZ
43#define PCCH os2_PCCH
44#define PCSZ os2_PCSZ
45#define BYTE os2_BYTE
46#define PCH os2_PCH
47#define PSZ os2_PSZ
48#define PCCH os2_PCCH
49#define PCSZ os2_PCSZ
50#define PBYTE os2_PBYTE
51#define UCHAR os2_UCHAR
52#define PUCHAR os2_PUCHAR
53#define SHORT os2_SHORT
54#define PSHORT os2_PSHORT
55#define USHORT os2_USHORT
56#define PUSHORT os2_PUSHORT
57#define LONG os2_LONG
58#define PLONG os2_PLONG
59#define ULONG os2_ULONG
60#define PULONG os2_PULONG
61#define LONGLONG os2_LONGLONG
62#define PLONGLONG os2_PLONGLONG
63#define ULONGLONG os2_ULONGLONG
64#define PULONGLONG os2_PULONGLONG
65#define _LONGLONG os2__LONGLONG
66#define LONGLONG os2_LONGLONG
67#define PLONGLONG os2_PLONGLONG
68#define _ULONGLONG os2__ULONGLONG
69#define ULONGLONG os2_ULONGLONG
70#define PULONGLONG os2_PULONGLONG
71#define PVOID os2_PVOID
72#define PPVOID os2_PPVOID
73#define CPVOID os2_CPVOID
74#define STR8 os2_STR8
75#define PSTR8 os2_PSTR8
76#define STR16 os2_STR16
77#define PSTR16 os2_PSTR16
78#define STR32 os2_STR32
79#define PSTR32 os2_PSTR32
80#define STR64 os2_STR64
81#define PSTR64 os2_PSTR64
82#define SHANDLE os2_SHANDLE
83#define LHANDLE os2_LHANDLE
84#define HPIPE os2_HPIPE
85#define PHPIPE os2_PHPIPE
86#define HQUEUE os2_HQUEUE
87#define PHQUEUE os2_PHQUEUE
88#define HMODULE os2_HMODULE
89#define PHMODULE os2_PHMODULE
90#define HSEM os2_HSEM
91#define PHSEM os2_PHSEM
92#define HOBJECT os2_HOBJECT
93#define PID os2_PID
94#define PPID os2_PPID
95#define TID os2_TID
96#define PTID os2_PTID
97#define PFN os2_PFN
98#define PPFN os2_PPFN
99#define SEL os2_SEL
100#define PSEL os2_PSEL
101#define HMTX os2_HMTX
102#define PHMTX os2_PHMTX
103#define HMUX os2_HMUX
104#define PHMUX os2_PHMUX
105#define os2_FIELDOFFSET (t,f) ((os2_SHORT)&(((t *)0)->f))
106#define os2_MAKETYPE (v,t) (*((t *)&v))
107#define os2_MAKEUSHORT (l,h) (((os2_USHORT)(l)) | ((os2_USHORT)(h))<<8)
108#define os2_MAKESHORT (l,h) ((os2_SHORT) os2_MAKEUSHORT (l, h))
109#define os2_MAKEULONG (l,h) ((os2_ULONG)(((os2_USHORT)(l)) | ((os2_ULONG)((os2_USHORT)(h)))<<16))
110#define os2_MAKELONG (l,h) ((os2_LONG) os2_MAKEULONG (l, h))
111#define os2_LOUCHAR (w) ((os2_UCHAR)(w))
112#define os2_HIUCHAR (w) ((os2_UCHAR)((os2_USHORT)(w)>>8))
113#define os2_LOBYTE (x) os2_LOUCHAR(x)
114#define os2_HIBYTE (x) os2_HIUCHAR(x)
115#define os2_LOUSHORT (x) ((os2_USHORT)((os2_ULONG)(x)))
116#define os2_HIUSHORT (x) ((os2_USHORT)((os2_ULONG)(x)>>16))
117#define os2_WINERR_BASE 0x1000
118#define os2_GPIERR_BASE 0x2000
119#define os2_DEVERR_BASE 0x3000
120#define os2_SPLERR_BASE 0x4000
121#define os2_SEVERITY_NOERROR 0x0000
122#define os2_SEVERITY_WARNING 0x0004
123#define os2_SEVERITY_ERROR 0x0008
124#define os2_SEVERITY_SEVERE 0x000c
125#define os2_SEVERITY_UNRECOVERABLE 0x0010
126#define os2_NO_ERROR 0
127#define os2_ERROR_INVALID_FUNCTION 1
128#define os2_ERROR_FILE_NOT_FOUND 2
129#define os2_ERROR_PATH_NOT_FOUND 3
130#define os2_ERROR_TOO_MANY_OPEN_FILES 4
131#define os2_ERROR_ACCESS_DENIED 5
132#define os2_ERROR_INVALID_HANDLE 6
133#define os2_ERROR_ARENA_TRASHED 7
134#define os2_ERROR_NOT_ENOUGH_MEMORY 8
135#define os2_ERROR_INVALID_BLOCK 9
136#define os2_ERROR_BAD_ENVIRONMENT 10
137#define os2_ERROR_BAD_FORMAT 11
138#define os2_ERROR_INVALID_ACCESS 12
139#define os2_ERROR_INVALID_DATA 13
140#define os2_ERROR_INVALID_DRIVE 15
141#define os2_ERROR_CURRENT_DIRECTORY 16
142#define os2_ERROR_NOT_SAME_DEVICE 17
143#define os2_ERROR_NO_MORE_FILES 18
144#define os2_ERROR_WRITE_PROTECT 19
145#define os2_ERROR_BAD_UNIT 20
146#define os2_ERROR_NOT_READY 21
147#define os2_ERROR_BAD_COMMAND 22
148#define os2_ERROR_CRC 23
149#define os2_ERROR_BAD_LENGTH 24
150#define os2_ERROR_SEEK 25
151#define os2_ERROR_NOT_DOS_DISK 26
152#define os2_ERROR_SECTOR_NOT_FOUND 27
153#define os2_ERROR_OUT_OF_PAPER 28
154#define os2_ERROR_WRITE_FAULT 29
155#define os2_ERROR_READ_FAULT 30
156#define os2_ERROR_GEN_FAILURE 31
157#define os2_ERROR_SHARING_VIOLATION 32
158#define os2_ERROR_LOCK_VIOLATION 33
159#define os2_ERROR_WRONG_DISK 34
160#define os2_ERROR_FCB_UNAVAILABLE 35
161#define os2_ERROR_SHARING_BUFFER_EXCEEDED 36
162#define os2_ERROR_CODE_PAGE_MISMATCHED 37
163#define os2_ERROR_HANDLE_EOF 38
164#define os2_ERROR_HANDLE_DISK_FULL 39
165#define os2_ERROR_NOT_SUPPORTED 50
166#define os2_ERROR_REM_NOT_LIST 51
167#define os2_ERROR_DUP_NAME 52
168#define os2_ERROR_BAD_NETPATH 53
169#define os2_ERROR_NETWORK_BUSY 54
170#define os2_ERROR_DEV_NOT_EXIST 55
171#define os2_ERROR_TOO_MANY_CMDS 56
172#define os2_ERROR_ADAP_HDW_ERR 57
173#define os2_ERROR_BAD_NET_RESP 58
174#define os2_ERROR_UNEXP_NET_ERR 59
175#define os2_ERROR_BAD_REM_ADAP 60
176#define os2_ERROR_PRINTQ_FULL 61
177#define os2_ERROR_NO_SPOOL_SPACE 62
178#define os2_ERROR_PRINT_CANCELLED 63
179#define os2_ERROR_NETNAME_DELETED 64
180#define os2_ERROR_NETWORK_ACCESS_DENIED 65
181#define os2_ERROR_BAD_DEV_TYPE 66
182#define os2_ERROR_BAD_NET_NAME 67
183#define os2_ERROR_TOO_MANY_NAMES 68
184#define os2_ERROR_TOO_MANY_SESS 69
185#define os2_ERROR_SHARING_PAUSED 70
186#define os2_ERROR_REQ_NOT_ACCEP 71
187#define os2_ERROR_REDIR_PAUSED 72
188#define os2_ERROR_SBCS_ATT_WRITE_PROT 73
189#define os2_ERROR_SBCS_GENERAL_FAILURE 74
190#define os2_ERROR_XGA_OUT_MEMORY 75
191#define os2_ERROR_FILE_EXISTS 80
192#define os2_ERROR_DUP_FCB 81
193#define os2_ERROR_CANNOT_MAKE 82
194#define os2_ERROR_FAIL_I24 83
195#define os2_ERROR_OUT_OF_STRUCTURES 84
196#define os2_ERROR_ALREADY_ASSIGNED 85
197#define os2_ERROR_INVALID_PASSWORD 86
198#define os2_ERROR_INVALID_PARAMETER 87
199#define os2_ERROR_NET_WRITE_FAULT 88
200#define os2_ERROR_NO_PROC_SLOTS 89
201#define os2_ERROR_NOT_FROZEN 90
202#define os2_ERROR_SYS_COMP_NOT_LOADED 90 /*!*/
203#define os2_ERROR_NO_ITEMS 93
204#define os2_ERROR_INTERRUPT 95
205#define os2_ERROR_DEVICE_IN_USE 99
206#define os2_ERROR_TOO_MANY_SEMAPHORES 100
207#define os2_ERROR_EXCL_SEM_ALREADY_OWNED 101
208#define os2_ERROR_SEM_IS_SET 102
209#define os2_ERROR_TOO_MANY_SEM_REQUESTS 103
210#define os2_ERROR_INVALID_AT_INTERRUPT_TIME 104
211#define os2_ERROR_SEM_OWNER_DIED 105
212#define os2_ERROR_SEM_USER_LIMIT 106
213#define os2_ERROR_DISK_CHANGE 107
214#define os2_ERROR_DRIVE_LOCKED 108
215#define os2_ERROR_BROKEN_PIPE 109
216#define os2_ERROR_OPEN_FAILED 110
217#define os2_ERROR_BUFFER_OVERFLOW 111
218#define os2_ERROR_DISK_FULL 112
219#define os2_ERROR_NO_MORE_SEARCH_HANDLES 113
220#define os2_ERROR_INVALID_TARGET_HANDLE 114
221#define os2_ERROR_PROTECTION_VIOLATION 115
222#define os2_ERROR_VIOKBD_REQUEST 116
223#define os2_ERROR_INVALID_CATEGORY 117
224#define os2_ERROR_INVALID_VERIFY_SWITCH 118
225#define os2_ERROR_BAD_DRIVER_LEVEL 119
226#define os2_ERROR_CALL_NOT_IMPLEMENTED 120
227#define os2_ERROR_SEM_TIMEOUT 121
228#define os2_ERROR_INSUFFICIENT_BUFFER 122
229#define os2_ERROR_INVALID_NAME 123
230#define os2_ERROR_INVALID_LEVEL 124
231#define os2_ERROR_NO_VOLUME_LABEL 125
232#define os2_ERROR_MOD_NOT_FOUND 126
233#define os2_ERROR_PROC_NOT_FOUND 127
234#define os2_ERROR_WAIT_NO_CHILDREN 128
235#define os2_ERROR_CHILD_NOT_COMPLETE 129
236#define os2_ERROR_DIRECT_ACCESS_HANDLE 130
237#define os2_ERROR_NEGATIVE_SEEK 131
238#define os2_ERROR_SEEK_ON_DEVICE 132
239#define os2_ERROR_IS_JOIN_TARGET 133
240#define os2_ERROR_IS_JOINED 134
241#define os2_ERROR_IS_SUBSTED 135
242#define os2_ERROR_NOT_JOINED 136
243#define os2_ERROR_NOT_SUBSTED 137
244#define os2_ERROR_JOIN_TO_JOIN 138
245#define os2_ERROR_SUBST_TO_SUBST 139
246#define os2_ERROR_JOIN_TO_SUBST 140
247#define os2_ERROR_SUBST_TO_JOIN 141
248#define os2_ERROR_BUSY_DRIVE 142
249#define os2_ERROR_SAME_DRIVE 143
250#define os2_ERROR_DIR_NOT_ROOT 144
251#define os2_ERROR_DIR_NOT_EMPTY 145
252#define os2_ERROR_IS_SUBST_PATH 146
253#define os2_ERROR_IS_JOIN_PATH 147
254#define os2_ERROR_PATH_BUSY 148
255#define os2_ERROR_IS_SUBST_TARGET 149
256#define os2_ERROR_SYSTEM_TRACE 150
257#define os2_ERROR_INVALID_EVENT_COUNT 151
258#define os2_ERROR_TOO_MANY_MUXWAITERS 152
259#define os2_ERROR_INVALID_LIST_FORMAT 153
260#define os2_ERROR_LABEL_TOO_LONG 154
261#define os2_ERROR_TOO_MANY_TCBS 155
262#define os2_ERROR_SIGNAL_REFUSED 156
263#define os2_ERROR_DISCARDED 157
264#define os2_ERROR_NOT_LOCKED 158
265#define os2_ERROR_BAD_THREADID_ADDR 159
266#define os2_ERROR_BAD_ARGUMENTS 160
267#define os2_ERROR_BAD_PATHNAME 161
268#define os2_ERROR_SIGNAL_PENDING 162
269#define os2_ERROR_UNCERTAIN_MEDIA 163
270#define os2_ERROR_MAX_THRDS_REACHED 164
271#define os2_ERROR_MONITORS_NOT_SUPPORTED 165
272#define os2_ERROR_UNC_DRIVER_NOT_INSTALLED 166
273#define os2_ERROR_LOCK_FAILED 167
274#define os2_ERROR_SWAPIO_FAILED 168
275#define os2_ERROR_SWAPIN_FAILED 169
276#define os2_ERROR_BUSY 170
277#define os2_ERROR_CANCEL_VIOLATION 173
278#define os2_ERROR_ATOMIC_LOCK_NOT_SUPPORTED 174
279#define os2_ERROR_READ_LOCKS_NOT_SUPPORTED 175
280#define os2_ERROR_INVALID_SEGMENT_NUMBER 180
281#define os2_ERROR_INVALID_CALLGATE 181
282#define os2_ERROR_INVALID_ORDINAL 182
283#define os2_ERROR_ALREADY_EXISTS 183
284#define os2_ERROR_NO_CHILD_PROCESS 184
285#define os2_ERROR_CHILD_ALIVE_NOWAIT 185
286#define os2_ERROR_INVALID_FLAG_NUMBER 186
287#define os2_ERROR_SEM_NOT_FOUND 187
288#define os2_ERROR_INVALID_STARTING_CODESEG 188
289#define os2_ERROR_INVALID_STACKSEG 189
290#define os2_ERROR_INVALID_MODULETYPE 190
291#define os2_ERROR_INVALID_EXE_SIGNATURE 191
292#define os2_ERROR_EXE_MARKED_INVALID 192
293#define os2_ERROR_BAD_EXE_FORMAT 193
294#define os2_ERROR_ITERATED_DATA_EXCEEDS_64K 194
295#define os2_ERROR_INVALID_MINALLOCSIZE 195
296#define os2_ERROR_DYNLINK_FROM_INVALID_RING 196
297#define os2_ERROR_IOPL_NOT_ENABLED 197
298#define os2_ERROR_INVALID_SEGDPL 198
299#define os2_ERROR_AUTODATASEG_EXCEEDS_64K 199
300#define os2_ERROR_RING2SEG_MUST_BE_MOVABLE 200
301#define os2_ERROR_RELOCSRC_CHAIN_EXCEEDS_SEGLIMIT 201
302#define os2_ERROR_INFLOOP_IN_RELOC_CHAIN 202
303#define os2_ERROR_ENVVAR_NOT_FOUND 203
304#define os2_ERROR_NOT_CURRENT_CTRY 204
305#define os2_ERROR_NO_SIGNAL_SENT 205
306#define os2_ERROR_FILENAME_EXCED_RANGE 206
307#define os2_ERROR_RING2_STACK_IN_USE 207
308#define os2_ERROR_META_EXPANSION_TOO_LONG 208
309#define os2_ERROR_INVALID_SIGNAL_NUMBER 209
310#define os2_ERROR_THREAD_1_INACTIVE 210
311#define os2_ERROR_INFO_NOT_AVAIL 211
312#define os2_ERROR_LOCKED 212
313#define os2_ERROR_BAD_DYNALINK 213
314#define os2_ERROR_TOO_MANY_MODULES 214
315#define os2_ERROR_NESTING_NOT_ALLOWED 215
316#define os2_ERROR_CANNOT_SHRINK 216
317#define os2_ERROR_ZOMBIE_PROCESS 217
318#define os2_ERROR_STACK_IN_HIGH_MEMORY 218
319#define os2_ERROR_INVALID_EXITROUTINE_RING 219
320#define os2_ERROR_GETBUF_FAILED 220
321#define os2_ERROR_FLUSHBUF_FAILED 221
322#define os2_ERROR_TRANSFER_TOO_LONG 222
323#define os2_ERROR_FORCENOSWAP_FAILED 223
324#define os2_ERROR_SMG_NO_TARGET_WINDOW 224
325#define os2_ERROR_NO_CHILDREN 228
326#define os2_ERROR_INVALID_SCREEN_GROUP 229
327#define os2_ERROR_BAD_PIPE 230
328#define os2_ERROR_PIPE_BUSY 231
329#define os2_ERROR_NO_DATA 232
330#define os2_ERROR_PIPE_NOT_CONNECTED 233
331#define os2_ERROR_MORE_DATA 234
332#define os2_ERROR_VC_DISCONNECTED 240
333#define os2_ERROR_CIRCULARITY_REQUESTED 250
334#define os2_ERROR_DIRECTORY_IN_CDS 251
335#define os2_ERROR_INVALID_FSD_NAME 252
336#define os2_ERROR_INVALID_PATH 253
337#define os2_ERROR_INVALID_EA_NAME 254
338#define os2_ERROR_EA_LIST_INCONSISTENT 255
339#define os2_ERROR_EA_LIST_TOO_LONG 256
340#define os2_ERROR_NO_META_MATCH 257
341#define os2_ERROR_FINDNOTIFY_TIMEOUT 258
342#define os2_ERROR_NO_MORE_ITEMS 259
343#define os2_ERROR_SEARCH_STRUC_REUSED 260
344#define os2_ERROR_CHAR_NOT_FOUND 261
345#define os2_ERROR_TOO_MUCH_STACK 262
346#define os2_ERROR_INVALID_ATTR 263
347#define os2_ERROR_INVALID_STARTING_RING 264
348#define os2_ERROR_INVALID_DLL_INIT_RING 265
349#define os2_ERROR_CANNOT_COPY 266
350#define os2_ERROR_DIRECTORY 267
351#define os2_ERROR_OPLOCKED_FILE 268
352#define os2_ERROR_OPLOCK_THREAD_EXISTS 269
353#define os2_ERROR_VOLUME_CHANGED 270
354#define os2_ERROR_FINDNOTIFY_HANDLE_IN_USE 271
355#define os2_ERROR_FINDNOTIFY_HANDLE_CLOSED 272
356#define os2_ERROR_NOTIFY_OBJECT_REMOVED 273
357#define os2_ERROR_ALREADY_SHUTDOWN 274
358#define os2_ERROR_EAS_DIDNT_FIT 275
359#define os2_ERROR_EA_FILE_CORRUPT 276
360#define os2_ERROR_EA_TABLE_FULL 277
361#define os2_ERROR_INVALID_EA_HANDLE 278
362#define os2_ERROR_NO_CLUSTER 279
363#define os2_ERROR_CREATE_EA_FILE 280
364#define os2_ERROR_CANNOT_OPEN_EA_FILE 281
365#define os2_ERROR_EAS_NOT_SUPPORTED 282
366#define os2_ERROR_NEED_EAS_FOUND 283
367#define os2_ERROR_DUPLICATE_HANDLE 284
368#define os2_ERROR_DUPLICATE_NAME 285
369#define os2_ERROR_EMPTY_MUXWAIT 286
370#define os2_ERROR_MUTEX_OWNED 287
371#define os2_ERROR_NOT_OWNER 288
372#define os2_ERROR_PARAM_TOO_SMALL 289
373#define os2_ERROR_TOO_MANY_HANDLES 290
374#define os2_ERROR_TOO_MANY_OPENS 291
375#define os2_ERROR_WRONG_TYPE 292
376#define os2_ERROR_UNUSED_CODE 293
377#define os2_ERROR_THREAD_NOT_TERMINATED 294
378#define os2_ERROR_INIT_ROUTINE_FAILED 295
379#define os2_ERROR_MODULE_IN_USE 296
380#define os2_ERROR_NOT_ENOUGH_WATCHPOINTS 297
381#define os2_ERROR_TOO_MANY_POSTS 298
382#define os2_ERROR_ALREADY_POSTED 299
383#define os2_ERROR_ALREADY_RESET 300
384#define os2_ERROR_SEM_BUSY 301
385#define os2_ERROR_INVALID_PROCID 303
386#define os2_ERROR_INVALID_PDELTA 304
387#define os2_ERROR_NOT_DESCENDANT 305
388#define os2_ERROR_NOT_SESSION_MANAGER 306
389#define os2_ERROR_INVALID_PCLASS 307
390#define os2_ERROR_INVALID_SCOPE 308
391#define os2_ERROR_INVALID_THREADID 309
392#define os2_ERROR_DOSSUB_SHRINK 310
393#define os2_ERROR_DOSSUB_NOMEM 311
394#define os2_ERROR_DOSSUB_OVERLAP 312
395#define os2_ERROR_DOSSUB_BADSIZE 313
396#define os2_ERROR_DOSSUB_BADFLAG 314
397#define os2_ERROR_DOSSUB_BADSELECTOR 315
398#define os2_ERROR_MR_MSG_TOO_LONG 316
399#define os2_ERROR_MR_MID_NOT_FOUND 317
400#define os2_ERROR_MR_UN_ACC_MSGF 318
401#define os2_ERROR_MR_INV_MSGF_FORMAT 319
402#define os2_ERROR_MR_INV_IVCOUNT 320
403#define os2_ERROR_MR_UN_PERFORM 321
404#define os2_ERROR_TS_WAKEUP 322
405#define os2_ERROR_TS_SEMHANDLE 323
406#define os2_ERROR_TS_NOTIMER 324
407#define os2_ERROR_TS_HANDLE 326
408#define os2_ERROR_TS_DATETIME 327
409#define os2_ERROR_SYS_INTERNAL 328
410#define os2_ERROR_QUE_CURRENT_NAME 329
411#define os2_ERROR_QUE_PROC_NOT_OWNED 330
412#define os2_ERROR_QUE_PROC_OWNED 331
413#define os2_ERROR_QUE_DUPLICATE 332
414#define os2_ERROR_QUE_ELEMENT_NOT_EXIST 333
415#define os2_ERROR_QUE_NO_MEMORY 334
416#define os2_ERROR_QUE_INVALID_NAME 335
417#define os2_ERROR_QUE_INVALID_PRIORITY 336
418#define os2_ERROR_QUE_INVALID_HANDLE 337
419#define os2_ERROR_QUE_LINK_NOT_FOUND 338
420#define os2_ERROR_QUE_MEMORY_ERROR 339
421#define os2_ERROR_QUE_PREV_AT_END 340
422#define os2_ERROR_QUE_PROC_NO_ACCESS 341
423#define os2_ERROR_QUE_EMPTY 342
424#define os2_ERROR_QUE_NAME_NOT_EXIST 343
425#define os2_ERROR_QUE_NOT_INITIALIZED 344
426#define os2_ERROR_QUE_UNABLE_TO_ACCESS 345
427#define os2_ERROR_QUE_UNABLE_TO_ADD 346
428#define os2_ERROR_QUE_UNABLE_TO_INIT 347
429#define os2_ERROR_VIO_INVALID_MASK 349
430#define os2_ERROR_VIO_PTR 350
431#define os2_ERROR_VIO_APTR 351
432#define os2_ERROR_VIO_RPTR 352
433#define os2_ERROR_VIO_CPTR 353
434#define os2_ERROR_VIO_LPTR 354
435#define os2_ERROR_VIO_MODE 355
436#define os2_ERROR_VIO_WIDTH 356
437#define os2_ERROR_VIO_ATTR 357
438#define os2_ERROR_VIO_ROW 358
439#define os2_ERROR_VIO_COL 359
440#define os2_ERROR_VIO_TOPROW 360
441#define os2_ERROR_VIO_BOTROW 361
442#define os2_ERROR_VIO_RIGHTCOL 362
443#define os2_ERROR_VIO_LEFTCOL 363
444#define os2_ERROR_SCS_CALL 364
445#define os2_ERROR_SCS_VALUE 365
446#define os2_ERROR_VIO_WAIT_FLAG 366
447#define os2_ERROR_VIO_UNLOCK 367
448#define os2_ERROR_SGS_NOT_SESSION_MGR 368
449#define os2_ERROR_SMG_INVALID_SGID 369
450#define os2_ERROR_SMG_INVALID_SESSION_ID 369 /*!*/
451#define os2_ERROR_SMG_NOSG 370
452#define os2_ERROR_SMG_NO_SESSIONS 370 /*!*/
453#define os2_ERROR_SMG_GRP_NOT_FOUND 371
454#define os2_ERROR_SMG_SESSION_NOT_FOUND 371 /*!*/
455#define os2_ERROR_SMG_SET_TITLE 372
456#define os2_ERROR_KBD_PARAMETER 373
457#define os2_ERROR_KBD_NO_DEVICE 374
458#define os2_ERROR_KBD_INVALID_IOWAIT 375
459#define os2_ERROR_KBD_INVALID_LENGTH 376
460#define os2_ERROR_KBD_INVALID_ECHO_MASK 377
461#define os2_ERROR_KBD_INVALID_INPUT_MASK 378
462#define os2_ERROR_MON_INVALID_PARMS 379
463#define os2_ERROR_MON_INVALID_DEVNAME 380
464#define os2_ERROR_MON_INVALID_HANDLE 381
465#define os2_ERROR_MON_BUFFER_TOO_SMALL 382
466#define os2_ERROR_MON_BUFFER_EMPTY 383
467#define os2_ERROR_MON_DATA_TOO_LARGE 384
468#define os2_ERROR_MOUSE_NO_DEVICE 385
469#define os2_ERROR_MOUSE_INV_HANDLE 386
470#define os2_ERROR_MOUSE_INV_PARMS 387
471#define os2_ERROR_MOUSE_CANT_RESET 388
472#define os2_ERROR_MOUSE_DISPLAY_PARMS 389
473#define os2_ERROR_MOUSE_INV_MODULE 390
474#define os2_ERROR_MOUSE_INV_ENTRY_PT 391
475#define os2_ERROR_MOUSE_INV_MASK 392
476#define os2_ERROR_INVALID_FREQUENCY 395
477#define os2_ERROR_NLS_NO_COUNTRY_FILE 396
478#define os2_ERROR_NLS_OPEN_FAILED 397
479#define os2_ERROR_NLS_NO_CTRY_CODE 398
480#define os2_ERROR_NLS_TABLE_TRUNCATED 399
481#define os2_ERROR_NLS_BAD_TYPE 400
482#define os2_ERROR_NLS_TYPE_NOT_FOUND 401
483#define os2_ERROR_VIO_SMG_ONLY 402
484#define os2_ERROR_VIO_INVALID_ASCIIZ 403
485#define os2_ERROR_VIO_DEREGISTER 404
486#define os2_ERROR_VIO_NO_POPUP 405
487#define os2_ERROR_VIO_EXISTING_POPUP 406
488#define os2_ERROR_KBD_SMG_ONLY 407
489#define os2_ERROR_KBD_INVALID_ASCIIZ 408
490#define os2_ERROR_KBD_INVALID_MASK 409
491#define os2_ERROR_KBD_REGISTER 410
492#define os2_ERROR_KBD_DEREGISTER 411
493#define os2_ERROR_MOUSE_SMG_ONLY 412
494#define os2_ERROR_MOUSE_INVALID_ASCIIZ 413
495#define os2_ERROR_MOUSE_INVALID_MASK 414
496#define os2_ERROR_MOUSE_REGISTER 415
497#define os2_ERROR_MOUSE_DEREGISTER 416
498#define os2_ERROR_SMG_BAD_ACTION 417
499#define os2_ERROR_SMG_INVALID_CALL 418
500#define os2_ERROR_SCS_SG_NOTFOUND 419
501#define os2_ERROR_SCS_NOT_SHELL 420
502#define os2_ERROR_VIO_INVALID_PARMS 421
503#define os2_ERROR_VIO_FUNCTION_OWNED 422
504#define os2_ERROR_VIO_RETURN 423
505#define os2_ERROR_SCS_INVALID_FUNCTION 424
506#define os2_ERROR_SCS_NOT_SESSION_MGR 425
507#define os2_ERROR_VIO_REGISTER 426
508#define os2_ERROR_VIO_NO_MODE_THREAD 427
509#define os2_ERROR_VIO_NO_SAVE_RESTORE_THD 428
510#define os2_ERROR_VIO_IN_BG 429
511#define os2_ERROR_VIO_ILLEGAL_DURING_POPUP 430
512#define os2_ERROR_SMG_NOT_BASESHELL 431
513#define os2_ERROR_SMG_BAD_STATUSREQ 432
514#define os2_ERROR_QUE_INVALID_WAIT 433
515#define os2_ERROR_VIO_LOCK 434
516#define os2_ERROR_MOUSE_INVALID_IOWAIT 435
517#define os2_ERROR_VIO_INVALID_HANDLE 436
518#define os2_ERROR_VIO_ILLEGAL_DURING_LOCK 437
519#define os2_ERROR_VIO_INVALID_LENGTH 438
520#define os2_ERROR_KBD_INVALID_HANDLE 439
521#define os2_ERROR_KBD_NO_MORE_HANDLE 440
522#define os2_ERROR_KBD_CANNOT_CREATE_KCB 441
523#define os2_ERROR_KBD_CODEPAGE_LOAD_INCOMPL 442
524#define os2_ERROR_KBD_INVALID_CODEPAGE_ID 443
525#define os2_ERROR_KBD_NO_CODEPAGE_SUPPORT 444
526#define os2_ERROR_KBD_FOCUS_REQUIRED 445
527#define os2_ERROR_KBD_FOCUS_ALREADY_ACTIVE 446
528#define os2_ERROR_KBD_KEYBOARD_BUSY 447
529#define os2_ERROR_KBD_INVALID_CODEPAGE 448
530#define os2_ERROR_KBD_UNABLE_TO_FOCUS 449
531#define os2_ERROR_SMG_SESSION_NON_SELECT 450
532#define os2_ERROR_SMG_SESSION_NOT_FOREGRND 451
533#define os2_ERROR_SMG_SESSION_NOT_PARENT 452
534#define os2_ERROR_SMG_INVALID_START_MODE 453
535#define os2_ERROR_SMG_INVALID_RELATED_OPT 454
536#define os2_ERROR_SMG_INVALID_BOND_OPTION 455
537#define os2_ERROR_SMG_INVALID_SELECT_OPT 456
538#define os2_ERROR_SMG_START_IN_BACKGROUND 457
539#define os2_ERROR_SMG_INVALID_STOP_OPTION 458
540#define os2_ERROR_SMG_BAD_RESERVE 459
541#define os2_ERROR_SMG_PROCESS_NOT_PARENT 460
542#define os2_ERROR_SMG_INVALID_DATA_LENGTH 461
543#define os2_ERROR_SMG_NOT_BOUND 462
544#define os2_ERROR_SMG_RETRY_SUB_ALLOC 463
545#define os2_ERROR_KBD_DETACHED 464
546#define os2_ERROR_VIO_DETACHED 465
547#define os2_ERROR_MOU_DETACHED 466
548#define os2_ERROR_VIO_FONT 467
549#define os2_ERROR_VIO_USER_FONT 468
550#define os2_ERROR_VIO_BAD_CP 469
551#define os2_ERROR_VIO_NO_CP 470
552#define os2_ERROR_VIO_NA_CP 471
553#define os2_ERROR_INVALID_CODE_PAGE 472
554#define os2_ERROR_CPLIST_TOO_SMALL 473
555#define os2_ERROR_CP_NOT_MOVED 474
556#define os2_ERROR_MODE_SWITCH_INIT 475
557#define os2_ERROR_CODE_PAGE_NOT_FOUND 476
558#define os2_ERROR_UNEXPECTED_SLOT_RETURNED 477
559#define os2_ERROR_SMG_INVALID_TRACE_OPTION 478
560#define os2_ERROR_VIO_INTERNAL_RESOURCE 479
561#define os2_ERROR_VIO_SHELL_INIT 480
562#define os2_ERROR_SMG_NO_HARD_ERRORS 481
563#define os2_ERROR_CP_SWITCH_INCOMPLETE 482
564#define os2_ERROR_VIO_TRANSPARENT_POPUP 483
565#define os2_ERROR_CRITSEC_OVERFLOW 484
566#define os2_ERROR_CRITSEC_UNDERFLOW 485
567#define os2_ERROR_VIO_BAD_RESERVE 486
568#define os2_ERROR_INVALID_ADDRESS 487
569#define os2_ERROR_ZERO_SELECTORS_REQUESTED 488
570#define os2_ERROR_NOT_ENOUGH_SELECTORS_AVA 489
571#define os2_ERROR_INVALID_SELECTOR 490
572#define os2_ERROR_SMG_INVALID_PROGRAM_TYPE 491
573#define os2_ERROR_SMG_INVALID_PGM_CONTROL 492
574#define os2_ERROR_SMG_INVALID_INHERIT_OPT 493
575#define os2_ERROR_VIO_EXTENDED_SG 494
576#define os2_ERROR_VIO_NOT_PRES_MGR_SG 495
577#define os2_ERROR_VIO_SHIELD_OWNED 496
578#define os2_ERROR_VIO_NO_MORE_HANDLES 497
579#define os2_ERROR_VIO_SEE_ERROR_LOG 498
580#define os2_ERROR_VIO_ASSOCIATED_DC 499
581#define os2_ERROR_KBD_NO_CONSOLE 500
582#define os2_ERROR_MOUSE_NO_CONSOLE 501
583#define os2_ERROR_MOUSE_INVALID_HANDLE 502
584#define os2_ERROR_SMG_INVALID_DEBUG_PARMS 503
585#define os2_ERROR_KBD_EXTENDED_SG 504
586#define os2_ERROR_MOU_EXTENDED_SG 505
587#define os2_ERROR_SMG_INVALID_ICON_FILE 506
588#define os2_ERROR_TRC_PID_NON_EXISTENT 507
589#define os2_ERROR_TRC_COUNT_ACTIVE 508
590#define os2_ERROR_TRC_SUSPENDED_BY_COUNT 509
591#define os2_ERROR_TRC_COUNT_INACTIVE 510
592#define os2_ERROR_TRC_COUNT_REACHED 511
593#define os2_ERROR_NO_MC_TRACE 512
594#define os2_ERROR_MC_TRACE 513
595#define os2_ERROR_TRC_COUNT_ZERO 514
596#define os2_ERROR_SMG_TOO_MANY_DDS 515
597#define os2_ERROR_SMG_INVALID_NOTIFICATION 516
598#define os2_ERROR_LF_INVALID_FUNCTION 517
599#define os2_ERROR_LF_NOT_AVAIL 518
600#define os2_ERROR_LF_SUSPENDED 519
601#define os2_ERROR_LF_BUF_TOO_SMALL 520
602#define os2_ERROR_LF_BUFFER_CORRUPTED 521
603#define os2_ERROR_LF_BUFFER_FULL 521 /*!*/
604#define os2_ERROR_LF_INVALID_DAEMON 522
605#define os2_ERROR_LF_INVALID_RECORD 522 /*!*/
606#define os2_ERROR_LF_INVALID_TEMPL 523
607#define os2_ERROR_LF_INVALID_SERVICE 523 /*!*/
608#define os2_ERROR_LF_GENERAL_FAILURE 524
609#define os2_ERROR_LF_INVALID_ID 525
610#define os2_ERROR_LF_INVALID_HANDLE 526
611#define os2_ERROR_LF_NO_ID_AVAIL 527
612#define os2_ERROR_LF_TEMPLATE_AREA_FULL 528
613#define os2_ERROR_LF_ID_IN_USE 529
614#define os2_ERROR_MOU_NOT_INITIALIZED 530
615#define os2_ERROR_MOUINITREAL_DONE 531
616#define os2_ERROR_DOSSUB_CORRUPTED 532
617#define os2_ERROR_MOUSE_CALLER_NOT_SUBSYS 533
618#define os2_ERROR_ARITHMETIC_OVERFLOW 534
619#define os2_ERROR_TMR_NO_DEVICE 535
620#define os2_ERROR_TMR_INVALID_TIME 536
621#define os2_ERROR_PVW_INVALID_ENTITY 537
622#define os2_ERROR_PVW_INVALID_ENTITY_TYPE 538
623#define os2_ERROR_PVW_INVALID_SPEC 539
624#define os2_ERROR_PVW_INVALID_RANGE_TYPE 540
625#define os2_ERROR_PVW_INVALID_COUNTER_BLK 541
626#define os2_ERROR_PVW_INVALID_TEXT_BLK 542
627#define os2_ERROR_PRF_NOT_INITIALIZED 543
628#define os2_ERROR_PRF_ALREADY_INITIALIZED 544
629#define os2_ERROR_PRF_NOT_STARTED 545
630#define os2_ERROR_PRF_ALREADY_STARTED 546
631#define os2_ERROR_PRF_TIMER_OUT_OF_RANGE 547
632#define os2_ERROR_PRF_TIMER_RESET 548
633#define os2_ERROR_VDD_LOCK_USEAGE_DENIED 639
634#define os2_ERROR_TIMEOUT 640
635#define os2_ERROR_VDM_DOWN 641
636#define os2_ERROR_VDM_LIMIT 642
637#define os2_ERROR_VDD_NOT_FOUND 643
638#define os2_ERROR_INVALID_CALLER 644
639#define os2_ERROR_PID_MISMATCH 645
640#define os2_ERROR_INVALID_VDD_HANDLE 646
641#define os2_ERROR_VLPT_NO_SPOOLER 647
642#define os2_ERROR_VCOM_DEVICE_BUSY 648
643#define os2_ERROR_VLPT_DEVICE_BUSY 649
644#define os2_ERROR_NESTING_TOO_DEEP 650
645#define os2_ERROR_VDD_MISSING 651
646#define os2_ERROR_BIDI_INVALID_LENGTH 671
647#define os2_ERROR_BIDI_INVALID_INCREMENT 672
648#define os2_ERROR_BIDI_INVALID_COMBINATION 673
649#define os2_ERROR_BIDI_INVALID_RESERVED 674
650#define os2_ERROR_BIDI_INVALID_EFFECT 675
651#define os2_ERROR_BIDI_INVALID_CSDREC 676
652#define os2_ERROR_BIDI_INVALID_CSDSTATE 677
653#define os2_ERROR_BIDI_INVALID_LEVEL 678
654#define os2_ERROR_BIDI_INVALID_TYPE_SUPPORT 679
655#define os2_ERROR_BIDI_INVALID_ORIENTATION 680
656#define os2_ERROR_BIDI_INVALID_NUM_SHAPE 681
657#define os2_ERROR_BIDI_INVALID_CSD 682
658#define os2_ERROR_BIDI_NO_SUPPORT 683
659#define os2_ERROR_IMP_INVALID_PARM 691
660#define os2_ERROR_IMP_INVALID_LENGTH 692
661#define os2_ERROR_MON_BAD_BUFFER 730
662#define os2_ERROR_MODULE_CORRUPTED 731
663#define os2_ERROR_SM_OUTOF_SWAPFILE 1477
664#define os2_ERROR_LF_TIMEOUT 2055
665#define os2_ERROR_LF_SUSPEND_SUCCESS 2057
666#define os2_ERROR_LF_RESUME_SUCCESS 2058
667#define os2_ERROR_LF_REDIRECT_SUCCESS 2059
668#define os2_ERROR_LF_REDIRECT_FAILURE 2060
669#define os2_ERROR_SWAPPER_NOT_ACTIVE 32768
670#define os2_ERROR_INVALID_SWAPID 32769
671#define os2_ERROR_IOERR_SWAP_FILE 32770
672#define os2_ERROR_SWAP_TABLE_FULL 32771
673#define os2_ERROR_SWAP_FILE_FULL 32772
674#define os2_ERROR_CANT_INIT_SWAPPER 32773
675#define os2_ERROR_SWAPPER_ALREADY_INIT 32774
676#define os2_ERROR_PMM_INSUFFICIENT_MEMORY 32775
677#define os2_ERROR_PMM_INVALID_FLAGS 32776
678#define os2_ERROR_PMM_INVALID_ADDRESS 32777
679#define os2_ERROR_PMM_LOCK_FAILED 32778
680#define os2_ERROR_PMM_UNLOCK_FAILED 32779
681#define os2_ERROR_PMM_MOVE_INCOMPLETE 32780
682#define os2_ERROR_UCOM_DRIVE_RENAMED 32781
683#define os2_ERROR_UCOM_FILENAME_TRUNCATED 32782
684#define os2_ERROR_UCOM_BUFFER_LENGTH 32783
685#define os2_ERROR_MON_CHAIN_HANDLE 32784
686#define os2_ERROR_MON_NOT_REGISTERED 32785
687#define os2_ERROR_SMG_ALREADY_TOP 32786
688#define os2_ERROR_PMM_ARENA_MODIFIED 32787
689#define os2_ERROR_SMG_PRINTER_OPEN 32788
690#define os2_ERROR_PMM_SET_FLAGS_FAILED 32789
691#define os2_ERROR_INVALID_DOS_DD 32790
692#define os2_ERROR_BLOCKED 32791
693#define os2_ERROR_NOBLOCK 32792
694#define os2_ERROR_INSTANCE_SHARED 32793
695#define os2_ERROR_NO_OBJECT 32794
696#define os2_ERROR_PARTIAL_ATTACH 32795
697#define os2_ERROR_INCACHE 32796
698#define os2_ERROR_SWAP_IO_PROBLEMS 32797
699#define os2_ERROR_CROSSES_OBJECT_BOUNDARY 32798
700#define os2_ERROR_LONGLOCK 32799
701#define os2_ERROR_SHORTLOCK 32800
702#define os2_ERROR_UVIRTLOCK 32801
703#define os2_ERROR_ALIASLOCK 32802
704#define os2_ERROR_ALIAS 32803
705#define os2_ERROR_NO_MORE_HANDLES 32804
706#define os2_ERROR_SCAN_TERMINATED 32805
707#define os2_ERROR_TERMINATOR_NOT_FOUND 32806
708#define os2_ERROR_NOT_DIRECT_CHILD 32807
709#define os2_ERROR_DELAY_FREE 32808
710#define os2_ERROR_GUARDPAGE 32809
711#define os2_ERROR_SWAPERROR 32900
712#define os2_ERROR_LDRERROR 32901
713#define os2_ERROR_NOMEMORY 32902
714#define os2_ERROR_NOACCESS 32903
715#define os2_ERROR_NO_DLL_TERM 32904
716#define os2_ERROR_CPSIO_CODE_PAGE_INVALID 65026
717#define os2_ERROR_CPSIO_NO_SPOOLER 65027
718#define os2_ERROR_CPSIO_FONT_ID_INVALID 65028
719#define os2_ERROR_CPSIO_INTERNAL_ERROR 65033
720#define os2_ERROR_CPSIO_INVALID_PTR_NAME 65034
721#define os2_ERROR_CPSIO_NOT_ACTIVE 65037
722#define os2_ERROR_CPSIO_PID_FULL 65039
723#define os2_ERROR_CPSIO_PID_NOT_FOUND 65040
724#define os2_ERROR_CPSIO_READ_CTL_SEQ 65043
725#define os2_ERROR_CPSIO_READ_FNT_DEF 65045
726#define os2_ERROR_CPSIO_WRITE_ERROR 65047
727#define os2_ERROR_CPSIO_WRITE_FULL_ERROR 65048
728#define os2_ERROR_CPSIO_WRITE_HANDLE_BAD 65049
729#define os2_ERROR_CPSIO_SWIT_LOAD 65074
730#define os2_ERROR_CPSIO_INV_COMMAND 65077
731#define os2_ERROR_CPSIO_NO_FONT_SWIT 65078
732#define os2_ERROR_ENTRY_IS_CALLGATE 65079
733#define os2_ERROR_USER_DEFINED_BASE 0xFF00
734#define os2_ERROR_I24_WRITE_PROTECT 0
735#define os2_ERROR_I24_BAD_UNIT 1
736#define os2_ERROR_I24_NOT_READY 2
737#define os2_ERROR_I24_BAD_COMMAND 3
738#define os2_ERROR_I24_CRC 4
739#define os2_ERROR_I24_BAD_LENGTH 5
740#define os2_ERROR_I24_SEEK 6
741#define os2_ERROR_I24_NOT_DOS_DISK 7
742#define os2_ERROR_I24_SECTOR_NOT_FOUND 8
743#define os2_ERROR_I24_OUT_OF_PAPER 9
744#define os2_ERROR_I24_WRITE_FAULT 10
745#define os2_ERROR_I24_READ_FAULT 11
746#define os2_ERROR_I24_GEN_FAILURE 12
747#define os2_ERROR_I24_DISK_CHANGE 13
748#define os2_ERROR_I24_WRONG_DISK 15
749#define os2_ERROR_I24_UNCERTAIN_MEDIA 16
750#define os2_ERROR_I24_CHAR_CALL_INTERRUPTED 17
751#define os2_ERROR_I24_NO_MONITOR_SUPPORT 18
752#define os2_ERROR_I24_INVALID_PARAMETER 19
753#define os2_ERROR_I24_DEVICE_IN_USE 20
754#define os2_ERROR_I24_QUIET_INIT_FAIL 21
755#define _PANOSE os2__PANOSE
756#define PANOSE os2_PANOSE
757#define _FONTMETRICS os2__FONTMETRICS
758#define FONTMETRICS os2_FONTMETRICS
759#define PFONTMETRICS os2_PFONTMETRICS
760#define _FATTRS os2__FATTRS
761#define FATTRS os2_FATTRS
762#define PFATTRS os2_PFATTRS
763#define os2_PAG_READ 0x0001
764#define os2_PAG_WRITE 0x0002
765#define os2_PAG_EXECUTE 0x0004
766#define os2_PAG_GUARD 0x0008
767#define os2_PAG_COMMIT 0x0010
768#define os2_PAG_DECOMMIT 0x0020
769#define os2_OBJ_TILE 0x0040
770#define os2_OBJ_PROTECTED 0x0080
771#define os2_OBJ_GETTABLE 0x0100
772#define os2_OBJ_GIVEABLE 0x0200
773#define os2_OBJ_ANY 0x0400
774#define os2_OBJ_SELMAPALL 0x0800
775#define os2_PAG_DEFAULT 0x0400
776#define os2_PAG_SHARED 0x2000
777#define os2_PAG_FREE 0x4000
778#define os2_PAG_BASE 0x00010000
779#define os2_PAG_NPOUT 0x0000
780#define os2_PAG_PRESENT 0x0001
781#define os2_PAG_NPIN 0x0002
782#define os2_PAG_PRESMASK 0x0003
783#define os2_PAG_INVALID 0x0000
784#define os2_PAG_RESIDENT 0x0010
785#define os2_PAG_SWAPPABLE 0x0020
786#define os2_PAG_DISCARDABLE 0x0030
787#define os2_PAG_TYPEMASK 0x0030
788#define os2_fPERM (os2_PAG_EXECUTE | os2_PAG_READ | os2_PAG_WRITE)
789#define os2_fSHARE (os2_OBJ_GETTABLE | os2_OBJ_GIVEABLE)
790#define os2_fALLOC (fPERM | os2_OBJ_TILE | os2_PAG_COMMIT)
791#define os2_fALLOCSHR (fPERM | fSHARE | os2_OBJ_TILE | os2_PAG_COMMIT)
792#define os2_fSET (fPERM|os2_PAG_COMMIT|os2_PAG_DECOMMIT|os2_PAG_DEFAULT)
793#define os2_CCHMAXPATH 260
794#define os2_CCHMAXPATHCOMP 256
795#define os2_FILE_BEGIN 0
796#define os2_FILE_CURRENT 1
797#define os2_FILE_END 2
798#define os2_FILE_SECTOR 0x8000
799#define os2_FILE_NORMAL 0x0000
800#define os2_FILE_READONLY 0x0001
801#define os2_FILE_HIDDEN 0x0002
802#define os2_FILE_SYSTEM 0x0004
803#define os2_FILE_DIRECTORY 0x0010
804#define os2_FILE_ARCHIVED 0x0020
805#define os2_FILE_IGNORE 0x10000
806#define os2_FILE_EXISTED 0x0001
807#define os2_FILE_CREATED 0x0002
808#define os2_FILE_TRUNCATED 0x0003
809#define os2_FILE_OPEN 0x0001
810#define os2_FILE_TRUNCATE 0x0002
811#define os2_FILE_CREATE 0x0010
812#define os2_MUST_HAVE_READONLY (os2_FILE_READONLY | (os2_FILE_READONLY << 8))
813#define os2_MUST_HAVE_HIDDEN (os2_FILE_HIDDEN | (os2_FILE_HIDDEN << 8))
814#define os2_MUST_HAVE_SYSTEM (os2_FILE_SYSTEM | (os2_FILE_SYSTEM << 8))
815#define os2_MUST_HAVE_DIRECTORY (os2_FILE_DIRECTORY | (os2_FILE_DIRECTORY << 8))
816#define os2_MUST_HAVE_ARCHIVED (os2_FILE_ARCHIVED | (os2_FILE_ARCHIVED << 8))
817#define HFILE os2_HFILE
818#define PHFILE os2_PHFILE
819#define FHLOCK os2_FHLOCK
820#define PFHLOCK os2_PFHLOCK
821#define HDIR os2_HDIR
822#define PHDIR os2_PHDIR
823#define _FTIME os2__FTIME
824#define FTIME os2_FTIME
825#define _FTIME os2__FTIME
826#define FTIME os2_FTIME
827#define PFTIME os2_PFTIME
828#define _FDATE os2__FDATE
829#define FDATE os2_FDATE
830#define _FDATE os2__FDATE
831#define FDATE os2_FDATE
832#define PFDATE os2_PFDATE
833#define _FEA os2__FEA
834#define FEA os2_FEA
835#define PFEA os2_PFEA
836#define _FEALIST os2__FEALIST
837#define FEALIST os2_FEALIST
838#define PFEALIST os2_PFEALIST
839#define _GEA os2__GEA
840#define GEA os2_GEA
841#define PGEA os2_PGEA
842#define _GEALIST os2__GEALIST
843#define GEALIST os2_GEALIST
844#define PGEALIST os2_PGEALIST
845#define _EAOP os2__EAOP
846#define EAOP os2_EAOP
847#define PEAOP os2_PEAOP
848#define _FEA2 os2__FEA2
849#define FEA2 os2_FEA2
850#define PFEA2 os2_PFEA2
851#define _FEA2LIST os2__FEA2LIST
852#define FEA2LIST os2_FEA2LIST
853#define PFEA2LIST os2_PFEA2LIST
854#define _GEA2 os2__GEA2
855#define GEA2 os2_GEA2
856#define PGEA2 os2_PGEA2
857#define _GEA2LIST os2__GEA2LIST
858#define GEA2LIST os2_GEA2LIST
859#define PGEA2LIST os2_PGEA2LIST
860#define _EAOP2 os2__EAOP2
861#define EAOP2 os2_EAOP2
862#define PEAOP2 os2_PEAOP2
863#define _DENA1 os2__DENA1
864#define DENA1 os2_DENA1
865#define PDENA1 os2_PDENA1
866#define DENA2 os2_DENA2
867#define PDENA2 os2_PDENA2
868#define _EASIZEBUF os2__EASIZEBUF
869#define EASIZEBUF os2_EASIZEBUF
870#define PEASIZEBUF os2_PEASIZEBUF
871#define _ROUTENAMEBUF os2__ROUTENAMEBUF
872#define ROUTENAMEBUF os2_ROUTENAMEBUF
873#define PROUTENAMEBUF os2_PROUTENAMEBUF
874#define _FSDTHREAD os2__FSDTHREAD
875#define FSDTHREAD os2_FSDTHREAD
876#define _FSDDAEMON os2__FSDDAEMON
877#define FSDDAEMON os2_FSDDAEMON
878#define _FILEFINDBUF os2__FILEFINDBUF
879#define FILEFINDBUF os2_FILEFINDBUF
880#define PFILEFINDBUF os2_PFILEFINDBUF
881#define _FILEFINDBUF2 os2__FILEFINDBUF2
882#define FILEFINDBUF2 os2_FILEFINDBUF2
883#define PFILEFINDBUF2 os2_PFILEFINDBUF2
884#define _FILEFINDBUF3 os2__FILEFINDBUF3
885#define FILEFINDBUF3 os2_FILEFINDBUF3
886#define PFILEFINDBUF3 os2_PFILEFINDBUF3
887#define _FILEFINDBUF4 os2__FILEFINDBUF4
888#define FILEFINDBUF4 os2_FILEFINDBUF4
889#define PFILEFINDBUF4 os2_PFILEFINDBUF4
890#define _FILEFINDBUF3L os2__FILEFINDBUF3L
891#define FILEFINDBUF3L os2_FILEFINDBUF3L
892#define PFILEFINDBUF3L os2_PFILEFINDBUF3L
893#define _FILEFINDBUF4L os2__FILEFINDBUF4L
894#define FILEFINDBUF4L os2_FILEFINDBUF4L
895#define PFILEFINDBUF4L os2_PFILEFINDBUF4L
896#define _FILELOCK os2__FILELOCK
897#define FILELOCK os2_FILELOCK
898#define PFILELOCK os2_PFILELOCK
899#define _FILELOCKL os2__FILELOCKL
900#define FILELOCKL os2_FILELOCKL
901#define PFILELOCKL os2_PFILELOCKL
902#define _FILESTATUS os2__FILESTATUS
903#define FILESTATUS os2_FILESTATUS
904#define PFILESTATUS os2_PFILESTATUS
905#define _FILESTATUS2 os2__FILESTATUS2
906#define FILESTATUS2 os2_FILESTATUS2
907#define PFILESTATUS2 os2_PFILESTATUS2
908#define _FILESTATUS3 os2__FILESTATUS3
909#define FILESTATUS3 os2_FILESTATUS3
910#define PFILESTATUS3 os2_PFILESTATUS3
911#define _FILESTATUS4 os2__FILESTATUS4
912#define FILESTATUS4 os2_FILESTATUS4
913#define PFILESTATUS4 os2_PFILESTATUS4
914#define _FILESTATUS3L os2__FILESTATUS3L
915#define FILESTATUS3L os2_FILESTATUS3L
916#define PFILESTATUS3L os2_PFILESTATUS3L
917#define _FILESTATUS4L os2__FILESTATUS4L
918#define FILESTATUS4L os2_FILESTATUS4L
919#define PFILESTATUS4L os2_PFILESTATUS4L
920#define _FSALLOCATE os2__FSALLOCATE
921#define FSALLOCATE os2_FSALLOCATE
922#define PFSALLOCATE os2_PFSALLOCATE
923#define _FSQBUFFER os2__FSQBUFFER
924#define FSQBUFFER os2_FSQBUFFER
925#define PFSQBUFFER os2_PFSQBUFFER
926#define _FSQBUFFER2 os2__FSQBUFFER2
927#define FSQBUFFER2 os2_FSQBUFFER2
928#define PFSQBUFFER2 os2_PFSQBUFFER2
929#define _SPOOLATTACH os2__SPOOLATTACH
930#define SPOOLATTACH os2_SPOOLATTACH
931#define PSPOOLATTACH os2_PSPOOLATTACH
932#define _VOLUMELABEL os2__VOLUMELABEL
933#define VOLUMELABEL os2_VOLUMELABEL
934#define PVOLUMELABEL os2_PVOLUMELABEL
935#define _FSINFO os2__FSINFO
936#define FSINFO os2_FSINFO
937#define PFSINFO os2_PFSINFO
938#define _LISTIO_CB os2__LISTIO_CB
939#define LISTIO os2_LISTIO
940#define PLISTIO os2_PLISTIO
941#define _LISTIO_CBL os2__LISTIO_CBL
942#define LISTIOL os2_LISTIOL
943#define PLISTIOL os2_PLISTIOL
944#define os2_ERROR_OCCURRED 0x0080
945#define _DCBINFO os2__DCBINFO
946#define DCBINFO os2_DCBINFO
947#define PDCBINFO os2_PDCBINFO
948#define _LINECONTROL os2__LINECONTROL
949#define LINECONTROL os2_LINECONTROL
950#define PLINECONTROL os2_PLINECONTROL
951#define _MODEMSTATUS os2__MODEMSTATUS
952#define MODEMSTATUS os2_MODEMSTATUS
953#define PMODEMSTATUS os2_PMODEMSTATUS
954#define _KBDTYPE os2__KBDTYPE
955#define KBDTYPE os2_KBDTYPE
956#define PKBDTYPE os2_PKBDTYPE
957#define _RATEDELAY os2__RATEDELAY
958#define RATEDELAY os2_RATEDELAY
959#define PRATEDELAY os2_PRATEDELAY
960#define _CODEPAGEINFO os2__CODEPAGEINFO
961#define CODEPAGEINFO os2_CODEPAGEINFO
962#define PCODEPAGEINFO os2_PCODEPAGEINFO
963#define _CPID os2__CPID
964#define CPID os2_CPID
965#define PCPID os2_PCPID
966#define _SHIFTSTATE os2__SHIFTSTATE
967#define SHIFTSTATE os2_SHIFTSTATE
968#define PSHIFTSTATE os2_PSHIFTSTATE
969#define _HOTKEY os2__HOTKEY
970#define HOTKEY os2_HOTKEY
971#define PHOTKEY os2_PHOTKEY
972#define _PTRDRAWFUNCTION os2__PTRDRAWFUNCTION
973#define PTRDRAWFUNCTION os2_PTRDRAWFUNCTION
974#define PPTRDRAWFUNCTION os2_PPTRDRAWFUNCTION
975#define _PTRDRAWADDRESS os2__PTRDRAWADDRESS
976#define PTRDRAWADDRESS os2_PTRDRAWADDRESS
977#define PPTRDRAWADDRESS os2_PPTRDRAWADDRESS
978#define _PTRDRAWDATA os2__PTRDRAWDATA
979#define PTRDRAWDATA os2_PTRDRAWDATA
980#define PPTRDRAWDATA os2_PPTRDRAWDATA
981#define _TRACKLAYOUT os2__TRACKLAYOUT
982#define TRACKLAYOUT os2_TRACKLAYOUT
983#define PTRACKLAYOUT os2_PTRACKLAYOUT
984#define _TRACKFORMAT os2__TRACKFORMAT
985#define TRACKFORMAT os2_TRACKFORMAT
986#define PTRACKFORMAT os2_PTRACKFORMAT
987#define _BIOSPARAMETERBLOCK os2__BIOSPARAMETERBLOCK
988#define BIOSPARAMETERBLOCK os2_BIOSPARAMETERBLOCK
989#define PBIOSPARAMETERBLOCK os2_PBIOSPARAMETERBLOCK
990#define _DEVICEPARAMETERBLOCK os2__DEVICEPARAMETERBLOCK
991#define DEVICEPARAMETERBLOCK os2_DEVICEPARAMETERBLOCK
992#define PDEVICEPARAMETERBLOCK os2_PDEVICEPARAMETERBLOCK
993#define _MONITORPOSITION os2__MONITORPOSITION
994#define MONITORPOSITION os2_MONITORPOSITION
995#define PMONITORPOSITION os2_PMONITORPOSITION
996#define _FRAME os2__FRAME
997#define FRAME os2_FRAME
998#define PFRAME os2_PFRAME
999#define _LDTADDRINFO os2__LDTADDRINFO
1000#define LDTADDRINFO os2_LDTADDRINFO
1001#define PLDTADDRINFO os2_PLDTADDRINFO
1002#define _SCREENGROUP os2__SCREENGROUP
1003#define SCREENGROUP os2_SCREENGROUP
1004#define PSCREENGROUP os2_PSCREENGROUP
1005#define _RXQUEUE os2__RXQUEUE
1006#define RXQUEUE os2_RXQUEUE
1007#define PRXQUEUE os2_PRXQUEUE
1008#define _GETLINIOCTLDATA os2__GETLINIOCTLDATA
1009#define GETLINIOCTLDATA os2_GETLINIOCTLDATA
1010#define PGETLINIOCTLDATA os2_PGETLINIOCTLDATA
1011#define _BANKINFO os2__BANKINFO
1012#define BANKINFO os2_BANKINFO
1013#define _GLOBALIOCTLDATA os2__GLOBALIOCTLDATA
1014#define GLOBALIOCTLDATA os2_GLOBALIOCTLDATA
1015#define _OEMSVGAINFO os2__OEMSVGAINFO
1016#define OEMSVGAINFO os2_OEMSVGAINFO
1017#define _OEMINFO os2__OEMINFO
1018#define OEMINFO os2_OEMINFO
1019#define _GETGLOBALPACKET os2__GETGLOBALPACKET
1020#define GETGLOBALPACKET os2_GETGLOBALPACKET
1021#define _COUNTRYCODE os2__COUNTRYCODE
1022#define COUNTRYCODE os2_COUNTRYCODE
1023#define PCOUNTRYCODE os2_PCOUNTRYCODE
1024#define _COUNTRYINFO os2__COUNTRYINFO
1025#define COUNTRYINFO os2_COUNTRYINFO
1026#define PCOUNTRYINFO os2_PCOUNTRYINFO
1027#define os2_RT_POINTER 1
1028#define os2_RT_BITMAP 2
1029#define os2_RT_MENU 3
1030#define os2_RT_DIALOG 4
1031#define os2_RT_STRING 5
1032#define os2_RT_FONTDIR 6
1033#define os2_RT_FONT 7
1034#define os2_RT_ACCELTABLE 8
1035#define os2_RT_RCDATA 9
1036#define os2_RT_MESSAGE 10
1037#define os2_RT_DLGINCLUDE 11
1038#define os2_RT_VKEYTBL 12
1039#define os2_RT_KEYTBL 13
1040#define os2_RT_CHARTBL 14
1041#define os2_RT_DISPLAYINFO 15
1042#define os2_RT_FKASHORT 16
1043#define os2_RT_FKALONG 17
1044#define os2_RT_HELPTABLE 18
1045#define os2_RT_HELPSUBTABLE 19
1046#define os2_RT_FDDIR 20
1047#define os2_RT_FD 21
1048#define os2_RT_MAX 22
1049#define os2_RT_RESNAMES 255
1050#define os2_CREATE_READY 0
1051#define os2_CREATE_SUSPENDED 1
1052#define os2_EXLST_ADD 1
1053#define os2_EXLST_REMOVE 2
1054#define os2_EXLST_EXIT 3
1055#define _RESULTCODES os2__RESULTCODES
1056#define RESULTCODES os2_RESULTCODES
1057#define PRESULTCODES os2_PRESULTCODES
1058#define tib2_s os2_tib2_s
1059#define TIB2 os2_TIB2
1060#define PTIB2 os2_PTIB2
1061#define tib_s os2_tib_s
1062#define TIB os2_TIB
1063#define PTIB os2_PTIB
1064#define pib_s os2_pib_s
1065#define PIB os2_PIB
1066#define PPIB os2_PPIB
1067#define PFNTHREAD os2_PFNTHREAD
1068#define PFNEXITLIST os2_PFNEXITLIST
1069#define _MPAFFINITY os2__MPAFFINITY
1070#define MPAFFINITY os2_MPAFFINITY
1071#define PMPAFFINITY os2_PMPAFFINITY
1072#define _THREADCREATE os2__THREADCREATE
1073#define THREADCREATE os2_THREADCREATE
1074#define PTHREADCREATE os2_PTHREADCREATE
1075#define _STARTDATA os2__STARTDATA
1076#define STARTDATA os2_STARTDATA
1077#define PSTARTDATA os2_PSTARTDATA
1078#define _STATUSDATA os2__STATUSDATA
1079#define STATUSDATA os2_STATUSDATA
1080#define PSTATUSDATA os2_PSTATUSDATA
1081#define os2_SEM_INDEFINITE_WAIT ((os2_ULONG)-1)
1082#define os2_SEM_IMMEDIATE_RETURN 0
1083#define HEV os2_HEV
1084#define PHEV os2_PHEV
1085#define _PSEMRECORD os2__PSEMRECORD
1086#define SEMRECORD os2_SEMRECORD
1087#define PSEMRECORD os2_PSEMRECORD
1088#define os2_NP_INDEFINITE_WAIT ((os2_ULONG)-1)
1089#define os2_NP_DEFAULT_WAIT 0
1090#define os2_NP_STATE_DISCONNECTED 1
1091#define os2_NP_STATE_LISTENING 2
1092#define os2_NP_STATE_CONNECTED 3
1093#define os2_NP_STATE_CLOSING 4
1094#define os2_NP_ACCESS_INBOUND 0x0000
1095#define os2_NP_ACCESS_OUTBOUND 0x0001
1096#define os2_NP_ACCESS_DUPLEX 0x0002
1097#define os2_NP_INHERIT 0x0000
1098#define os2_NP_NOINHERIT 0x0080
1099#define os2_NP_WRITEBEHIND 0x0000
1100#define os2_NP_NOWRITEBEHIND 0x4000
1101#define os2_NP_READMODE_BYTE 0x0000
1102#define os2_NP_READMODE_MESSAGE 0x0100
1103#define os2_NP_TYPE_BYTE 0x0000
1104#define os2_NP_TYPE_MESSAGE 0x0400
1105#define os2_NP_END_CLIENT 0x0000
1106#define os2_NP_END_SERVER 0x4000
1107#define os2_NP_WAIT 0x0000
1108#define os2_NP_NOWAIT 0x8000
1109#define os2_NP_UNLIMITED_INSTANCES 0x00ff
1110#define os2_NP_NBLK os2_NP_NOWAIT
1111#define os2_NP_SERVER os2_NP_END_SERVER
1112#define os2_NP_WMESG os2_NP_TYPE_MESSAGE
1113#define os2_NP_RMESG os2_NP_READMODE_MESSAGE
1114#define os2_NP_ICOUNT 0x00ff
1115#define _AVAILDATA os2__AVAILDATA
1116#define AVAILDATA os2_AVAILDATA
1117#define PAVAILDATA os2_PAVAILDATA
1118#define _PIPEINFO os2__PIPEINFO
1119#define PIPEINFO os2_PIPEINFO
1120#define PPIPEINFO os2_PPIPEINFO
1121#define _PIPESEMSTATE os2__PIPESEMSTATE
1122#define PIPESEMSTATE os2_PIPESEMSTATE
1123#define PPIPESEMSTATE os2_PPIPESEMSTATE
1124#define _REQUESTDATA os2__REQUESTDATA
1125#define REQUESTDATA os2_REQUESTDATA
1126#define PREQUESTDATA os2_PREQUESTDATA
1127#define os2_CONTEXT_CONTROL 0x0001
1128#define os2_CONTEXT_INTEGER 0x0002
1129#define os2_CONTEXT_SEGMENTS 0x0004
1130#define os2_CONTEXT_FLOATING_POINT 0x0008
1131#define os2_CONTEXT_FULL (os2_CONTEXT_CONTROL | os2_CONTEXT_INTEGER | \
1132 os2_CONTEXT_SEGMENTS | os2_CONTEXT_FLOATING_POINT)
1133#define os2_EH_NONCONTINUABLE 0x0001
1134#define os2_EH_UNWINDING 0x0002
1135#define os2_EH_EXIT_UNWIND 0x0004
1136#define os2_EH_STACK_INVALID 0x0008
1137#define os2_EH_NESTED_CALL 0x0010
1138#define os2_XCPT_CONTINUE_SEARCH 0x00000000
1139#define os2_XCPT_CONTINUE_EXECUTION 0xffffffff
1140#define os2_XCPT_CONTINUE_STOP 0x00716668
1141#define os2_XCPT_SIGNAL_INTR 1
1142#define os2_XCPT_SIGNAL_KILLPROC 3
1143#define os2_XCPT_SIGNAL_BREAK 4
1144#define os2_XCPT_SIGNAL_APTERM 8
1145#define os2_XCPT_FATAL_EXCEPTION 0xc0000000
1146#define os2_XCPT_SEVERITY_CODE 0xc0000000
1147#define os2_XCPT_CUSTOMER_CODE 0x20000000
1148#define os2_XCPT_FACILITY_CODE 0x1fff0000
1149#define os2_XCPT_EXCEPTION_CODE 0x0000ffff
1150#define os2_XCPT_UNKNOWN_ACCESS 0x00000000
1151#define os2_XCPT_READ_ACCESS 0x00000001
1152#define os2_XCPT_WRITE_ACCESS 0x00000002
1153#define os2_XCPT_EXECUTE_ACCESS 0x00000004
1154#define os2_XCPT_SPACE_ACCESS 0x00000008
1155#define os2_XCPT_LIMIT_ACCESS 0x00000010
1156#define os2_XCPT_DATA_UNKNOWN 0xffffffff
1157#define os2_XCPT_GUARD_PAGE_VIOLATION 0x80000001
1158#define os2_XCPT_UNABLE_TO_GROW_STACK 0x80010001
1159#define os2_XCPT_ACCESS_VIOLATION 0xc0000005
1160#define os2_XCPT_IN_PAGE_ERROR 0xc0000006
1161#define os2_XCPT_ILLEGAL_INSTRUCTION 0xc000001c
1162#define os2_XCPT_INVALID_LOCK_SEQUENCE 0xc000001d
1163#define os2_XCPT_NONCONTINUABLE_EXCEPTION 0xc0000024
1164#define os2_XCPT_INVALID_DISPOSITION 0xc0000025
1165#define os2_XCPT_UNWIND 0xc0000026
1166#define os2_XCPT_BAD_STACK 0xc0000027
1167#define os2_XCPT_INVALID_UNWIND_TARGET 0xc0000028
1168#define os2_XCPT_ARRAY_BOUNDS_EXCEEDED 0xc0000093
1169#define os2_XCPT_FLOAT_DENORMAL_OPERAND 0xc0000094
1170#define os2_XCPT_FLOAT_DIVIDE_BY_ZERO 0xc0000095
1171#define os2_XCPT_FLOAT_INEXACT_RESULT 0xc0000096
1172#define os2_XCPT_FLOAT_INVALID_OPERATION 0xc0000097
1173#define os2_XCPT_FLOAT_OVERFLOW 0xc0000098
1174#define os2_XCPT_FLOAT_STACK_CHECK 0xc0000099
1175#define os2_XCPT_FLOAT_UNDERFLOW 0xc000009a
1176#define os2_XCPT_INTEGER_DIVIDE_BY_ZERO 0xc000009b
1177#define os2_XCPT_INTEGER_OVERFLOW 0xc000009c
1178#define os2_XCPT_PRIVILEGED_INSTRUCTION 0xc000009d
1179#define os2_XCPT_DATATYPE_MISALIGNMENT 0xc000009e
1180#define os2_XCPT_BREAKPOINT 0xc000009f
1181#define os2_XCPT_SINGLE_STEP 0xc00000a0
1182#define os2_XCPT_PROCESS_TERMINATE 0xc0010001
1183#define os2_XCPT_ASYNC_PROCESS_TERMINATE 0xc0010002
1184#define os2_XCPT_SIGNAL 0xc0010003
1185#define os2_XCPT_B1NPX_ERRATA_02 0xC0010004
1186#define _fpreg os2__fpreg
1187#define FPREG os2_FPREG
1188#define PFPREG os2_PFPREG
1189#define _CONTEXT os2__CONTEXT
1190#define CONTEXTRECORD os2_CONTEXTRECORD
1191#define PCONTEXTRECORD os2_PCONTEXTRECORD
1192#define os2_EXCEPTION_MAXIMUM_PARAMETERS 4
1193#define _EXCEPTIONREPORTRECORD os2__EXCEPTIONREPORTRECORD
1194#define EXCEPTIONREPORTRECORD os2_EXCEPTIONREPORTRECORD
1195#define PEXCEPTIONREPORTRECORD os2_PEXCEPTIONREPORTRECORD
1196#define ERR os2_ERR
1197#define _EXCEPTIONREGISTRATIONRECORD os2__EXCEPTIONREGISTRATIONRECORD
1198#define EXCEPTIONREGISTRATIONRECORD os2_EXCEPTIONREGISTRATIONRECORD
1199#define PEXCEPTIONREGISTRATIONRECORD os2_PEXCEPTIONREGISTRATIONRECORD
1200#define os2_QSV_MAX_PATH_LENGTH 1
1201#define os2_QSV_MAX_TEXT_SESSIONS 2
1202#define os2_QSV_MAX_PM_SESSIONS 3
1203#define os2_QSV_MAX_VDM_SESSIONS 4
1204#define os2_QSV_BOOT_DRIVE 5
1205#define os2_QSV_DYN_PRI_VARIATION 6
1206#define os2_QSV_MAX_WAIT 7
1207#define os2_QSV_MIN_SLICE 8
1208#define os2_QSV_MAX_SLICE 9
1209#define os2_QSV_PAGE_SIZE 10
1210#define os2_QSV_VERSION_MAJOR 11
1211#define os2_QSV_VERSION_MINOR 12
1212#define os2_QSV_VERSION_REVISION 13
1213#define os2_QSV_MS_COUNT 14
1214#define os2_QSV_TIME_LOW 15
1215#define os2_QSV_TIME_HIGH 16
1216#define os2_QSV_TOTPHYSMEM 17
1217#define os2_QSV_TOTRESMEM 18
1218#define os2_QSV_TOTAVAILMEM 19
1219#define os2_QSV_MAXPRMEM 20
1220#define os2_QSV_MAXSHMEM 21
1221#define os2_QSV_TIMER_INTERVAL 22
1222#define os2_QSV_MAX_COMP_LENGTH 23
1223#define os2_QSV_FOREGROUND_FS_SESSION 24
1224#define os2_QSV_FOREGROUND_PROCESS 25
1225#define os2_QSV_NUMPROCESSORS 26
1226#define os2_QSV_MAXHPRMEM 27
1227#define os2_QSV_MAXHSHMEM 28
1228#define os2_QSV_MAXPROCESSES 29
1229#define os2_QSV_VIRTUALADDRESSLIMIT 30
1230#define os2_QSV_INT10ENABLED 31
1231#define os2_QSV_MAX os2_QSV_INT10ENABLED
1232#define os2_SIS_MMIOADDR 0
1233#define os2_SIS_MEC_TABLE 1
1234#define os2_SIS_SYS_LOG 2
1235#define os2_SIS_PERF_MEC_TABLE 3
1236#define _DATETIME os2__DATETIME
1237#define DATETIME os2_DATETIME
1238#define PDATETIME os2_PDATETIME
1239#define HTIMER os2_HTIMER
1240#define PHTIMER os2_PHTIMER
1241#define os2_PADSHORT os2_USHORT pad_sh
1242#define os2_PADCHAR os2_UCHAR pad_ch
1243#define os2_QS_PROCESS 0x0001
1244#define os2_QS_SEMAPHORE 0x0002
1245#define os2_QS_MTE 0x0004
1246#define os2_QS_FILESYS 0x0008
1247#define os2_QS_SHMEMORY 0x0010
1248#define os2_QS_DISK 0x0020
1249#define os2_QS_HWCONFIG 0x0040
1250#define os2_QS_NAMEDPIPE 0x0080
1251#define os2_QS_THREAD 0x0100
1252#define os2_QS_MODVER 0x0200
1253#define os2_QS_SUPPORTED (os2_QS_PROCESS|os2_QS_SEMAPHORE|os2_QS_MTE|os2_QS_FILESYS|os2_QS_SHMEMORY|os2_QS_MODVER)
1254#define os2_QS_END 0L
1255#define os2_QS_SYSSEM_WAITING 0x01
1256#define os2_QS_SYSSEM_MUXWAITING 0x02
1257#define os2_QS_SYSSEM_OWNER_DIED 0x04
1258#define os2_QS_SYSSEM_EXCLUSIVE 0x08
1259#define os2_QS_SYSSEM_NAME_CLEANUP 0x10
1260#define os2_QS_SYSSEM_THREAD_OWNER_DIED 0x20
1261#define os2_QS_SYSSEM_EXITLIST_OWNER 0x40
1262#define os2_QS_DC_SEM_SHARED 0x0001
1263#define os2_QS_DCMW_WAIT_ANY 0x0002
1264#define os2_QS_DCMW_WAIT_ALL 0x0004
1265#define os2_QS_DCM_MUTEX_SEM 0x0008
1266#define os2_QS_DCE_EVENT_SEM 0x0010
1267#define os2_QS_DCMW_MUX_SEM 0x0020
1268#define os2_QS_DC_SEM_PM 0x0040
1269#define os2_QS_DE_POSTED 0x0040
1270#define os2_QS_DM_OWNER_DIED 0x0080
1271#define os2_QS_DMW_MTX_MUX 0x0100
1272#define os2_QS_DHO_SEM_OPEN 0x0200
1273#define os2_QS_DE_16BIT_MW 0x0400
1274#define os2_QS_DCE_POSTONE 0x0800
1275#define os2_QS_DCE_AUTORESET 0x1000
1276#define _QWORD os2__QWORD
1277#define QWORD os2_QWORD
1278#define PQWORD os2_PQWORD
1279#define _QSGREC os2__QSGREC
1280#define QSGREC os2_QSGREC
1281#define _QSTREC os2__QSTREC
1282#define QSTREC os2_QSTREC
1283#define _QSPREC os2__QSPREC
1284#define QSPREC os2_QSPREC
1285#define _QSS16REC os2__QSS16REC
1286#define QSS16REC os2_QSS16REC
1287#define _QSS16HEADREC os2__QSS16HEADREC
1288#define QSS16HEADREC os2_QSS16HEADREC
1289#define _QSMREC os2__QSMREC
1290#define QSMREC os2_QSMREC
1291#define _QSOPENQ os2__QSOPENQ
1292#define QSOPENQ os2_QSOPENQ
1293#define _QSEVENT os2__QSEVENT
1294#define QSEVENT os2_QSEVENT
1295#define _QSMUTEX os2__QSMUTEX
1296#define QSMUTEX os2_QSMUTEX
1297#define _QSMUX os2__QSMUX
1298#define QSMUX os2_QSMUX
1299#define QSHUN os2_QSHUN
1300#define _QSS32REC os2__QSS32REC
1301#define QSS32REC os2_QSS32REC
1302#define _QSLOBJREC os2__QSLOBJREC
1303#define QSLOBJREC os2_QSLOBJREC
1304#define _QSLREC os2__QSLREC
1305#define QSLREC os2_QSLREC
1306#define _QSEXLREC os2__QSEXLREC
1307#define QSEXLREC os2_QSEXLREC
1308#define _QSSFT os2__QSSFT
1309#define QSSFT os2_QSSFT
1310#define _QSFREC os2__QSFREC
1311#define QSFREC os2_QSFREC
1312#define _QSPTRREC os2__QSPTRREC
1313#define QSPTRREC os2_QSPTRREC
1314#define SGID os2_SGID
1315#define HVDD os2_HVDD
1316#define PHVDD os2_PHVDD
1317#define HSPINLOCK os2_HSPINLOCK
1318#define PHSPINLOCK os2_PHSPINLOCK
1319#define _TStat os2__TStat
1320#define _uDB os2__uDB
1321#define os2_SIS_MMIOADDR 0
1322#define os2_SIS_MEC_TABLE 1
1323#define os2_SIS_SYS_LOG 2
1324#define os2_SIS_PERF_MEC_TABLE 3
1325#define _RXSTRING os2__RXSTRING
1326#define RXSTRING os2_RXSTRING
1327#define PRXSTRING os2_PRXSTRING
1328#define _RXSYSEXIT os2__RXSYSEXIT
1329#define RXSYSEXIT os2_RXSYSEXIT
1330#define PRXSYSEXIT os2_PRXSYSEXIT
1331#define os2_MAKERXSTRING (r,p,l) \
1332 ((r).strptr = (PCH)p, (r).strlength = (os2_ULONG)l)
1333#define _SHVBLOCK os2__SHVBLOCK
1334#define SHVBLOCK os2_SHVBLOCK
1335#define PSHVBLOCK os2_PSHVBLOCK
1336#define PEXIT os2_PEXIT
1337#define _RXFNC_FLAGS os2__RXFNC_FLAGS
1338#define RXFNC_FLAGS os2_RXFNC_FLAGS
1339#define _RXFNCCAL_PARM os2__RXFNCCAL_PARM
1340#define RXFNCCAL_PARM os2_RXFNCCAL_PARM
1341#define _RXCMD_FLAGS os2__RXCMD_FLAGS
1342#define RXCMD_FLAGS os2_RXCMD_FLAGS
1343#define _RXCMDHST_PARM os2__RXCMDHST_PARM
1344#define RXCMDHST_PARM os2_RXCMDHST_PARM
1345#define _RXMSQPLL_PARM os2__RXMSQPLL_PARM
1346#define RXMSQPLL_PARM os2_RXMSQPLL_PARM
1347#define _RXMSQ_FLAGS os2__RXMSQ_FLAGS
1348#define RXMSQ_FLAGS os2_RXMSQ_FLAGS
1349#define _RXMSQPSH_PARM os2__RXMSQPSH_PARM
1350#define RXMSQPSH_PARM os2_RXMSQPSH_PARM
1351#define _RXMSQSIZ_PARM os2__RXMSQSIZ_PARM
1352#define RXMSQSIZ_PARM os2_RXMSQSIZ_PARM
1353#define _RXMSQNAM_PARM os2__RXMSQNAM_PARM
1354#define RXMSQNAM_PARM os2_RXMSQNAM_PARM
1355#define _RXSIOSAY_PARM os2__RXSIOSAY_PARM
1356#define RXSIOSAY_PARM os2_RXSIOSAY_PARM
1357#define _RXSIOTRC_PARM os2__RXSIOTRC_PARM
1358#define RXSIOTRC_PARM os2_RXSIOTRC_PARM
1359#define _RXSIOTRD_PARM os2__RXSIOTRD_PARM
1360#define RXSIOTRD_PARM os2_RXSIOTRD_PARM
1361#define _RXSIODR_PARM os2__RXSIODR_PARM
1362#define RXSIODTR_PARM os2_RXSIODTR_PARM
1363#define _RXHLT_FLAGS os2__RXHLT_FLAGS
1364#define RXHLT_FLAGS os2_RXHLT_FLAGS
1365#define _RXHLTTST_PARM os2__RXHLTTST_PARM
1366#define RXHLTTST_PARM os2_RXHLTTST_PARM
1367#define _RXTRC_FLAGS os2__RXTRC_FLAGS
1368#define RXTRC_FLAGS os2_RXTRC_FLAGS
1369#define _RXTRCTST_PARM os2__RXTRCTST_PARM
1370#define RXTRCTST_PARM os2_RXTRCTST_PARM
1371#define os2_WM_DBCSFIRST 0x00b0
1372#define os2_WM_DBCSLAST 0x00cf
1373#define os2_WC_FRAME ((PSZ)0xffff0001)
1374#define os2_WC_COMBOBOX ((PSZ)0xffff0002)
1375#define os2_WC_BUTTON ((PSZ)0xffff0003)
1376#define os2_WC_MENU ((PSZ)0xffff0004)
1377#define os2_WC_STATIC ((PSZ)0xffff0005)
1378#define os2_WC_ENTRYFIELD ((PSZ)0xffff0006)
1379#define os2_WC_LISTBOX ((PSZ)0xffff0007)
1380#define os2_WC_SCROLLBAR ((PSZ)0xffff0008)
1381#define os2_WC_TITLEBAR ((PSZ)0xffff0009)
1382#define os2_WC_MLE ((PSZ)0xffff000a)
1383#define os2_WC_APPSTAT ((PSZ)0xffff0010)
1384#define os2_WC_KBDSTAT ((PSZ)0xffff0011)
1385#define os2_WC_PECIC ((PSZ)0xffff0012)
1386#define os2_WC_DBE_KKPOPUP ((PSZ)0xffff0013)
1387#define os2_WC_SPINBUTTON ((PSZ)0xffff0020)
1388#define os2_WC_CONTAINER ((PSZ)0xffff0025)
1389#define os2_WC_SLIDER ((PSZ)0xffff0026)
1390#define os2_WC_VALUESET ((PSZ)0xffff0027)
1391#define os2_WC_NOTEBOOK ((PSZ)0xffff0028)
1392#define os2_WC_PENFIRST ((PSZ)0xffff0029)
1393#define os2_WC_PENLAST ((PSZ)0xffff002c)
1394#define os2_WC_MMPMFIRST ((PSZ)0xffff0040)
1395#define os2_WC_CIRCULARSLIDER ((PSZ)0xffff0041)
1396#define os2_WC_MMPMLAST ((PSZ)0xffff004f)
1397#define os2_WS_VISIBLE 0x80000000
1398#define os2_WS_DISABLED 0x40000000
1399#define os2_WS_CLIPCHILDREN 0x20000000
1400#define os2_WS_CLIPSIBLINGS 0x10000000
1401#define os2_WS_PARENTCLIP 0x08000000
1402#define os2_WS_SAVEBITS 0x04000000
1403#define os2_WS_SYNCPAINT 0x02000000
1404#define os2_WS_MINIMIZED 0x01000000
1405#define os2_WS_MAXIMIZED 0x00800000
1406#define os2_WS_ANIMATE 0x00400000
1407#define os2_WS_GROUP 0x00010000
1408#define os2_WS_TABSTOP 0x00020000
1409#define os2_WS_MULTISELECT 0x00040000
1410#define os2_CS_MOVENOTIFY 0x00000001
1411#define os2_CS_SIZEREDRAW 0x00000004
1412#define os2_CS_HITTEST 0x00000008
1413#define os2_CS_PUBLIC 0x00000010
1414#define os2_CS_FRAME 0x00000020
1415#define os2_CS_CLIPCHILDREN 0x20000000
1416#define os2_CS_CLIPSIBLINGS 0x10000000
1417#define os2_CS_PARENTCLIP 0x08000000
1418#define os2_CS_SAVEBITS 0x04000000
1419#define os2_CS_SYNCPAINT 0x02000000
1420#define os2_DT_LEFT 0x00000000
1421#define os2_DT_QUERYEXTENT 0x00000002
1422#define os2_DT_UNDERSCORE 0x00000010
1423#define os2_DT_STRIKEOUT 0x00000020
1424#define os2_DT_TEXTATTRS 0x00000040
1425#define os2_DT_EXTERNALLEADING 0x00000080
1426#define os2_DT_CENTER 0x00000100
1427#define os2_DT_RIGHT 0x00000200
1428#define os2_DT_TOP 0x00000000
1429#define os2_DT_VCENTER 0x00000400
1430#define os2_DT_BOTTOM 0x00000800
1431#define os2_DT_HALFTONE 0x00001000
1432#define os2_DT_MNEMONIC 0x00002000
1433#define os2_DT_WORDBREAK 0x00004000
1434#define os2_DT_ERASERECT 0x00008000
1435#define os2_SWP_SIZE 0x0001
1436#define os2_SWP_MOVE 0x0002
1437#define os2_SWP_ZORDER 0x0004
1438#define os2_SWP_SHOW 0x0008
1439#define os2_SWP_HIDE 0x0010
1440#define os2_SWP_NOREDRAW 0x0020
1441#define os2_SWP_NOADJUST 0x0040
1442#define os2_SWP_ACTIVATE 0x0080
1443#define os2_SWP_DEACTIVATE 0x0100
1444#define os2_SWP_EXTSTATECHANGE 0x0200
1445#define os2_SWP_MINIMIZE 0x0400
1446#define os2_SWP_MAXIMIZE 0x0800
1447#define os2_SWP_RESTORE 0x1000
1448#define os2_SWP_FOCUSACTIVATE 0x2000
1449#define os2_SWP_FOCUSDEACTIVATE 0x4000
1450#define os2_SWP_NOAUTOCLOSE 0x8000
1451#define os2_HWND_DESKTOP ((os2_HWND)1)
1452#define os2_HWND_OBJECT ((os2_HWND)2)
1453#define os2_HWND_TOP ((os2_HWND)3)
1454#define os2_HWND_BOTTOM ((os2_HWND)4)
1455#define os2_HWND_THREADCAPTURE ((os2_HWND)5)
1456#define HACCEL os2_HACCEL
1457#define HRGN os2_HRGN
1458#define PHRGN os2_PHRGN
1459#define MRESULT os2_MRESULT
1460#define PMRESULT os2_PMRESULT
1461#define MPARAM os2_MPARAM
1462#define PMPARAM os2_PMPARAM
1463#define HPOINTER os2_HPOINTER
1464#define HLIB os2_HLIB
1465#define PHLIB os2_PHLIB
1466#define COLOR os2_COLOR
1467#define PCOLOR os2_PCOLOR
1468#define HAB os2_HAB
1469#define PHAB os2_PHAB
1470#define HPS os2_HPS
1471#define PHPS os2_PHPS
1472#define HDC os2_HDC
1473#define PHDC os2_PHDC
1474#define HWND os2_HWND
1475#define PHWND os2_PHWND
1476#define HMQ os2_HMQ
1477#define HPAL os2_HPAL
1478#define PHPAL os2_PHPAL
1479#define HBITMAP os2_HBITMAP
1480#define PHBITMAP os2_PHBITMAP
1481#define ERRORID os2_ERRORID
1482#define PERRORID os2_PERRORID
1483#define PFNWP os2_PFNWP
1484#define os2_ERRORIDERROR (errid) (os2_LOUSHORT (errid))
1485#define os2_ERRORIDSEV (errid) (os2_HIUSHORT (errid))
1486#define os2_MAKEERRORID (sev,error) (os2_ERRORID)( os2_MAKEULONG ((error), (sev)))
1487#define _POINTL os2__POINTL
1488#define POINTL os2_POINTL
1489#define PPOINTL os2_PPOINTL
1490#define _POINTS os2__POINTS
1491#define POINTS os2_POINTS
1492#define PPOINTS os2_PPOINTS
1493#define _RECTL os2__RECTL
1494#define RECTL os2_RECTL
1495#define PRECTL os2_PRECTL
1496#define os2_WM_NULL 0x0000
1497#define os2_WM_CREATE 0x0001
1498#define os2_WM_DESTROY 0x0002
1499#define os2_WM_ENABLE 0x0004
1500#define os2_WM_SHOW 0x0005
1501#define os2_WM_MOVE 0x0006
1502#define os2_WM_SIZE 0x0007
1503#define os2_WM_ADJUSTWINDOWPOS 0x0008
1504#define os2_WM_CALCVALIDRECTS 0x0009
1505#define os2_WM_SETWINDOWPARAMS 0x000a
1506#define os2_WM_QUERYWINDOWPARAMS 0x000b
1507#define os2_WM_HITTEST 0x000c
1508#define os2_WM_ACTIVATE 0x000d
1509#define os2_WM_SETFOCUS 0x000f
1510#define os2_WM_SETSELECTION 0x0010
1511#define os2_WM_PPAINT 0x0011
1512#define os2_WM_PSETFOCUS 0x0012
1513#define os2_WM_PSYSCOLORCHANGE 0x0013
1514#define os2_WM_PSIZE 0x0014
1515#define os2_WM_PACTIVATE 0x0015
1516#define os2_WM_PCONTROL 0x0016
1517#define os2_WM_COMMAND 0x0020
1518#define os2_WM_SYSCOMMAND 0x0021
1519#define os2_WM_HELP 0x0022
1520#define os2_WM_PAINT 0x0023
1521#define os2_WM_TIMER 0x0024
1522#define os2_WM_SEM1 0x0025
1523#define os2_WM_SEM2 0x0026
1524#define os2_WM_SEM3 0x0027
1525#define os2_WM_SEM4 0x0028
1526#define os2_WM_CLOSE 0x0029
1527#define os2_WM_QUIT 0x002a
1528#define os2_WM_SYSCOLORCHANGE 0x002b
1529#define os2_WM_SYSVALUECHANGED 0x002d
1530#define os2_WM_APPTERMINATENOTIFY 0x002e
1531#define os2_WM_PRESPARAMCHANGED 0x002f
1532#define os2_WM_CONTROL 0x0030
1533#define os2_WM_VSCROLL 0x0031
1534#define os2_WM_HSCROLL 0x0032
1535#define os2_WM_INITMENU 0x0033
1536#define os2_WM_MENUSELECT 0x0034
1537#define os2_WM_MENUEND 0x0035
1538#define os2_WM_DRAWITEM 0x0036
1539#define os2_WM_MEASUREITEM 0x0037
1540#define os2_WM_CONTROLPOINTER 0x0038
1541#define os2_WM_QUERYDLGCODE 0x003a
1542#define os2_WM_INITDLG 0x003b
1543#define os2_WM_SUBSTITUTESTRING 0x003c
1544#define os2_WM_MATCHMNEMONIC 0x003d
1545#define os2_WM_SAVEAPPLICATION 0x003e
1546#define os2_WM_HELPBASE 0x0f00
1547#define os2_WM_HELPTOP 0x0fff
1548#define os2_WM_USER 0x1000
1549#define _QMSG os2__QMSG
1550#define QMSG os2_QMSG
1551#define PQMSG os2_PQMSG
1552#define _COMMANDMSG os2__COMMANDMSG
1553#define CMDMSG os2_CMDMSG
1554#define PCMDMSG os2_PCMDMSG
1555#define _MQINFO os2__MQINFO
1556#define MQINFO os2_MQINFO
1557#define PMQINFO os2_PMQINFO
1558#define os2_COMMANDMSG (pmsg) ((os2_PCMDMSG)((os2_PBYTE)pmsg + sizeof (os2_ULONG)))
1559#define _SWP os2__SWP
1560#define SWP os2_SWP
1561#define PSWP os2_PSWP
1562#define _ICONINFO os2__ICONINFO
1563#define ICONINFO os2_ICONINFO
1564#define PICONINFO os2_PICONINFO
1565#define os2_MPVOID ((os2_MPARAM)0)
1566#define os2_MPFROMP (x) ((os2_MPARAM)((os2_ULONG)(x)))
1567#define os2_MPFROMHWND (x) ((os2_MPARAM)(os2_HWND)(x))
1568#define os2_MPFROMCHAR (x) ((os2_MPARAM)(os2_ULONG)(os2_USHORT)(x))
1569#define os2_MPFROMSHORT (x) ((os2_MPARAM)(os2_ULONG)(os2_USHORT)(x))
1570#define os2_MPFROM2SHORT (x1,x2) ((os2_MPARAM) os2_MAKELONG (x1, x2))
1571#define os2_MPFROMSH2CH (s,c1,c2) ((os2_MPARAM) os2_MAKELONG (s, os2_MAKESHORT (c1, c2)))
1572#define os2_MPFROMLONG (x) ((os2_MPARAM)(os2_ULONG)(x))
1573#define os2_PVOIDFROMMP (mp) ((os2_PVOID)(mp))
1574#define os2_HWNDFROMMP (mp) ((os2_HWND)(mp))
1575#define os2_CHAR1FROMMP (mp) ((os2_UCHAR)(os2_ULONG)(mp))
1576#define os2_CHAR2FROMMP (mp) ((os2_UCHAR)((os2_ULONG)mp >> 8))
1577#define os2_CHAR3FROMMP (mp) ((os2_UCHAR)((os2_ULONG)mp >> 16))
1578#define os2_CHAR4FROMMP (mp) ((os2_UCHAR)((os2_ULONG)mp >> 24))
1579#define os2_SHORT1FROMMP (mp) ((os2_USHORT)(os2_ULONG)(mp))
1580#define os2_SHORT2FROMMP (mp) ((os2_USHORT)((os2_ULONG)mp >> 16))
1581#define os2_LONGFROMMP (mp) ((os2_ULONG)(mp))
1582#define os2_MRFROMP (x) ((os2_MRESULT)(os2_PVOID)(x))
1583#define os2_MRFROMSHORT (x) ((os2_MRESULT)(os2_ULONG)(os2_USHORT)(x))
1584#define os2_MRFROM2SHORT (x1,x2) ((os2_MRESULT) os2_MAKELONG (x1, x2))
1585#define os2_MRFROMLONG (x) ((os2_MRESULT)(os2_ULONG)(x))
1586#define os2_PVOIDFROMMR (mr) ((os2_VOID *)(mr))
1587#define os2_SHORT1FROMMR (mr) ((os2_USHORT)((os2_ULONG)mr))
1588#define os2_SHORT2FROMMR (mr) ((os2_USHORT)((os2_ULONG)mr >> 16))
1589#define os2_LONGFROMMR (mr) ((os2_ULONG)(mr))
1590#define _FRAMECDATA os2__FRAMECDATA
1591#define FRAMECDATA os2_FRAMECDATA
1592#define PFRAMECDATA os2_PFRAMECDATA
1593#define os2_WM_FLASHWINDOW 0x0040
1594#define os2_WM_FORMATFRAME 0x0041
1595#define os2_WM_UPDATEFRAME 0x0042
1596#define os2_WM_FOCUSCHANGE 0x0043
1597#define os2_WM_SETBORDERSIZE 0x0044
1598#define os2_WM_TRACKFRAME 0x0045
1599#define os2_WM_MINMAXFRAME 0x0046
1600#define os2_WM_SETICON 0x0047
1601#define os2_WM_QUERYICON 0x0048
1602#define os2_WM_SETACCELTABLE 0x0049
1603#define os2_WM_QUERYACCELTABLE 0x004a
1604#define os2_WM_TRANSLATEACCEL 0x004b
1605#define os2_WM_QUERYTRACKINFO 0x004c
1606#define os2_WM_QUERYBORDERSIZE 0x004d
1607#define os2_WM_NEXTMENU 0x004e
1608#define os2_WM_ERASEBACKGROUND 0x004f
1609#define os2_WM_QUERYFRAMEINFO 0x0050
1610#define os2_WM_QUERYFOCUSCHAIN 0x0051
1611#define os2_WM_OWNERPOSCHANGE 0x0052
1612#define os2_WM_CALCFRAMERECT 0x0053
1613#define os2_WM_WINDOWPOSCHANGED 0x0055
1614#define os2_WM_ADJUSTFRAMEPOS 0x0056
1615#define os2_WM_QUERYFRAMECTLCOUNT 0x0059
1616#define os2_WM_QUERYHELPINFO 0x005b
1617#define os2_WM_SETHELPINFO 0x005c
1618#define os2_WM_ERROR 0x005d
1619#define os2_WM_REALIZEPALETTE 0x005e
1620#define os2_SC_SIZE 0x8000
1621#define os2_SC_MOVE 0x8001
1622#define os2_SC_MINIMIZE 0x8002
1623#define os2_SC_MAXIMIZE 0x8003
1624#define os2_SC_CLOSE 0x8004
1625#define os2_SC_NEXT 0x8005
1626#define os2_SC_APPMENU 0x8006
1627#define os2_SC_SYSMENU 0x8007
1628#define os2_SC_RESTORE 0x8008
1629#define os2_SC_NEXTFRAME 0x8009
1630#define os2_SC_NEXTWINDOW 0x8010
1631#define os2_SC_TASKMANAGER 0x8011
1632#define os2_SC_HELPKEYS 0x8012
1633#define os2_SC_HELPINDEX 0x8013
1634#define os2_SC_HELPEXTENDED 0x8014
1635#define os2_SC_SWITCHPANELIDS 0x8015
1636#define os2_SC_DBE_FIRST 0x8018
1637#define os2_SC_DBE_LAST 0x801f
1638#define os2_SC_BEGINDRAG 0x8020
1639#define os2_SC_ENDDRAG 0x8021
1640#define os2_SC_SELECT 0x8022
1641#define os2_SC_OPEN 0x8023
1642#define os2_SC_CONTEXTMENU 0x8024
1643#define os2_SC_CONTEXTHELP 0x8025
1644#define os2_SC_TEXTEDIT 0x8026
1645#define os2_SC_BEGINSELECT 0x8027
1646#define os2_SC_ENDSELECT 0x8028
1647#define os2_SC_WINDOW 0x8029
1648#define os2_SC_HIDE 0x802a
1649#define HSAVEWP os2_HSAVEWP
1650#define _QVERSDATA os2__QVERSDATA
1651#define QVERSDATA os2_QVERSDATA
1652#define PQVERSDATA os2_PQVERSDATA
1653#define os2_WM_QUERYCONVERTPOS 0x00b0
1654#define _CLASSINFO os2__CLASSINFO
1655#define CLASSINFO os2_CLASSINFO
1656#define PCLASSINFO os2_PCLASSINFO
1657#define _CREATESTRUCT os2__CREATESTRUCT
1658#define CREATESTRUCT os2_CREATESTRUCT
1659#define PCREATESTRUCT os2_PCREATESTRUCT
1660#define HENUM os2_HENUM
1661#define _ACCEL os2__ACCEL
1662#define ACCEL os2_ACCEL
1663#define PACCEL os2_PACCEL
1664#define _ACCELTABLE os2__ACCELTABLE
1665#define ACCELTABLE os2_ACCELTABLE
1666#define PACCELTABLE os2_PACCELTABLE
1667#define HATOMTBL os2_HATOMTBL
1668#define ATOM os2_ATOM
1669#define os2_MAKEINTATOM (x) ((PCH) os2_MAKEULONG (x, 0xffff))
1670#define os2_BM_CLICK 0x0120
1671#define os2_BM_QUERYCHECKINDEX 0x0121
1672#define os2_BM_QUERYHILITE 0x0122
1673#define os2_BM_SETHILITE 0x0123
1674#define os2_BM_QUERYCHECK 0x0124
1675#define os2_BM_SETCHECK 0x0125
1676#define os2_BM_SETDEFAULT 0x0126
1677#define os2_BN_CLICKED 1
1678#define os2_BN_DBLCLICKED 2
1679#define os2_BN_PAINT 3
1680#define os2_BS_PUSHBUTTON 0x0000
1681#define os2_BS_CHECKBOX 0x0001
1682#define os2_BS_AUTOCHECKBOX 0x0002
1683#define os2_BS_RADIOBUTTON 0x0003
1684#define os2_BS_AUTORADIOBUTTON 0x0004
1685#define os2_BS_3STATE 0x0005
1686#define os2_BS_AUTO3STATE 0x0006
1687#define os2_BS_USERBUTTON 0x0007
1688#define os2_BS_NOTEBOOKBUTTON 0x0008
1689#define os2_BS_PRIMARYSTYLES 0x000f
1690#define os2_BS_TEXT 0x0010
1691#define os2_BS_MINIICON 0x0020
1692#define os2_BS_BITMAP 0x0040
1693#define os2_BS_ICON 0x0080
1694#define os2_BS_HELP 0x0100
1695#define os2_BS_SYSCOMMAND 0x0200
1696#define os2_BS_DEFAULT 0x0400
1697#define os2_BS_NOPOINTERFOCUS 0x0800
1698#define os2_BS_NOBORDER 0x1000
1699#define os2_BS_NOCURSORSELECT 0x2000
1700#define os2_BS_AUTOSIZE 0x4000
1701#define _BTNCDATA os2__BTNCDATA
1702#define BTNCDATA os2_BTNCDATA
1703#define PBTNCDATA os2_PBTNCDATA
1704#define _USERBUTTON os2__USERBUTTON
1705#define USERBUTTON os2_USERBUTTON
1706#define PUSERBUTTON os2_PUSERBUTTON
1707#define os2_WM_RENDERFMT 0x0060
1708#define os2_WM_RENDERALLFMTS 0x0061
1709#define os2_WM_DESTROYCLIPBOARD 0x0062
1710#define os2_WM_PAINTCLIPBOARD 0x0063
1711#define os2_WM_SIZECLIPBOARD 0x0064
1712#define os2_WM_HSCROLLCLIPBOARD 0x0065
1713#define os2_WM_VSCROLLCLIPBOARD 0x0066
1714#define os2_WM_DRAWCLIPBOARD 0x0067
1715#define os2_CF_TEXT 1
1716#define os2_CF_BITMAP 2
1717#define os2_CF_DSPTEXT 3
1718#define os2_CF_DSPBITMAP 4
1719#define os2_CF_METAFILE 5
1720#define os2_CF_DSPMETAFILE 6
1721#define os2_CF_PALETTE 9
1722#define os2_CF_MMPMFIRST 10
1723#define os2_CF_MMPMLAST 19
1724#define _CPTEXT os2__CPTEXT
1725#define CPTEXT os2_CPTEXT
1726#define PCPTEXT os2_PCPTEXT
1727#define _MFP os2__MFP
1728#define MFP os2_MFP
1729#define PMFP os2_PMFP
1730#define os2_WM_DDE_FIRST 0x00a0
1731#define os2_WM_DDE_INITIATE 0x00a0
1732#define os2_WM_DDE_REQUEST 0x00a1
1733#define os2_WM_DDE_ACK 0x00a2
1734#define os2_WM_DDE_DATA 0x00a3
1735#define os2_WM_DDE_ADVISE 0x00a4
1736#define os2_WM_DDE_UNADVISE 0x00a5
1737#define os2_WM_DDE_POKE 0x00a6
1738#define os2_WM_DDE_EXECUTE 0x00a7
1739#define os2_WM_DDE_TERMINATE 0x00a8
1740#define os2_WM_DDE_INITIATEACK 0x00a9
1741#define os2_WM_DDE_LAST 0x00af
1742#define os2_DDE_FACK 0x0001
1743#define os2_DDE_FBUSY 0x0002
1744#define os2_DDE_FNODATA 0x0004
1745#define os2_DDE_FACKREQ 0x0008
1746#define os2_DDE_FRESPONSE 0x0010
1747#define os2_DDE_NOTPROCESSED 0x0020
1748#define os2_DDE_FRESERVED 0x00c0
1749#define os2_DDE_FAPPSTATUS 0xff00
1750#define os2_SZDDESYS_TOPIC "System"
1751#define os2_SZDDESYS_ITEM_TOPICS "Topics"
1752#define os2_SZDDESYS_ITEM_SYSITEMS "SysItems"
1753#define os2_SZDDESYS_ITEM_RTNMSG "ReturnMessage"
1754#define os2_SZDDESYS_ITEM_STATUS "Status"
1755#define os2_SZDDESYS_ITEM_FORMATS "Formats"
1756#define os2_SZDDESYS_ITEM_SECURITY "Security"
1757#define os2_SZDDESYS_ITEM_ITEMFORMATS "ItemFormats"
1758#define os2_SZDDESYS_ITEM_HELP "Help"
1759#define os2_SZDDESYS_ITEM_PROTOCOLS "Protocols"
1760#define os2_SZDDESYS_ITEM_RESTART "Restart"
1761#define _CONVCONTEXT os2__CONVCONTEXT
1762#define CONVCONTEXT os2_CONVCONTEXT
1763#define PCONVCONTEXT os2_PCONVCONTEXT
1764#define _DDEINIT os2__DDEINIT
1765#define DDEINIT os2_DDEINIT
1766#define PDDEINIT os2_PDDEINIT
1767#define _DDESTRUCT os2__DDESTRUCT
1768#define DDESTRUCT os2_DDESTRUCT
1769#define PDDESTRUCT os2_PDDESTRUCT
1770#define os2_DDES_PABDATA (pddes) \
1771 (((os2_PBYTE)pddes) + ((PDDESTRUCT)pddes)->offabData)
1772#define os2_DDEI_PCONVCONTEXT (pddei) \
1773 ((PCONVCONTEXT)((os2_PBYTE)pddei + pddei->offConvContext))
1774#define _CURSORINFO os2__CURSORINFO
1775#define CURSORINFO os2_CURSORINFO
1776#define PCURSORINFO os2_PCURSORINFO
1777#define _DESKTOP os2__DESKTOP
1778#define DESKTOP os2_DESKTOP
1779#define PDESKTOP os2_PDESKTOP
1780#define os2_MB_OK 0x0000
1781#define os2_MB_OKCANCEL 0x0001
1782#define os2_MB_RETRYCANCEL 0x0002
1783#define os2_MB_ABORTRETRYIGNORE 0x0003
1784#define os2_MB_YESNO 0x0004
1785#define os2_MB_YESNOCANCEL 0x0005
1786#define os2_MB_CANCEL 0x0006
1787#define os2_MB_ENTER 0x0007
1788#define os2_MB_ENTERCANCEL 0x0008
1789#define os2_MB_NOICON 0x0000
1790#define os2_MB_CUANOTIFICATION 0x0000
1791#define os2_MB_ICONQUESTION 0x0010
1792#define os2_MB_ICONEXCLAMATION 0x0020
1793#define os2_MB_CUAWARNING 0x0020
1794#define os2_MB_ICONASTERISK 0x0030
1795#define os2_MB_ICONHAND 0x0040
1796#define os2_MB_CUACRITICAL 0x0040
1797#define os2_MB_QUERY os2_MB_ICONQUESTION
1798#define os2_MB_WARNING os2_MB_CUAWARNING
1799#define os2_MB_INFORMATION os2_MB_ICONASTERISK
1800#define os2_MB_CRITICAL os2_MB_CUACRITICAL
1801#define os2_MB_ERROR os2_MB_CRITICAL
1802#define os2_MB_CUSTOMICON 0x0080
1803#define os2_MB_DEFBUTTON1 0x0000
1804#define os2_MB_DEFBUTTON2 0x0100
1805#define os2_MB_DEFBUTTON3 0x0200
1806#define os2_MB_APPLMODAL 0x0000
1807#define os2_MB_SYSTEMMODAL 0x1000
1808#define os2_MB_HELP 0x2000
1809#define os2_MB_MOVEABLE 0x4000
1810#define os2_MB_NONMODAL 0x8000
1811#define _MB2D os2__MB2D
1812#define MB2D os2_MB2D
1813#define PMB2D os2_PMB2D
1814#define _MB2INFO os2__MB2INFO
1815#define MB2INFO os2_MB2INFO
1816#define PMB2INFO os2_PMB2INFO
1817#define os2_DLGC_ENTRYFIELD 0x0001
1818#define os2_DLGC_BUTTON 0x0002
1819#define os2_DLGC_RADIOBUTTON 0x0004
1820#define os2_DLGC_STATIC 0x0008
1821#define os2_DLGC_DEFAULT 0x0010
1822#define os2_DLGC_PUSHBUTTON 0x0020
1823#define os2_DLGC_CHECKBOX 0x0040
1824#define os2_DLGC_SCROLLBAR 0x0080
1825#define os2_DLGC_MENU 0x0100
1826#define os2_DLGC_TABONCLICK 0x0200
1827#define os2_DLGC_MLE 0x0400
1828#define _DLGTITEM os2__DLGTITEM
1829#define DLGTITEM os2_DLGTITEM
1830#define PDLGTITEM os2_PDLGTITEM
1831#define _DLGTEMPLATE os2__DLGTEMPLATE
1832#define DLGTEMPLATE os2_DLGTEMPLATE
1833#define PDLGTEMPLATE os2_PDLGTEMPLATE
1834#define os2_CBS_SIMPLE 0x0001
1835#define os2_CBS_DROPDOWN 0x0002
1836#define os2_CBS_DROPDOWNLIST 0x0004
1837#define os2_CBS_COMPATIBLE 0x0008
1838#define os2_EM_QUERYCHANGED 0x0140
1839#define os2_EM_QUERYSEL 0x0141
1840#define os2_EM_SETSEL 0x0142
1841#define os2_EM_SETTEXTLIMIT 0x0143
1842#define os2_EM_CUT 0x0144
1843#define os2_EM_COPY 0x0145
1844#define os2_EM_CLEAR 0x0146
1845#define os2_EM_PASTE 0x0147
1846#define os2_EM_QUERYFIRSTCHAR 0x0148
1847#define os2_EM_SETFIRSTCHAR 0x0149
1848#define os2_EM_QUERYREADONLY 0x014a
1849#define os2_EM_SETREADONLY 0x014b
1850#define os2_EM_SETINSERTMODE 0x014c
1851#define os2_EN_SETFOCUS 0x0001
1852#define os2_EN_KILLFOCUS 0x0002
1853#define os2_EN_CHANGE 0x0004
1854#define os2_EN_SCROLL 0x0008
1855#define os2_EN_MEMERROR 0x0010
1856#define os2_EN_OVERFLOW 0x0020
1857#define os2_EN_INSERTMODETOGGLE 0x0040
1858#define os2_ES_LEFT 0x0000
1859#define os2_ES_CENTER 0x0001
1860#define os2_ES_RIGHT 0x0002
1861#define os2_ES_AUTOSCROLL 0x0004
1862#define os2_ES_MARGIN 0x0008
1863#define os2_ES_AUTOTAB 0x0010
1864#define os2_ES_READONLY 0x0020
1865#define os2_ES_COMMAND 0x0040
1866#define os2_ES_UNREADABLE 0x0080
1867#define os2_ES_AUTOSIZE 0x0200
1868#define os2_ES_ANY 0x0000
1869#define os2_ES_SBCS 0x1000
1870#define os2_ES_DBCS 0x2000
1871#define os2_ES_MIXED 0x3000
1872#define _COMBOCDATA os2__COMBOCDATA
1873#define COMBOCDATA os2_COMBOCDATA
1874#define PCOMBOCDATA os2_PCOMBOCDATA
1875#define _ENTRYFDATA os2__ENTRYFDATA
1876#define ENTRYFDATA os2_ENTRYFDATA
1877#define PENTRYFDATA os2_PENTRYFDATA
1878#define _ERRINFO os2__ERRINFO
1879#define ERRINFO os2_ERRINFO
1880#define PERRINFO os2_PERRINFO
1881#define os2_MSGF_DIALOGBOX 1
1882#define os2_MSGF_MESSAGEBOX 2
1883#define os2_MSGF_DDEPOSTMSG 3
1884#define os2_MSGF_TRACK 8
1885#define _SMHSTRUCT os2__SMHSTRUCT
1886#define SMHSTRUCT os2_SMHSTRUCT
1887#define PSMHSTRUCT os2_PSMHSTRUCT
1888#define os2_WM_MOUSEFIRST 0x0070
1889#define os2_WM_MOUSEMOVE 0x0070
1890#define os2_WM_BUTTONCLICKFIRST 0x0071
1891#define os2_WM_BUTTON1DOWN 0x0071
1892#define os2_WM_BUTTON1UP 0x0072
1893#define os2_WM_BUTTON1DBLCLK 0x0073
1894#define os2_WM_BUTTON2DOWN 0x0074
1895#define os2_WM_BUTTON2UP 0x0075
1896#define os2_WM_BUTTON2DBLCLK 0x0076
1897#define os2_WM_BUTTON3DOWN 0x0077
1898#define os2_WM_BUTTON3UP 0x0078
1899#define os2_WM_BUTTON3DBLCLK 0x0079
1900#define os2_WM_BUTTONCLICKLAST 0x0079
1901#define os2_WM_MOUSELAST 0x0079
1902#define os2_WM_CHAR 0x007a
1903#define os2_WM_VIOCHAR 0x007b
1904#define os2_WM_JOURNALNOTIFY 0x007c
1905#define os2_WM_MOUSEMAP 0x007d
1906#define os2_WM_VRNDISABLED 0x007e
1907#define os2_WM_VRNENABLED 0x007f
1908#define os2_WM_EXTMOUSEFIRST 0x0410
1909#define os2_WM_CHORD 0x0410
1910#define os2_WM_BUTTON1MOTIONSTART 0x0411
1911#define os2_WM_BUTTON1MOTIONEND 0x0412
1912#define os2_WM_BUTTON1CLICK 0x0413
1913#define os2_WM_BUTTON2MOTIONSTART 0x0414
1914#define os2_WM_BUTTON2MOTIONEND 0x0415
1915#define os2_WM_BUTTON2CLICK 0x0416
1916#define os2_WM_BUTTON3MOTIONSTART 0x0417
1917#define os2_WM_BUTTON3MOTIONEND 0x0418
1918#define os2_WM_BUTTON3CLICK 0x0419
1919#define os2_WM_EXTMOUSELAST 0x0419
1920#define os2_WM_MOUSETRANSLATEFIRST 0x0420
1921#define os2_WM_BEGINDRAG 0x0420
1922#define os2_WM_ENDDRAG 0x0421
1923#define os2_WM_SINGLESELECT 0x0422
1924#define os2_WM_OPEN 0x0423
1925#define os2_WM_CONTEXTMENU 0x0424
1926#define os2_WM_CONTEXTHELP 0x0425
1927#define os2_WM_TEXTEDIT 0x0426
1928#define os2_WM_BEGINSELECT 0x0427
1929#define os2_WM_ENDSELECT 0x0428
1930#define os2_WM_MOUSETRANSLATELAST 0x0428
1931#define os2_WM_PICKUP 0x0429
1932#define os2_WM_PENFIRST 0x0481
1933#define os2_WM_PENLAST 0x049f
1934#define os2_WM_MMPMFIRST 0x0500
1935#define os2_WM_MMPMLAST 0x05ff
1936#define os2_WM_BIDI_FIRST 0x0bd0
1937#define os2_WM_BIDI_LAST 0x0bff
1938#define os2_VK_BUTTON1 0x0001
1939#define os2_VK_BUTTON2 0x0002
1940#define os2_VK_BUTTON3 0x0003
1941#define os2_VK_BREAK 0x0004
1942#define os2_VK_BACKSPACE 0x0005
1943#define os2_VK_TAB 0x0006
1944#define os2_VK_BACKTAB 0x0007
1945#define os2_VK_NEWLINE 0x0008
1946#define os2_VK_SHIFT 0x0009
1947#define os2_VK_CTRL 0x000a
1948#define os2_VK_ALT 0x000b
1949#define os2_VK_ALTGRAF 0x000c
1950#define os2_VK_PAUSE 0x000d
1951#define os2_VK_CAPSLOCK 0x000e
1952#define os2_VK_ESC 0x000f
1953#define os2_VK_SPACE 0x0010
1954#define os2_VK_PAGEUP 0x0011
1955#define os2_VK_PAGEDOWN 0x0012
1956#define os2_VK_END 0x0013
1957#define os2_VK_HOME 0x0014
1958#define os2_VK_LEFT 0x0015
1959#define os2_VK_UP 0x0016
1960#define os2_VK_RIGHT 0x0017
1961#define os2_VK_DOWN 0x0018
1962#define os2_VK_PRINTSCRN 0x0019
1963#define os2_VK_INSERT 0x001a
1964#define os2_VK_DELETE 0x001b
1965#define os2_VK_SCRLLOCK 0x001c
1966#define os2_VK_NUMLOCK 0x001d
1967#define os2_VK_ENTER 0x001e
1968#define os2_VK_SYSRQ 0x001f
1969#define os2_VK_F1 0x0020
1970#define os2_VK_F2 0x0021
1971#define os2_VK_F3 0x0022
1972#define os2_VK_F4 0x0023
1973#define os2_VK_F5 0x0024
1974#define os2_VK_F6 0x0025
1975#define os2_VK_F7 0x0026
1976#define os2_VK_F8 0x0027
1977#define os2_VK_F9 0x0028
1978#define os2_VK_F10 0x0029
1979#define os2_VK_F11 0x002a
1980#define os2_VK_F12 0x002b
1981#define os2_VK_F13 0x002c
1982#define os2_VK_F14 0x002d
1983#define os2_VK_F15 0x002e
1984#define os2_VK_F16 0x002f
1985#define os2_VK_F17 0x0030
1986#define os2_VK_F18 0x0031
1987#define os2_VK_F19 0x0032
1988#define os2_VK_F20 0x0033
1989#define os2_VK_F21 0x0034
1990#define os2_VK_F22 0x0035
1991#define os2_VK_F23 0x0036
1992#define os2_VK_F24 0x0037
1993#define os2_VK_ENDDRAG 0x0038
1994#define os2_VK_CLEAR 0x0039
1995#define os2_VK_EREOF 0x003a
1996#define os2_VK_PA1 0x003b
1997#define os2_VK_ATTN 0x003c
1998#define os2_VK_CRSEL 0x003d
1999#define os2_VK_EXSEL 0x003e
2000#define os2_VK_COPY 0x003f
2001#define os2_VK_BLK1 0x0040
2002#define os2_VK_BLK2 0x0041
2003#define os2_VK_MENU os2_VK_F10
2004#define os2_VK_DBCSFIRST 0x0080
2005#define os2_VK_DBCSLAST 0x00ff
2006#define os2_VK_BIDI_FIRST 0x00e0
2007#define os2_VK_BIDI_LAST 0x00ff
2008#define os2_VK_USERFIRST 0x0100
2009#define os2_VK_USERLAST 0x01ff
2010#define _CHARMSG os2__CHARMSG
2011#define CHRMSG os2_CHRMSG
2012#define PCHRMSG os2_PCHRMSG
2013#define _MOUSEMSG os2__MOUSEMSG
2014#define MSEMSG os2_MSEMSG
2015#define PMSEMSG os2_PMSEMSG
2016#define os2_CHARMSG (pmsg) ((os2_PCHRMSG)((os2_PBYTE)pmsg + sizeof (os2_ULONG)))
2017#define os2_MOUSEMSG (pmsg) ((os2_PMSEMSG)((os2_PBYTE)pmsg + sizeof (os2_ULONG)))
2018#define os2_LM_QUERYITEMCOUNT 0x0160
2019#define os2_LM_INSERTITEM 0x0161
2020#define os2_LM_SETTOPINDEX 0x0162
2021#define os2_LM_DELETEITEM 0x0163
2022#define os2_LM_SELECTITEM 0x0164
2023#define os2_LM_QUERYSELECTION 0x0165
2024#define os2_LM_SETITEMTEXT 0x0166
2025#define os2_LM_QUERYITEMTEXTLENGTH 0x0167
2026#define os2_LM_QUERYITEMTEXT 0x0168
2027#define os2_LM_SETITEMHANDLE 0x0169
2028#define os2_LM_QUERYITEMHANDLE 0x016a
2029#define os2_LM_SEARCHSTRING 0x016b
2030#define os2_LM_SETITEMHEIGHT 0x016c
2031#define os2_LM_QUERYTOPINDEX 0x016d
2032#define os2_LM_DELETEALL 0x016e
2033#define os2_LM_INSERTMULTITEMS 0x016f
2034#define os2_LM_SETITEMWIDTH 0x0660 /* ? */
2035#define _LBOXINFO os2__LBOXINFO
2036#define LBOXINFO os2_LBOXINFO
2037#define PLBOXINFO os2_PLBOXINFO
2038#define os2_MIA_NODISMISS 0x0020
2039#define os2_MIA_FRAMED 0x1000
2040#define os2_MIA_CHECKED 0x2000
2041#define os2_MIA_DISABLED 0x4000
2042#define os2_MIA_HILITED 0x8000
2043#define os2_MM_INSERTITEM 0x0180
2044#define os2_MM_DELETEITEM 0x0181
2045#define os2_MM_QUERYITEM 0x0182
2046#define os2_MM_SETITEM 0x0183
2047#define os2_MM_QUERYITEMCOUNT 0x0184
2048#define os2_MM_STARTMENUMODE 0x0185
2049#define os2_MM_ENDMENUMODE 0x0186
2050#define os2_MM_REMOVEITEM 0x0188
2051#define os2_MM_SELECTITEM 0x0189
2052#define os2_MM_QUERYSELITEMID 0x018a
2053#define os2_MM_QUERYITEMTEXT 0x018b
2054#define os2_MM_QUERYITEMTEXTLENGTH 0x018c
2055#define os2_MM_SETITEMHANDLE 0x018d
2056#define os2_MM_SETITEMTEXT 0x018e
2057#define os2_MM_ITEMPOSITIONFROMID 0x018f
2058#define os2_MM_ITEMIDFROMPOSITION 0x0190
2059#define os2_MM_QUERYITEMATTR 0x0191
2060#define os2_MM_SETITEMATTR 0x0192
2061#define os2_MM_ISITEMVALID 0x0193
2062#define os2_MM_QUERYITEMRECT 0x0194
2063#define os2_MM_QUERYDEFAULTITEMID 0x0431
2064#define os2_MM_SETDEFAULTITEMID 0x0432
2065#define _MENUITEM os2__MENUITEM
2066#define MENUITEM os2_MENUITEM
2067#define PMENUITEM os2_PMENUITEM
2068#define _mti os2__mti
2069#define MTI os2_MTI
2070#define _mt os2__mt
2071#define MT os2_MT
2072#define LPMT os2_LPMT
2073#define _OWNERITEM os2__OWNERITEM
2074#define OWNERITEM os2_OWNERITEM
2075#define POWNERITEM os2_POWNERITEM
2076#define os2_QS_KEY 0x0001
2077#define os2_QS_MOUSEBUTTON 0x0002
2078#define os2_QS_MOUSEMOVE 0x0004
2079#define os2_QS_MOUSE 0x0006
2080#define os2_QS_TIMER 0x0008
2081#define os2_QS_PAINT 0x0010
2082#define os2_QS_POSTMSG 0x0020
2083#define os2_QS_SEM1 0x0040
2084#define os2_QS_SEM2 0x0080
2085#define os2_QS_SEM3 0x0100
2086#define os2_QS_SEM4 0x0200
2087#define os2_QS_SENDMSG 0x0400
2088#define os2_QS_MSGINPUT 0x0800
2089#define _WNDPARAMS os2__WNDPARAMS
2090#define WNDPARAMS os2_WNDPARAMS
2091#define PWNDPARAMS os2_PWNDPARAMS
2092#define _POINTERINFO os2__POINTERINFO
2093#define POINTERINFO os2_POINTERINFO
2094#define PPOINTERINFO os2_PPOINTERINFO
2095#define os2_SB_LINEUP 1
2096#define os2_SB_LINEDOWN 2
2097#define os2_SB_LINELEFT 1
2098#define os2_SB_LINERIGHT 2
2099#define os2_SB_PAGEUP 3
2100#define os2_SB_PAGEDOWN 4
2101#define os2_SB_PAGELEFT 3
2102#define os2_SB_PAGERIGHT 4
2103#define os2_SB_SLIDERTRACK 5
2104#define os2_SB_SLIDERPOSITION 6
2105#define os2_SB_ENDSCROLL 7
2106#define os2_SBM_SETSCROLLBAR 0x01a0
2107#define os2_SBM_SETPOS 0x01a1
2108#define os2_SBM_QUERYPOS 0x01a2
2109#define os2_SBM_QUERYRANGE 0x01a3
2110#define os2_SBM_SETTHUMBSIZE 0x01a6
2111#define os2_SBS_HORZ 0
2112#define os2_SBS_VERT 1
2113#define os2_SBS_THUMBSIZE 2
2114#define os2_SBS_AUTOTRACK 4
2115#define os2_SBS_AUTOSIZE 0x2000
2116#define _SBCDATA os2__SBCDATA
2117#define SBCDATA os2_SBCDATA
2118#define PSBCDATA os2_PSBCDATA
2119#define os2_SS_TEXT 0x0001
2120#define os2_SS_GROUPBOX 0x0002
2121#define os2_SS_ICON 0x0003
2122#define os2_SS_BITMAP 0x0004
2123#define os2_SS_FGNDRECT 0x0005
2124#define os2_SS_HALFTONERECT 0x0006
2125#define os2_SS_BKGNDRECT 0x0007
2126#define os2_SS_FGNDFRAME 0x0008
2127#define os2_SS_HALFTONEFRAME 0x0009
2128#define os2_SS_BKGNDFRAME 0x000a
2129#define os2_SS_SYSICON 0x000b
2130#define os2_SS_AUTOSIZE 0x0040
2131#define os2_WM_MSGBOXINIT 0x010e
2132#define os2_WM_MSGBOXDISMISS 0x010f
2133#define os2_SV_SWAPBUTTON 0
2134#define os2_SV_DBLCLKTIME 1
2135#define os2_SV_CXDBLCLK 2
2136#define os2_SV_CYDBLCLK 3
2137#define os2_SV_CXSIZEBORDER 4
2138#define os2_SV_CYSIZEBORDER 5
2139#define os2_SV_ALARM 6
2140#define os2_SV_CURSORRATE 9
2141#define os2_SV_FIRSTSCROLLRATE 10
2142#define os2_SV_SCROLLRATE 11
2143#define os2_SV_NUMBEREDLISTS 12
2144#define os2_SV_WARNINGFREQ 13
2145#define os2_SV_NOTEFREQ 14
2146#define os2_SV_ERRORFREQ 15
2147#define os2_SV_WARNINGDURATION 16
2148#define os2_SV_NOTEDURATION 17
2149#define os2_SV_ERRORDURATION 18
2150#define os2_SV_CXSCREEN 20
2151#define os2_SV_CYSCREEN 21
2152#define os2_SV_CXVSCROLL 22
2153#define os2_SV_CYHSCROLL 23
2154#define os2_SV_CYVSCROLLARROW 24
2155#define os2_SV_CXHSCROLLARROW 25
2156#define os2_SV_CXBORDER 26
2157#define os2_SV_CYBORDER 27
2158#define os2_SV_CXDLGFRAME 28
2159#define os2_SV_CYDLGFRAME 29
2160#define os2_SV_CYTITLEBAR 30
2161#define os2_SV_CYVSLIDER 31
2162#define os2_SV_CXHSLIDER 32
2163#define os2_SV_CXMINMAXBUTTON 33
2164#define os2_SV_CYMINMAXBUTTON 34
2165#define os2_SV_CYMENU 35
2166#define os2_SV_CXFULLSCREEN 36
2167#define os2_SV_CYFULLSCREEN 37
2168#define os2_SV_CXICON 38
2169#define os2_SV_CYICON 39
2170#define os2_SV_CXPOINTER 40
2171#define os2_SV_CYPOINTER 41
2172#define os2_SV_DEBUG 42
2173#define os2_SV_CMOUSEBUTTONS 43
2174#define os2_SV_CPOINTERBUTTONS 43
2175#define os2_SV_POINTERLEVEL 44
2176#define os2_SV_CURSORLEVEL 45
2177#define os2_SV_TRACKRECTLEVEL 46
2178#define os2_SV_CTIMERS 47
2179#define os2_SV_MOUSEPRESENT 48
2180#define os2_SV_CXBYTEALIGN 49
2181#define os2_SV_CXALIGN 49
2182#define os2_SV_CYBYTEALIGN 50
2183#define os2_SV_CYALIGN 50
2184#define os2_SV_DESKTOPWORKAREAYTOP 51
2185#define os2_SV_DESKTOPWORKAREAYBOTTOM 52
2186#define os2_SV_DESKTOPWORKAREAXRIGHT 53
2187#define os2_SV_DESKTOPWORKAREAXLEFT 54
2188#define os2_SV_NOTRESERVED 56
2189#define os2_SV_EXTRAKEYBEEP 57
2190#define os2_SV_SETLIGHTS 58
2191#define os2_SV_INSERTMODE 59
2192#define os2_SV_MENUROLLDOWNDELAY 64
2193#define os2_SV_MENUROLLUPDELAY 65
2194#define os2_SV_ALTMNEMONIC 66
2195#define os2_SV_TASKLISTMOUSEACCESS 67
2196#define os2_SV_CXICONTEXTWIDTH 68
2197#define os2_SV_CICONTEXTLINES 69
2198#define os2_SV_CHORDTIME 70
2199#define os2_SV_CXCHORD 71
2200#define os2_SV_CYCHORD 72
2201#define os2_SV_CXMOTIONSTART 73
2202#define os2_SV_CYMOTIONSTART 74
2203#define os2_SV_BEGINDRAG 75
2204#define os2_SV_ENDDRAG 76
2205#define os2_SV_SINGLESELECT 77
2206#define os2_SV_OPEN 78
2207#define os2_SV_CONTEXTMENU 79
2208#define os2_SV_CONTEXTHELP 80
2209#define os2_SV_TEXTEDIT 81
2210#define os2_SV_BEGINSELECT 82
2211#define os2_SV_ENDSELECT 83
2212#define os2_SV_BEGINDRAGKB 84
2213#define os2_SV_ENDDRAGKB 85
2214#define os2_SV_SELECTKB 86
2215#define os2_SV_OPENKB 87
2216#define os2_SV_CONTEXTMENUKB 88
2217#define os2_SV_CONTEXTHELPKB 89
2218#define os2_SV_TEXTEDITKB 90
2219#define os2_SV_BEGINSELECTKB 91
2220#define os2_SV_ENDSELECTKB 92
2221#define os2_SV_ANIMATION 93
2222#define os2_SV_ANIMATIONSPEED 94
2223#define os2_SV_MONOICONS 95
2224#define os2_SV_KBDALTERED 96
2225#define os2_SV_PRINTSCREEN 97
2226#define os2_SV_LOCKSTARTINPUT 98
2227#define os2_SV_DYNAMICDRAG 99
2228#define os2_SV_CSYSVALUES 100
2229#define os2_WM_CTLCOLORCHANGE 0x0129
2230#define os2_WM_QUERYCTLTYPE 0x0130 /*0x012a?*/
2231#define _CTLCOLOR os2__CTLCOLOR
2232#define CTLCOLOR os2_CTLCOLOR
2233#define PCTLCOLOR os2_PCTLCOLOR
2234#define _PARAM os2__PARAM
2235#define PARAM os2_PARAM
2236#define NPPARAM os2_NPPARAM
2237#define PPARAM os2_PPARAM
2238#define _PRESPARAMS os2__PRESPARAMS
2239#define PRESPARAMS os2_PRESPARAMS
2240#define NPPRESPARAMS os2_NPPRESPARAMS
2241#define PPRESPARAMS os2_PPRESPARAMS
2242#define _TRACKINFO os2__TRACKINFO
2243#define TRACKINFO os2_TRACKINFO
2244#define PTRACKINFO os2_PTRACKINFO
2245#define IPT os2_IPT
2246#define PIPT os2_PIPT
2247#define PIX os2_PIX
2248#define LINE os2_LINE
2249#define _FORMATRECT os2__FORMATRECT
2250#define MLEFORMATRECT os2_MLEFORMATRECT
2251#define PFORMATRECT os2_PFORMATRECT
2252#define _MLECTLDATA os2__MLECTLDATA
2253#define MLECTLDATA os2_MLECTLDATA
2254#define PMLECTLDATA os2_PMLECTLDATA
2255#define _MLEOVERFLOW os2__MLEOVERFLOW
2256#define MLEOVERFLOW os2_MLEOVERFLOW
2257#define POVERFLOW os2_POVERFLOW
2258#define _MLEMARGSTRUCT os2__MLEMARGSTRUCT
2259#define MLEMARGSTRUCT os2_MLEMARGSTRUCT
2260#define PMARGSTRUCT os2_PMARGSTRUCT
2261#define _SEARCH os2__SEARCH
2262#define MLE_SEARCHDATA os2_MLE_SEARCHDATA
2263#define PMLE_SEARCHDATA os2_PMLE_SEARCHDATA
2264#define os2_CLR_ERROR (-255)
2265#define os2_CLR_NOINDEX (-254)
2266#define os2_CLR_FALSE (-5)
2267#define os2_CLR_TRUE (-4)
2268#define os2_CLR_DEFAULT (-3)
2269#define os2_CLR_WHITE (-2)
2270#define os2_CLR_BLACK (-1)
2271#define os2_CLR_BACKGROUND 0
2272#define os2_CLR_BLUE 1
2273#define os2_CLR_RED 2
2274#define os2_CLR_PINK 3
2275#define os2_CLR_GREEN 4
2276#define os2_CLR_CYAN 5
2277#define os2_CLR_YELLOW 6
2278#define os2_CLR_NEUTRAL 7
2279#define os2_CLR_DARKGRAY 8
2280#define os2_CLR_DARKBLUE 9
2281#define os2_CLR_DARKRED 10
2282#define os2_CLR_DARKPINK 11
2283#define os2_CLR_DARKGREEN 12
2284#define os2_CLR_DARKCYAN 13
2285#define os2_CLR_BROWN 14
2286#define os2_CLR_PALEGRAY 15
2287#define os2_BM_ERROR (-1)
2288#define os2_BM_DEFAULT 0
2289#define os2_BM_OR 1
2290#define os2_BM_OVERPAINT 2
2291#define os2_BM_LEAVEALONE 5
2292#define os2_BM_XOR 4
2293#define os2_BM_AND 6
2294#define os2_BM_SUBTRACT 7
2295#define os2_BM_MASKSRCNOT 8
2296#define os2_BM_ZERO 9
2297#define os2_BM_NOTMERGESRC 10
2298#define os2_BM_NOTXORSRC 11
2299#define os2_BM_INVERT 12
2300#define os2_BM_MERGESRCNOT 13
2301#define os2_BM_NOTCOPYSRC 14
2302#define os2_BM_MERGENOTSRC 15
2303#define os2_BM_NOTMASKSRC 16
2304#define os2_BM_ONE 17
2305#define os2_BM_SRCTRANSPARENT 18
2306#define os2_BM_DESTTRANSPARENT 19
2307#define os2_TA_NORMAL_HORIZ 0x0001
2308#define os2_TA_LEFT 0x0002
2309#define os2_TA_CENTER 0x0003
2310#define os2_TA_RIGHT 0x0004
2311#define os2_TA_STANDARD_HORIZ 0x0005
2312#define os2_TA_NORMAL_VERT 0x0100
2313#define os2_TA_TOP 0x0200
2314#define os2_TA_HALF 0x0300
2315#define os2_TA_BASE 0x0400
2316#define os2_TA_BOTTOM 0x0500
2317#define os2_TA_STANDARD_VERT 0x0600
2318#define os2_RGN_ERROR 0
2319#define os2_RGN_NULL 1
2320#define os2_RGN_RECT 2
2321#define os2_RGN_COMPLEX 3
2322#define PBUNDLE os2_PBUNDLE
2323#define FIXED os2_FIXED
2324#define PFIXED os2_PFIXED
2325#define HMF os2_HMF
2326#define PHMF os2_PHMF
2327#define _SIZEL os2__SIZEL
2328#define SIZEL os2_SIZEL
2329#define PSIZEL os2_PSIZEL
2330#define _RGNRECT os2__RGNRECT
2331#define RGNRECT os2_RGNRECT
2332#define PRGNRECT os2_PRGNRECT
2333#define _MATRIXLF os2__MATRIXLF
2334#define MATRIXLF os2_MATRIXLF
2335#define PMATRIXLF os2_PMATRIXLF
2336#define _ARCPARAMS os2__ARCPARAMS
2337#define ARCPARAMS os2_ARCPARAMS
2338#define PARCPARAMS os2_PARCPARAMS
2339#define _SIZEF os2__SIZEF
2340#define SIZEF os2_SIZEF
2341#define PSIZEF os2_PSIZEF
2342#define _POLYGON os2__POLYGON
2343#define POLYGON os2_POLYGON
2344#define PPOLYGON os2_PPOLYGON
2345#define _POLYSET os2__POLYSET
2346#define POLYSET os2_POLYSET
2347#define PPOLYSET os2_PPOLYSET
2348#define _GRADIENTL os2__GRADIENTL
2349#define GRADIENTL os2_GRADIENTL
2350#define PGRADIENTL os2_PGRADIENTL
2351#define _KERNINGPAIRS os2__KERNINGPAIRS
2352#define KERNINGPAIRS os2_KERNINGPAIRS
2353#define PKERNINGPAIRS os2_PKERNINGPAIRS
2354#define _FACENAMEDESC os2__FACENAMEDESC
2355#define FACENAMEDESC os2_FACENAMEDESC
2356#define PFACENAMEDESC os2_PFACENAMEDESC
2357#define FFDESCS os2_FFDESCS
2358#define PFFDESCS os2_PFFDESCS
2359#define _FFDESCS2 os2__FFDESCS2
2360#define FFDESCS2 os2_FFDESCS2
2361#define PFFDESCS2 os2_PFFDESCS2
2362#define _LINEBUNDLE os2__LINEBUNDLE
2363#define LINEBUNDLE os2_LINEBUNDLE
2364#define PLINEBUNDLE os2_PLINEBUNDLE
2365#define _CHARBUNDLE os2__CHARBUNDLE
2366#define CHARBUNDLE os2_CHARBUNDLE
2367#define PCHARBUNDLE os2_PCHARBUNDLE
2368#define _MARKERBUNDLE os2__MARKERBUNDLE
2369#define MARKERBUNDLE os2_MARKERBUNDLE
2370#define PMARKERBUNDLE os2_PMARKERBUNDLE
2371#define _AREABUNDLE os2__AREABUNDLE
2372#define AREABUNDLE os2_AREABUNDLE
2373#define PAREABUNDLE os2_PAREABUNDLE
2374#define _IMAGEBUNDLE os2__IMAGEBUNDLE
2375#define IMAGEBUNDLE os2_IMAGEBUNDLE
2376#define PIMAGEBUNDLE os2_PIMAGEBUNDLE
2377#define os2_MAKEFIXED (i,f) os2_MAKELONG (f,i)
2378#define os2_FIXEDFRAC (fx) (os2_LOUSHORT(fx))
2379#define os2_FIXEDINT (fx) ((os2_SHORT)HIUSHORT(fx))
2380#define _RGB os2__RGB
2381#define RGB os2_RGB
2382#define _RGB2 os2__RGB2
2383#define RGB2 os2_RGB2
2384#define PRGB2 os2_PRGB2
2385#define _BITMAPINFOHEADER os2__BITMAPINFOHEADER
2386#define BITMAPINFOHEADER os2_BITMAPINFOHEADER
2387#define PBITMAPINFOHEADER os2_PBITMAPINFOHEADER
2388#define _BITMAPINFO os2__BITMAPINFO
2389#define BITMAPINFO os2_BITMAPINFO
2390#define PBITMAPINFO os2_PBITMAPINFO
2391#define _BITMAPINFO2 os2__BITMAPINFO2
2392#define BITMAPINFO2 os2_BITMAPINFO2
2393#define PBITMAPINFO2 os2_PBITMAPINFO2
2394#define _BITMAPINFOHEADER2 os2__BITMAPINFOHEADER2
2395#define BITMAPINFOHEADER2 os2_BITMAPINFOHEADER2
2396#define PBITMAPINFOHEADER2 os2_PBITMAPINFOHEADER2
2397#define _BITMAPFILEHEADER os2__BITMAPFILEHEADER
2398#define BITMAPFILEHEADER os2_BITMAPFILEHEADER
2399#define PBITMAPFILEHEADER os2_PBITMAPFILEHEADER
2400#define _BITMAPARRAYFILEHEADER os2__BITMAPARRAYFILEHEADER
2401#define BITMAPARRAYFILEHEADER os2_BITMAPARRAYFILEHEADER
2402#define PBITMAPARRAYFILEHEADER os2_PBITMAPARRAYFILEHEADER
2403#define _BITMAPFILEHEADER2 os2__BITMAPFILEHEADER2
2404#define BITMAPFILEHEADER2 os2_BITMAPFILEHEADER2
2405#define PBITMAPFILEHEADER2 os2_PBITMAPFILEHEADER2
2406#define _BITMAPARRAYFILEHEADER2 os2__BITMAPARRAYFILEHEADER2
2407#define BITMAPARRAYFILEHEADER2 os2_BITMAPARRAYFILEHEADER2
2408#define PBITMAPARRAYFILEHEADER2 os2_PBITMAPARRAYFILEHEADER2
2409#define os2_DM_ERROR 0
2410#define os2_DM_DRAW 1
2411#define os2_DM_RETAIN 2
2412#define os2_DM_DRAWANDRETAIN 3
2413#define os2_ADDRESS 0
2414#define os2_DRIVER_NAME 1
2415#define os2_DRIVER_DATA 2
2416#define os2_DATA_TYPE 3
2417#define os2_COMMENT 4
2418#define os2_PROC_NAME 5
2419#define os2_PROC_PARAMS 6
2420#define os2_SPL_PARAMS 7
2421#define os2_NETWORK_PARAMS 8
2422#define PDEVOPENDATA os2_PDEVOPENDATA
2423#define _DRIVDATA os2__DRIVDATA
2424#define DRIVDATA os2_DRIVDATA
2425#define PDRIVDATA os2_PDRIVDATA
2426#define _DEVOPENSTRUC os2__DEVOPENSTRUC
2427#define DEVOPENSTRUC os2_DEVOPENSTRUC
2428#define PDEVOPENSTRUC os2_PDEVOPENSTRUC
2429#define _ESCMODE os2__ESCMODE
2430#define ESCMODE os2_ESCMODE
2431#define PESCMODE os2_PESCMODE
2432#define _VIOSIZECOUNT os2__VIOSIZECOUNT
2433#define VIOSIZECOUNT os2_VIOSIZECOUNT
2434#define PVIOSIZECOUNT os2_PVIOSIZECOUNT
2435#define _VIOFONTCELLSIZE os2__VIOFONTCELLSIZE
2436#define VIOFONTCELLSIZE os2_VIOFONTCELLSIZE
2437#define PVIOFONTCELLSIZE os2_PVIOFONTCELLSIZE
2438#define _SFACTORS os2__SFACTORS
2439#define SFACTORS os2_SFACTORS
2440#define PSFACTORS os2_PSFACTORS
2441#define _BANDRECT os2__BANDRECT
2442#define BANDRECT os2_BANDRECT
2443#define PBANDRECT os2_PBANDRECT
2444#define _HCINFO os2__HCINFO
2445#define HCINFO os2_HCINFO
2446#define PHCINFO os2_PHCINFO
2447#define HSWITCH os2_HSWITCH
2448#define PHSWITCH os2_PHSWITCH
2449#define HPROGRAM os2_HPROGRAM
2450#define PHPROGRAM os2_PHPROGRAM
2451#define HINI os2_HINI
2452#define PHINI os2_PHINI
2453#define HAPP os2_HAPP
2454#define _PRFPROFILE os2__PRFPROFILE
2455#define PRFPROFILE os2_PRFPROFILE
2456#define PPRFPROFILE os2_PPRFPROFILE
2457#define PROGCATEGORY os2_PROGCATEGORY
2458#define PPROGCATEGORY os2_PPROGCATEGORY
2459#define _HPROGARRAY os2__HPROGARRAY
2460#define HPROGARRAY os2_HPROGARRAY
2461#define PHPROGARRAY os2_PHPROGARRAY
2462#define _PROGTYPE os2__PROGTYPE
2463#define PROGTYPE os2_PROGTYPE
2464#define PPROGTYPE os2_PPROGTYPE
2465#define _PROGTITLE os2__PROGTITLE
2466#define PROGTITLE os2_PROGTITLE
2467#define PPROGTITLE os2_PPROGTITLE
2468#define _PROGDETAILS os2__PROGDETAILS
2469#define PROGDETAILS os2_PROGDETAILS
2470#define PPROGDETAILS os2_PPROGDETAILS
2471#define _SWCNTRL os2__SWCNTRL
2472#define SWCNTRL os2_SWCNTRL
2473#define PSWCNTRL os2_PSWCNTRL
2474#define _SWENTRY os2__SWENTRY
2475#define SWENTRY os2_SWENTRY
2476#define PSWENTRY os2_PSWENTRY
2477#define _SWBLOCK os2__SWBLOCK
2478#define SWBLOCK os2_SWBLOCK
2479#define PSWBLOCK os2_PSWBLOCK
2480#define os2_FDM_FILTER (os2_WM_USER+40)
2481#define os2_FDM_VALIDATE (os2_WM_USER+41)
2482#define os2_FDM_ERROR (os2_WM_USER+42)
2483#define APSZ os2_APSZ
2484#define PAPSZ os2_PAPSZ
2485#define _FILEDLG os2__FILEDLG
2486#define FILEDLG os2_FILEDLG
2487#define PFILEDLG os2_PFILEDLG
2488#define os2_FNTM_FACENAMECHANGED (os2_WM_USER+50)
2489#define os2_FNTM_POINTSIZECHANGED (os2_WM_USER+51)
2490#define os2_FNTM_STYLECHANGED (os2_WM_USER+52)
2491#define os2_FNTM_COLORCHANGED (os2_WM_USER+53)
2492#define os2_FNTM_UPDATEPREVIEW (os2_WM_USER+54)
2493#define os2_FNTM_FILTERLIST (os2_WM_USER+55)
2494#define _FONTDLG os2__FONTDLG
2495#define FONTDLG os2_FONTDLG
2496#define PFONTDLG os2_PFONTDLG
2497#define _STYLECHANGE os2__STYLECHANGE
2498#define STYLECHANGE os2_STYLECHANGE
2499#define PSTYLECHANGE os2_PSTYLECHANGE
2500#define _SPBCDATA os2__SPBCDATA
2501#define SPBCDATA os2_SPBCDATA
2502#define PSPBCDATA os2_PSPBCDATA
2503#define _SLDCDATA os2__SLDCDATA
2504#define SLDCDATA os2_SLDCDATA
2505#define PSLDCDATA os2_PSLDCDATA
2506#define _CSBITMAPDATA os2__CSBITMAPDATA
2507#define CSBITMAPDATA os2_CSBITMAPDATA
2508#define PCSBITMAPDATA os2_PCSBITMAPDATA
2509#define _BOOKTEXT os2__BOOKTEXT
2510#define BOOKTEXT os2_BOOKTEXT
2511#define PBOOKTEXT os2_PBOOKTEXT
2512#define _NOTEBOOKBUTTON os2__NOTEBOOKBUTTON
2513#define NOTEBOOKBUTTON os2_NOTEBOOKBUTTON
2514#define PNOTEBOOKBUTTON os2_PNOTEBOOKBUTTON
2515#define _DELETENOTIFY os2__DELETENOTIFY
2516#define DELETENOTIFY os2_DELETENOTIFY
2517#define PDELETENOTIFY os2_PDELETENOTIFY
2518#define _PAGESELECTNOTIFY os2__PAGESELECTNOTIFY
2519#define PAGESELECTNOTIFY os2_PAGESELECTNOTIFY
2520#define PPAGESELECTNOTIFY os2_PPAGESELECTNOTIFY
2521#define _BOOKPAGEINFO os2__BOOKPAGEINFO
2522#define BOOKPAGEINFO os2_BOOKPAGEINFO
2523#define PBOOKPAGEINFO os2_PBOOKPAGEINFO
2524#define os2_WM_DRAGFIRST 0x0310
2525#define os2_WM_DRAGLAST 0x032f
2526#define os2_DM_DROP 0x032f
2527#define os2_DM_DRAGOVER 0x032e
2528#define os2_DM_DRAGLEAVE 0x032d
2529#define os2_DM_DROPHELP 0x032c
2530#define os2_DM_ENDCONVERSATION 0x032b
2531#define os2_DM_PRINT 0x032a
2532#define os2_DM_RENDER 0x0329
2533#define os2_DM_RENDERCOMPLETE 0x0328
2534#define os2_DM_RENDERPREPARE 0x0327
2535#define os2_DM_DRAGFILECOMPLETE 0x0326
2536#define os2_DM_EMPHASIZETARGET 0x0325
2537#define os2_DM_DRAGERROR 0x0324
2538#define os2_DM_FILERENDERED 0x0323
2539#define os2_DM_RENDERFILE 0x0322
2540#define os2_DM_DRAGOVERNOTIFY 0x0321
2541#define os2_DM_PRINTOBJECT 0x0320
2542#define os2_DM_DISCARDOBJECT 0x031f
2543#define os2_DM_DROPNOTIFY 0x031e
2544#define os2_MSGF_DRAG 0x0010
2545#define HSTR os2_HSTR
2546#define _DRAGIMAGE os2__DRAGIMAGE
2547#define DRAGIMAGE os2_DRAGIMAGE
2548#define PDRAGIMAGE os2_PDRAGIMAGE
2549#define _DRAGINFO os2__DRAGINFO
2550#define DRAGINFO os2_DRAGINFO
2551#define PDRAGINFO os2_PDRAGINFO
2552#define _DRAGITEM os2__DRAGITEM
2553#define DRAGITEM os2_DRAGITEM
2554#define PDRAGITEM os2_PDRAGITEM
2555#define _DRAGTRANSFER os2__DRAGTRANSFER
2556#define DRAGTRANSFER os2_DRAGTRANSFER
2557#define PDRAGTRANSFER os2_PDRAGTRANSFER
2558#define _RENDERFILE os2__RENDERFILE
2559#define RENDERFILE os2_RENDERFILE
2560#define PRENDERFILE os2_PRENDERFILE
2561#define _VSCDATA os2__VSCDATA
2562#define VSCDATA os2_VSCDATA
2563#define PVSCDATA os2_PVSCDATA
2564#define _VSDRAGINIT os2__VSDRAGINIT
2565#define VSDRAGINIT os2_VSDRAGINIT
2566#define PVSDRAGINIT os2_PVSDRAGINIT
2567#define _VSDRAGINFO os2__VSDRAGINFO
2568#define VSDRAGINFO os2_VSDRAGINFO
2569#define PVSDRAGINFO os2_PVSDRAGINFO
2570#define _VSTEXT os2__VSTEXT
2571#define VSTEXT os2_VSTEXT
2572#define PVSTEXT os2_PVSTEXT
2573#define _TREEITEMDESC os2__TREEITEMDESC
2574#define TREEITEMDESC os2_TREEITEMDESC
2575#define PTREEITEMDESC os2_PTREEITEMDESC
2576#define _FIELDINFO os2__FIELDINFO
2577#define FIELDINFO os2_FIELDINFO
2578#define PFIELDINFO os2_PFIELDINFO
2579#define _RECORDCORE os2__RECORDCORE
2580#define RECORDCORE os2_RECORDCORE
2581#define PRECORDCORE os2_PRECORDCORE
2582#define _MINIRECORDCORE os2__MINIRECORDCORE
2583#define MINIRECORDCORE os2_MINIRECORDCORE
2584#define PMINIRECORDCORE os2_PMINIRECORDCORE
2585#define _TREEMOVE os2__TREEMOVE
2586#define TREEMOVE os2_TREEMOVE
2587#define PTREEMOVE os2_PTREEMOVE
2588#define _CNRINFO os2__CNRINFO
2589#define CNRINFO os2_CNRINFO
2590#define PCNRINFO os2_PCNRINFO
2591#define _GRIDSQUARE os2__GRIDSQUARE
2592#define GRIDSQUARE os2_GRIDSQUARE
2593#define PGRIDSQUARE os2_PGRIDSQUARE
2594#define _GRIDINFO os2__GRIDINFO
2595#define GRIDINFO os2_GRIDINFO
2596#define PGRIDINFO os2_PGRIDINFO
2597#define _CDATE os2__CDATE
2598#define CDATE os2_CDATE
2599#define PCDATE os2_PCDATE
2600#define _CTIME os2__CTIME
2601#define CTIME os2_CTIME
2602#define PCTIME os2_PCTIME
2603#define _CNRDRAGINIT os2__CNRDRAGINIT
2604#define CNRDRAGINIT os2_CNRDRAGINIT
2605#define PCNRDRAGINIT os2_PCNRDRAGINIT
2606#define _FIELDINFOINSERT os2__FIELDINFOINSERT
2607#define FIELDINFOINSERT os2_FIELDINFOINSERT
2608#define PFIELDINFOINSERT os2_PFIELDINFOINSERT
2609#define _RECORDINSERT os2__RECORDINSERT
2610#define RECORDINSERT os2_RECORDINSERT
2611#define PRECORDINSERT os2_PRECORDINSERT
2612#define _QUERYRECFROMRECT os2__QUERYRECFROMRECT
2613#define QUERYRECFROMRECT os2_QUERYRECFROMRECT
2614#define PQUERYRECFROMRECT os2_PQUERYRECFROMRECT
2615#define _QUERYRECORDRECT os2__QUERYRECORDRECT
2616#define QUERYRECORDRECT os2_QUERYRECORDRECT
2617#define PQUERYRECORDRECT os2_PQUERYRECORDRECT
2618#define _SEARCHSTRING os2__SEARCHSTRING
2619#define SEARCHSTRING os2_SEARCHSTRING
2620#define PSEARCHSTRING os2_PSEARCHSTRING
2621#define _CNRDRAGINFO os2__CNRDRAGINFO
2622#define CNRDRAGINFO os2_CNRDRAGINFO
2623#define PCNRDRAGINFO os2_PCNRDRAGINFO
2624#define _CNRLAZYDRAGINFO os2__CNRLAZYDRAGINFO
2625#define CNRLAZYDRAGINFO os2_CNRLAZYDRAGINFO
2626#define PCNRLAZYDRAGINFO os2_PCNRLAZYDRAGINFO
2627#define _NOTIFYRECORDEMPHASIS os2__NOTIFYRECORDEMPHASIS
2628#define NOTIFYRECORDEMPHASIS os2_NOTIFYRECORDEMPHASIS
2629#define PNOTIFYRECORDEMPHASIS os2_PNOTIFYRECORDEMPHASIS
2630#define _NOTIFYRECORDENTER os2__NOTIFYRECORDENTER
2631#define NOTIFYRECORDENTER os2_NOTIFYRECORDENTER
2632#define PNOTIFYRECORDENTER os2_PNOTIFYRECORDENTER
2633#define _NOTIFYDELTA os2__NOTIFYDELTA
2634#define NOTIFYDELTA os2_NOTIFYDELTA
2635#define PNOTIFYDELTA os2_PNOTIFYDELTA
2636#define _NOTIFYSCROLL os2__NOTIFYSCROLL
2637#define NOTIFYSCROLL os2_NOTIFYSCROLL
2638#define PNOTIFYSCROLL os2_PNOTIFYSCROLL
2639#define _CNREDITDATA os2__CNREDITDATA
2640#define CNREDITDATA os2_CNREDITDATA
2641#define PCNREDITDATA os2_PCNREDITDATA
2642#define _OWNERBACKGROUND os2__OWNERBACKGROUND
2643#define OWNERBACKGROUND os2_OWNERBACKGROUND
2644#define POWNERBACKGROUND os2_POWNERBACKGROUND
2645#define _CNRDRAWITEMINFO os2__CNRDRAWITEMINFO
2646#define CNRDRAWITEMINFO os2_CNRDRAWITEMINFO
2647#define PCNRDRAWITEMINFO os2_PCNRDRAWITEMINFO
2648#define os2_CCHMAXCLASS 3
2649#define _OBJCLASS os2__OBJCLASS
2650#define OBJCLASS os2_OBJCLASS
2651#define POBJCLASS os2_POBJCLASS
2652#define HSPL os2_HSPL
2653#define HSTD os2_HSTD
2654#define PHSTD os2_PHSTD
2655#define PQMOPENDATA os2_PQMOPENDATA
2656#define SPLERR os2_SPLERR
2657#define _SQPOPENDATA os2__SQPOPENDATA
2658#define SQPOPENDATA os2_SQPOPENDATA
2659#define PSQPOPENDATA os2_PSQPOPENDATA
2660#define _DRIVPROPS os2__DRIVPROPS
2661#define DRIVPROPS os2_DRIVPROPS
2662#define PDRIVPROPS os2_PDRIVPROPS
2663#define _PRINTERINFO os2__PRINTERINFO
2664#define PRINTERINFO os2_PRINTERINFO
2665#define PPRINTERINFO os2_PPRINTERINFO
2666#define _PRJINFO os2__PRJINFO
2667#define PRJINFO os2_PRJINFO
2668#define PPRJINFO os2_PPRJINFO
2669#define _PRJINFO2 os2__PRJINFO2
2670#define PRJINFO2 os2_PRJINFO2
2671#define PPRJINFO2 os2_PPRJINFO2
2672#define _PRJINFO3 os2__PRJINFO3
2673#define PRJINFO3 os2_PRJINFO3
2674#define PPRJINFO3 os2_PPRJINFO3
2675#define _PRJINFO4 os2__PRJINFO4
2676#define PRJINFO4 os2_PRJINFO4
2677#define PPRJINFO4 os2_PPRJINFO4
2678#define _PRDINFO os2__PRDINFO
2679#define PRDINFO os2_PRDINFO
2680#define PPRDINFO os2_PPRDINFO
2681#define _PRDINFO3 os2__PRDINFO3
2682#define PRDINFO3 os2_PRDINFO3
2683#define PPRDINFO3 os2_PPRDINFO3
2684#define _PRQINFO os2__PRQINFO
2685#define PRQINFO os2_PRQINFO
2686#define PPRQINFO os2_PPRQINFO
2687#define _PRQINFO3 os2__PRQINFO3
2688#define PRQINFO3 os2_PRQINFO3
2689#define PPRQINFO3 os2_PPRQINFO3
2690#define _PRQINFO6 os2__PRQINFO6
2691#define PRQINFO6 os2_PRQINFO6
2692#define PPRQINFO6 os2_PPRQINFO6
2693#define _PRIDINFO os2__PRIDINFO
2694#define PRIDINFO os2_PRIDINFO
2695#define PPRIDINFO os2_PPRIDINFO
2696#define _PRDRIVINFO os2__PRDRIVINFO
2697#define PRDRIVINFO os2_PRDRIVINFO
2698#define PPRDRIVINFO os2_PPRDRIVINFO
2699#define _PRDRIVINFO2 os2__PRDRIVINFO2
2700#define PRDRIVINFO2 os2_PRDRIVINFO2
2701#define PPRDRIVINFO2 os2_PPRDRIVINFO2
2702#define _PRQPROCINFO os2__PRQPROCINFO
2703#define PRQPROCINFO os2_PRQPROCINFO
2704#define PPRQPROCINFO os2_PPRQPROCINFO
2705#define _PRPORTINFO os2__PRPORTINFO
2706#define PRPORTINFO os2_PRPORTINFO
2707#define PPRPORTINFO os2_PPRPORTINFO
2708#define _PRPORTINFO1 os2__PRPORTINFO1
2709#define PRPORTINFO1 os2_PRPORTINFO1
2710#define PPRPORTINFO1 os2_PPRPORTINFO1
2711#define _PRPORTINFO2 os2__PRPORTINFO2
2712#define PRPORTINFO2 os2_PRPORTINFO2
2713#define PPRPORTINFO2 os2_PPRPORTINFO2
2714#define _QMJOBINFO os2__QMJOBINFO
2715#define QMJOBINFO os2_QMJOBINFO
2716#define PQMJOBINFO os2_PQMJOBINFO
2717#define os2_CTRL_PREVIOUS_ID ((os2_USHORT)0x0001)
2718#define os2_CTRL_SEARCH_ID ((os2_USHORT)0x0002)
2719#define os2_CTRL_PRINT_ID ((os2_USHORT)0x0003)
2720#define os2_CTRL_INDEX_ID ((os2_USHORT)0x0004)
2721#define os2_CTRL_CONTENTS_ID ((os2_USHORT)0x0005)
2722#define os2_CTRL_BACK_ID ((os2_USHORT)0x0006)
2723#define os2_CTRL_FORWARD_ID ((os2_USHORT)0x0007)
2724#define os2_CTRL_TUTORIAL_ID ((os2_USHORT)0x00ff)
2725#define os2_CTRL_USER_ID_BASE ((os2_USHORT)0x0101)
2726#define os2_HWND_PARENT (os2_HWND)NULL
2727#define HELPSUBTABLE os2_HELPSUBTABLE
2728#define PHELPSUBTABLE os2_PHELPSUBTABLE
2729#define _ACVP os2__ACVP
2730#define ACVP os2_ACVP
2731#define PACVP os2_PACVP
2732#define _HELPTABLE os2__HELPTABLE
2733#define HELPTABLE os2_HELPTABLE
2734#define PHELPTABLE os2_PHELPTABLE
2735#define _HELPINIT os2__HELPINIT
2736#define HELPINIT os2_HELPINIT
2737#define PHELPINIT os2_PHELPINIT
2738#define os2_CLR_UNCHANGED (-6)
2739#define HDDF os2_HDDF
2740#define _FOCAMETRICS os2__FOCAMETRICS
2741#define FOCAMETRICS os2_FOCAMETRICS
2742#define PFOCAMETRICS os2_PFOCAMETRICS
2743#define _FONTFILEMETRICS os2__FONTFILEMETRICS
2744#define FONTFILEMETRICS os2_FONTFILEMETRICS
2745#define PFONTFILEMETRICS os2_PFONTFILEMETRICS
2746#define _FONTDEFINITIONHEADER os2__FONTDEFINITIONHEADER
2747#define FONTDEFINITIONHEADER os2_FONTDEFINITIONHEADER
2748#define PFONTDEFINITIONHEADER os2_PFONTDEFINITIONHEADER
2749#define _FONTSIGNATURE os2__FONTSIGNATURE
2750#define FONTSIGNATURE os2_FONTSIGNATURE
2751#define PFONTSIGNATURE os2_PFONTSIGNATURE
2752#define _ADDITIONALMETRICS os2__ADDITIONALMETRICS
2753#define ADDITIONALMETRICS os2_ADDITIONALMETRICS
2754#define PADDITIONALMETRICS os2_PADDITIONALMETRICS
2755#define _FOCAFONT os2__FOCAFONT
2756#define FOCAFONT os2_FOCAFONT
2757#define PFOCAFONT os2_PFOCAFONT
2758#define FOCAFONT32 os2_FOCAFONT32
2759#define PFOCAFONT32 os2_PFOCAFONT32
2760#define HVPS os2_HVPS
2761#define PHVPS os2_PHVPS
2762#define HMONITOR os2_HMONITOR
2763#define PHMONITOR os2_PHMONITOR
2764#define _MONIN os2__MONIN
2765#define MONIN os2_MONIN
2766#define PMONIN os2_PMONIN
2767#define _MONOUT os2__MONOUT
2768#define MONOUT os2_MONOUT
2769#define PMONOUT os2_PMONOUT
2770#define HKBD os2_HKBD
2771#define PHKBD os2_PHKBD
2772#define _KBDKEYINFO os2__KBDKEYINFO
2773#define KBDKEYINFO os2_KBDKEYINFO
2774#define PKBDKEYINFO os2_PKBDKEYINFO
2775#define _KBDINFO os2__KBDINFO
2776#define KBDINFO os2_KBDINFO
2777#define PKBDINFO os2_PKBDINFO
2778#define _KBDHWID os2__KBDHWID
2779#define KBDHWID os2_KBDHWID
2780#define PKBDHWID os2_PKBDHWID
2781#define _KBDTRANS os2__KBDTRANS
2782#define KBDTRANS os2_KBDTRANS
2783#define PKBDTRANS os2_PKBDTRANS
2784#define _STRINGINBUF os2__STRINGINBUF
2785#define STRINGINBUF os2_STRINGINBUF
2786#define PSTRINGINBUF os2_PSTRINGINBUF
2787#define HVIO os2_HVIO
2788#define PHVIO os2_PHVIO
2789#define _VIOMODEINFO os2__VIOMODEINFO
2790#define VIOMODEINFO os2_VIOMODEINFO
2791#define PVIOMODEINFO os2_PVIOMODEINFO
2792#define _VIOCONFIGINFO os2__VIOCONFIGINFO
2793#define VIOCONFIGINFO os2_VIOCONFIGINFO
2794#define PVIOCONFIGINFO os2_PVIOCONFIGINFO
2795#define _VIOPHYSBUF os2__VIOPHYSBUF
2796#define VIOPHYSBUF os2_VIOPHYSBUF
2797#define PVIOPHYSBUF os2_PVIOPHYSBUF
2798#define _VIOPALSTATE os2__VIOPALSTATE
2799#define VIOPALSTATE os2_VIOPALSTATE
2800#define PVIOPALSTATE os2_PVIOPALSTATE
2801#define _VIOOVERSCAN os2__VIOOVERSCAN
2802#define VIOOVERSCAN os2_VIOOVERSCAN
2803#define PVIOOVERSCAN os2_PVIOOVERSCAN
2804#define _VIOINTENSITY os2__VIOINTENSITY
2805#define VIOINTENSITY os2_VIOINTENSITY
2806#define PVIOINTENSITY os2_PVIOINTENSITY
2807#define _VIOCOLORREG os2__VIOCOLORREG
2808#define VIOCOLORREG os2_VIOCOLORREG
2809#define PVIOCOLORREG os2_PVIOCOLORREG
2810#define _VIOSETULINELOC os2__VIOSETULINELOC
2811#define VIOSETULINELOC os2_VIOSETULINELOC
2812#define PVIOSETULINELOC os2_PVIOSETULINELOC
2813#define _VIOSETTARGET os2__VIOSETTARGET
2814#define VIOSETTARGET os2_VIOSETTARGET
2815#define PVIOSETTARGET os2_PVIOSETTARGET
2816#define _VIOCURSORINFO os2__VIOCURSORINFO
2817#define VIOCURSORINFO os2_VIOCURSORINFO
2818#define PVIOCURSORINFO os2_PVIOCURSORINFO
2819#define _VIOFONTINFO os2__VIOFONTINFO
2820#define VIOFONTINFO os2_VIOFONTINFO
2821#define PVIOFONTINFO os2_PVIOFONTINFO
2822#define HMOU os2_HMOU
2823#define PHMOU os2_PHMOU
2824#define _MOUEVENTINFO os2__MOUEVENTINFO
2825#define MOUEVENTINFO os2_MOUEVENTINFO
2826#define PMOUEVENTINFO os2_PMOUEVENTINFO
2827#define _MOUQUEINFO os2__MOUQUEINFO
2828#define MOUQUEINFO os2_MOUQUEINFO
2829#define PMOUQUEINFO os2_PMOUQUEINFO
2830#define _PTRLOC os2__PTRLOC
2831#define PTRLOC os2_PTRLOC
2832#define PPTRLOC os2_PPTRLOC
2833#define _NOPTRRECT os2__NOPTRRECT
2834#define NOPTRRECT os2_NOPTRRECT
2835#define PNOPTRRECT os2_PNOPTRRECT
2836#define _PTRSHAPE os2__PTRSHAPE
2837#define PTRSHAPE os2_PTRSHAPE
2838#define PPTRSHAPE os2_PPTRSHAPE
2839#define _SCALEFACT os2__SCALEFACT
2840#define SCALEFACT os2_SCALEFACT
2841#define PSCALEFACT os2_PSCALEFACT
2842#define _THRESHOLD os2__THRESHOLD
2843#define THRESHOLD os2_THRESHOLD
2844#define PTHRESHOLD os2_PTHRESHOLD
2845#define _GINFOSEG os2__GINFOSEG
2846#define GINFOSEG os2_GINFOSEG
2847#define PGINFOSEG os2_PGINFOSEG
2848#define _LINFOSEG os2__LINFOSEG
2849#define LINFOSEG os2_LINFOSEG
2850#define PLINFOSEG os2_PLINFOSEG
2851#define os2_OBJ_LOCATION 0x01000000
2852#define os2_OBJ_FORK 0x02000000
2853
2854/* include the main OS/2 API wrapper */
2855#include <os2wrap.h>
2856
2857#undef _THUNK_PASCAL_FUNCTION
2858#undef MAKE16P
2859#undef MAKEP
2860#undef SELECTOROF
2861#undef OFFSETOF
2862#undef _THUNK_PTR_SIZE_OK
2863
2864#undef APIENTRY
2865#undef EXPENTRY
2866#undef VOID
2867#undef NULLHANDLE
2868#undef NULLSHANDLE
2869#undef INT
2870#undef UINT
2871#undef APIRET
2872#undef BOOL
2873#undef PBOOL
2874#undef BOOL32
2875#undef PBOOL32
2876#undef CHAR
2877#undef PCHAR
2878#undef BYTE
2879#undef PCH
2880#undef PSZ
2881#undef PCCH
2882#undef PCSZ
2883#undef BYTE
2884#undef PCH
2885#undef PSZ
2886#undef PCCH
2887#undef PCSZ
2888#undef PBYTE
2889#undef UCHAR
2890#undef PUCHAR
2891#undef SHORT
2892#undef PSHORT
2893#undef USHORT
2894#undef PUSHORT
2895#undef LONG
2896#undef PLONG
2897#undef ULONG
2898#undef PULONG
2899#undef LONGLONG
2900#undef PLONGLONG
2901#undef ULONGLONG
2902#undef PULONGLONG
2903#undef _LONGLONG
2904#undef LONGLONG
2905#undef PLONGLONG
2906#undef _ULONGLONG
2907#undef ULONGLONG
2908#undef PULONGLONG
2909#undef PVOID
2910#undef PPVOID
2911#undef CPVOID
2912#undef STR8
2913#undef PSTR8
2914#undef STR16
2915#undef PSTR16
2916#undef STR32
2917#undef PSTR32
2918#undef STR64
2919#undef PSTR64
2920#undef SHANDLE
2921#undef LHANDLE
2922#undef HPIPE
2923#undef PHPIPE
2924#undef HQUEUE
2925#undef PHQUEUE
2926#undef HMODULE
2927#undef PHMODULE
2928#undef HSEM
2929#undef PHSEM
2930#undef HOBJECT
2931#undef PID
2932#undef PPID
2933#undef TID
2934#undef PTID
2935#undef PFN
2936#undef PPFN
2937#undef SEL
2938#undef PSEL
2939#undef HMTX
2940#undef PHMTX
2941#undef HMUX
2942#undef PHMUX
2943#undef FIELDOFFSET
2944#undef MAKETYPE
2945#undef MAKEUSHORT
2946#undef MAKESHORT
2947#undef MAKEULONG
2948#undef MAKELONG
2949#undef LOUCHAR
2950#undef HIUCHAR
2951#undef LOBYTE
2952#undef HIBYTE
2953#undef LOUSHORT
2954#undef HIUSHORT
2955#undef WINERR_BASE
2956#undef GPIERR_BASE
2957#undef DEVERR_BASE
2958#undef SPLERR_BASE
2959#undef SEVERITY_NOERROR
2960#undef SEVERITY_WARNING
2961#undef SEVERITY_ERROR
2962#undef SEVERITY_SEVERE
2963#undef SEVERITY_UNRECOVERABLE
2964#undef NO_ERROR
2965#undef ERROR_INVALID_FUNCTION
2966#undef ERROR_FILE_NOT_FOUND
2967#undef ERROR_PATH_NOT_FOUND
2968#undef ERROR_TOO_MANY_OPEN_FILES
2969#undef ERROR_ACCESS_DENIED
2970#undef ERROR_INVALID_HANDLE
2971#undef ERROR_ARENA_TRASHED
2972#undef ERROR_NOT_ENOUGH_MEMORY
2973#undef ERROR_INVALID_BLOCK
2974#undef ERROR_BAD_ENVIRONMENT
2975#undef ERROR_BAD_FORMAT
2976#undef ERROR_INVALID_ACCESS
2977#undef ERROR_INVALID_DATA
2978#undef ERROR_INVALID_DRIVE
2979#undef ERROR_CURRENT_DIRECTORY
2980#undef ERROR_NOT_SAME_DEVICE
2981#undef ERROR_NO_MORE_FILES
2982#undef ERROR_WRITE_PROTECT
2983#undef ERROR_BAD_UNIT
2984#undef ERROR_NOT_READY
2985#undef ERROR_BAD_COMMAND
2986#undef ERROR_CRC
2987#undef ERROR_BAD_LENGTH
2988#undef ERROR_SEEK
2989#undef ERROR_NOT_DOS_DISK
2990#undef ERROR_SECTOR_NOT_FOUND
2991#undef ERROR_OUT_OF_PAPER
2992#undef ERROR_WRITE_FAULT
2993#undef ERROR_READ_FAULT
2994#undef ERROR_GEN_FAILURE
2995#undef ERROR_SHARING_VIOLATION
2996#undef ERROR_LOCK_VIOLATION
2997#undef ERROR_WRONG_DISK
2998#undef ERROR_FCB_UNAVAILABLE
2999#undef ERROR_SHARING_BUFFER_EXCEEDED
3000#undef ERROR_CODE_PAGE_MISMATCHED
3001#undef ERROR_HANDLE_EOF
3002#undef ERROR_HANDLE_DISK_FULL
3003#undef ERROR_NOT_SUPPORTED
3004#undef ERROR_REM_NOT_LIST
3005#undef ERROR_DUP_NAME
3006#undef ERROR_BAD_NETPATH
3007#undef ERROR_NETWORK_BUSY
3008#undef ERROR_DEV_NOT_EXIST
3009#undef ERROR_TOO_MANY_CMDS
3010#undef ERROR_ADAP_HDW_ERR
3011#undef ERROR_BAD_NET_RESP
3012#undef ERROR_UNEXP_NET_ERR
3013#undef ERROR_BAD_REM_ADAP
3014#undef ERROR_PRINTQ_FULL
3015#undef ERROR_NO_SPOOL_SPACE
3016#undef ERROR_PRINT_CANCELLED
3017#undef ERROR_NETNAME_DELETED
3018#undef ERROR_NETWORK_ACCESS_DENIED
3019#undef ERROR_BAD_DEV_TYPE
3020#undef ERROR_BAD_NET_NAME
3021#undef ERROR_TOO_MANY_NAMES
3022#undef ERROR_TOO_MANY_SESS
3023#undef ERROR_SHARING_PAUSED
3024#undef ERROR_REQ_NOT_ACCEP
3025#undef ERROR_REDIR_PAUSED
3026#undef ERROR_SBCS_ATT_WRITE_PROT
3027#undef ERROR_SBCS_GENERAL_FAILURE
3028#undef ERROR_XGA_OUT_MEMORY
3029#undef ERROR_FILE_EXISTS
3030#undef ERROR_DUP_FCB
3031#undef ERROR_CANNOT_MAKE
3032#undef ERROR_FAIL_I24
3033#undef ERROR_OUT_OF_STRUCTURES
3034#undef ERROR_ALREADY_ASSIGNED
3035#undef ERROR_INVALID_PASSWORD
3036#undef ERROR_INVALID_PARAMETER
3037#undef ERROR_NET_WRITE_FAULT
3038#undef ERROR_NO_PROC_SLOTS
3039#undef ERROR_NOT_FROZEN
3040#undef ERROR_SYS_COMP_NOT_LOADED
3041#undef ERROR_NO_ITEMS
3042#undef ERROR_INTERRUPT
3043#undef ERROR_DEVICE_IN_USE
3044#undef ERROR_TOO_MANY_SEMAPHORES
3045#undef ERROR_EXCL_SEM_ALREADY_OWNED
3046#undef ERROR_SEM_IS_SET
3047#undef ERROR_TOO_MANY_SEM_REQUESTS
3048#undef ERROR_INVALID_AT_INTERRUPT_TIME
3049#undef ERROR_SEM_OWNER_DIED
3050#undef ERROR_SEM_USER_LIMIT
3051#undef ERROR_DISK_CHANGE
3052#undef ERROR_DRIVE_LOCKED
3053#undef ERROR_BROKEN_PIPE
3054#undef ERROR_OPEN_FAILED
3055#undef ERROR_BUFFER_OVERFLOW
3056#undef ERROR_DISK_FULL
3057#undef ERROR_NO_MORE_SEARCH_HANDLES
3058#undef ERROR_INVALID_TARGET_HANDLE
3059#undef ERROR_PROTECTION_VIOLATION
3060#undef ERROR_VIOKBD_REQUEST
3061#undef ERROR_INVALID_CATEGORY
3062#undef ERROR_INVALID_VERIFY_SWITCH
3063#undef ERROR_BAD_DRIVER_LEVEL
3064#undef ERROR_CALL_NOT_IMPLEMENTED
3065#undef ERROR_SEM_TIMEOUT
3066#undef ERROR_INSUFFICIENT_BUFFER
3067#undef ERROR_INVALID_NAME
3068#undef ERROR_INVALID_LEVEL
3069#undef ERROR_NO_VOLUME_LABEL
3070#undef ERROR_MOD_NOT_FOUND
3071#undef ERROR_PROC_NOT_FOUND
3072#undef ERROR_WAIT_NO_CHILDREN
3073#undef ERROR_CHILD_NOT_COMPLETE
3074#undef ERROR_DIRECT_ACCESS_HANDLE
3075#undef ERROR_NEGATIVE_SEEK
3076#undef ERROR_SEEK_ON_DEVICE
3077#undef ERROR_IS_JOIN_TARGET
3078#undef ERROR_IS_JOINED
3079#undef ERROR_IS_SUBSTED
3080#undef ERROR_NOT_JOINED
3081#undef ERROR_NOT_SUBSTED
3082#undef ERROR_JOIN_TO_JOIN
3083#undef ERROR_SUBST_TO_SUBST
3084#undef ERROR_JOIN_TO_SUBST
3085#undef ERROR_SUBST_TO_JOIN
3086#undef ERROR_BUSY_DRIVE
3087#undef ERROR_SAME_DRIVE
3088#undef ERROR_DIR_NOT_ROOT
3089#undef ERROR_DIR_NOT_EMPTY
3090#undef ERROR_IS_SUBST_PATH
3091#undef ERROR_IS_JOIN_PATH
3092#undef ERROR_PATH_BUSY
3093#undef ERROR_IS_SUBST_TARGET
3094#undef ERROR_SYSTEM_TRACE
3095#undef ERROR_INVALID_EVENT_COUNT
3096#undef ERROR_TOO_MANY_MUXWAITERS
3097#undef ERROR_INVALID_LIST_FORMAT
3098#undef ERROR_LABEL_TOO_LONG
3099#undef ERROR_TOO_MANY_TCBS
3100#undef ERROR_SIGNAL_REFUSED
3101#undef ERROR_DISCARDED
3102#undef ERROR_NOT_LOCKED
3103#undef ERROR_BAD_THREADID_ADDR
3104#undef ERROR_BAD_ARGUMENTS
3105#undef ERROR_BAD_PATHNAME
3106#undef ERROR_SIGNAL_PENDING
3107#undef ERROR_UNCERTAIN_MEDIA
3108#undef ERROR_MAX_THRDS_REACHED
3109#undef ERROR_MONITORS_NOT_SUPPORTED
3110#undef ERROR_UNC_DRIVER_NOT_INSTALLED
3111#undef ERROR_LOCK_FAILED
3112#undef ERROR_SWAPIO_FAILED
3113#undef ERROR_SWAPIN_FAILED
3114#undef ERROR_BUSY
3115#undef ERROR_CANCEL_VIOLATION
3116#undef ERROR_ATOMIC_LOCK_NOT_SUPPORTED
3117#undef ERROR_READ_LOCKS_NOT_SUPPORTED
3118#undef ERROR_INVALID_SEGMENT_NUMBER
3119#undef ERROR_INVALID_CALLGATE
3120#undef ERROR_INVALID_ORDINAL
3121#undef ERROR_ALREADY_EXISTS
3122#undef ERROR_NO_CHILD_PROCESS
3123#undef ERROR_CHILD_ALIVE_NOWAIT
3124#undef ERROR_INVALID_FLAG_NUMBER
3125#undef ERROR_SEM_NOT_FOUND
3126#undef ERROR_INVALID_STARTING_CODESEG
3127#undef ERROR_INVALID_STACKSEG
3128#undef ERROR_INVALID_MODULETYPE
3129#undef ERROR_INVALID_EXE_SIGNATURE
3130#undef ERROR_EXE_MARKED_INVALID
3131#undef ERROR_BAD_EXE_FORMAT
3132#undef ERROR_ITERATED_DATA_EXCEEDS_64K
3133#undef ERROR_INVALID_MINALLOCSIZE
3134#undef ERROR_DYNLINK_FROM_INVALID_RING
3135#undef ERROR_IOPL_NOT_ENABLED
3136#undef ERROR_INVALID_SEGDPL
3137#undef ERROR_AUTODATASEG_EXCEEDS_64K
3138#undef ERROR_RING2SEG_MUST_BE_MOVABLE
3139#undef ERROR_RELOCSRC_CHAIN_EXCEEDS_SEGLIMIT
3140#undef ERROR_INFLOOP_IN_RELOC_CHAIN
3141#undef ERROR_ENVVAR_NOT_FOUND
3142#undef ERROR_NOT_CURRENT_CTRY
3143#undef ERROR_NO_SIGNAL_SENT
3144#undef ERROR_FILENAME_EXCED_RANGE
3145#undef ERROR_RING2_STACK_IN_USE
3146#undef ERROR_META_EXPANSION_TOO_LONG
3147#undef ERROR_INVALID_SIGNAL_NUMBER
3148#undef ERROR_THREAD_1_INACTIVE
3149#undef ERROR_INFO_NOT_AVAIL
3150#undef ERROR_LOCKED
3151#undef ERROR_BAD_DYNALINK
3152#undef ERROR_TOO_MANY_MODULES
3153#undef ERROR_NESTING_NOT_ALLOWED
3154#undef ERROR_CANNOT_SHRINK
3155#undef ERROR_ZOMBIE_PROCESS
3156#undef ERROR_STACK_IN_HIGH_MEMORY
3157#undef ERROR_INVALID_EXITROUTINE_RING
3158#undef ERROR_GETBUF_FAILED
3159#undef ERROR_FLUSHBUF_FAILED
3160#undef ERROR_TRANSFER_TOO_LONG
3161#undef ERROR_FORCENOSWAP_FAILED
3162#undef ERROR_SMG_NO_TARGET_WINDOW
3163#undef ERROR_NO_CHILDREN
3164#undef ERROR_INVALID_SCREEN_GROUP
3165#undef ERROR_BAD_PIPE
3166#undef ERROR_PIPE_BUSY
3167#undef ERROR_NO_DATA
3168#undef ERROR_PIPE_NOT_CONNECTED
3169#undef ERROR_MORE_DATA
3170#undef ERROR_VC_DISCONNECTED
3171#undef ERROR_CIRCULARITY_REQUESTED
3172#undef ERROR_DIRECTORY_IN_CDS
3173#undef ERROR_INVALID_FSD_NAME
3174#undef ERROR_INVALID_PATH
3175#undef ERROR_INVALID_EA_NAME
3176#undef ERROR_EA_LIST_INCONSISTENT
3177#undef ERROR_EA_LIST_TOO_LONG
3178#undef ERROR_NO_META_MATCH
3179#undef ERROR_FINDNOTIFY_TIMEOUT
3180#undef ERROR_NO_MORE_ITEMS
3181#undef ERROR_SEARCH_STRUC_REUSED
3182#undef ERROR_CHAR_NOT_FOUND
3183#undef ERROR_TOO_MUCH_STACK
3184#undef ERROR_INVALID_ATTR
3185#undef ERROR_INVALID_STARTING_RING
3186#undef ERROR_INVALID_DLL_INIT_RING
3187#undef ERROR_CANNOT_COPY
3188#undef ERROR_DIRECTORY
3189#undef ERROR_OPLOCKED_FILE
3190#undef ERROR_OPLOCK_THREAD_EXISTS
3191#undef ERROR_VOLUME_CHANGED
3192#undef ERROR_FINDNOTIFY_HANDLE_IN_USE
3193#undef ERROR_FINDNOTIFY_HANDLE_CLOSED
3194#undef ERROR_NOTIFY_OBJECT_REMOVED
3195#undef ERROR_ALREADY_SHUTDOWN
3196#undef ERROR_EAS_DIDNT_FIT
3197#undef ERROR_EA_FILE_CORRUPT
3198#undef ERROR_EA_TABLE_FULL
3199#undef ERROR_INVALID_EA_HANDLE
3200#undef ERROR_NO_CLUSTER
3201#undef ERROR_CREATE_EA_FILE
3202#undef ERROR_CANNOT_OPEN_EA_FILE
3203#undef ERROR_EAS_NOT_SUPPORTED
3204#undef ERROR_NEED_EAS_FOUND
3205#undef ERROR_DUPLICATE_HANDLE
3206#undef ERROR_DUPLICATE_NAME
3207#undef ERROR_EMPTY_MUXWAIT
3208#undef ERROR_MUTEX_OWNED
3209#undef ERROR_NOT_OWNER
3210#undef ERROR_PARAM_TOO_SMALL
3211#undef ERROR_TOO_MANY_HANDLES
3212#undef ERROR_TOO_MANY_OPENS
3213#undef ERROR_WRONG_TYPE
3214#undef ERROR_UNUSED_CODE
3215#undef ERROR_THREAD_NOT_TERMINATED
3216#undef ERROR_INIT_ROUTINE_FAILED
3217#undef ERROR_MODULE_IN_USE
3218#undef ERROR_NOT_ENOUGH_WATCHPOINTS
3219#undef ERROR_TOO_MANY_POSTS
3220#undef ERROR_ALREADY_POSTED
3221#undef ERROR_ALREADY_RESET
3222#undef ERROR_SEM_BUSY
3223#undef ERROR_INVALID_PROCID
3224#undef ERROR_INVALID_PDELTA
3225#undef ERROR_NOT_DESCENDANT
3226#undef ERROR_NOT_SESSION_MANAGER
3227#undef ERROR_INVALID_PCLASS
3228#undef ERROR_INVALID_SCOPE
3229#undef ERROR_INVALID_THREADID
3230#undef ERROR_DOSSUB_SHRINK
3231#undef ERROR_DOSSUB_NOMEM
3232#undef ERROR_DOSSUB_OVERLAP
3233#undef ERROR_DOSSUB_BADSIZE
3234#undef ERROR_DOSSUB_BADFLAG
3235#undef ERROR_DOSSUB_BADSELECTOR
3236#undef ERROR_MR_MSG_TOO_LONG
3237#undef ERROR_MR_MID_NOT_FOUND
3238#undef ERROR_MR_UN_ACC_MSGF
3239#undef ERROR_MR_INV_MSGF_FORMAT
3240#undef ERROR_MR_INV_IVCOUNT
3241#undef ERROR_MR_UN_PERFORM
3242#undef ERROR_TS_WAKEUP
3243#undef ERROR_TS_SEMHANDLE
3244#undef ERROR_TS_NOTIMER
3245#undef ERROR_TS_HANDLE
3246#undef ERROR_TS_DATETIME
3247#undef ERROR_SYS_INTERNAL
3248#undef ERROR_QUE_CURRENT_NAME
3249#undef ERROR_QUE_PROC_NOT_OWNED
3250#undef ERROR_QUE_PROC_OWNED
3251#undef ERROR_QUE_DUPLICATE
3252#undef ERROR_QUE_ELEMENT_NOT_EXIST
3253#undef ERROR_QUE_NO_MEMORY
3254#undef ERROR_QUE_INVALID_NAME
3255#undef ERROR_QUE_INVALID_PRIORITY
3256#undef ERROR_QUE_INVALID_HANDLE
3257#undef ERROR_QUE_LINK_NOT_FOUND
3258#undef ERROR_QUE_MEMORY_ERROR
3259#undef ERROR_QUE_PREV_AT_END
3260#undef ERROR_QUE_PROC_NO_ACCESS
3261#undef ERROR_QUE_EMPTY
3262#undef ERROR_QUE_NAME_NOT_EXIST
3263#undef ERROR_QUE_NOT_INITIALIZED
3264#undef ERROR_QUE_UNABLE_TO_ACCESS
3265#undef ERROR_QUE_UNABLE_TO_ADD
3266#undef ERROR_QUE_UNABLE_TO_INIT
3267#undef ERROR_VIO_INVALID_MASK
3268#undef ERROR_VIO_PTR
3269#undef ERROR_VIO_APTR
3270#undef ERROR_VIO_RPTR
3271#undef ERROR_VIO_CPTR
3272#undef ERROR_VIO_LPTR
3273#undef ERROR_VIO_MODE
3274#undef ERROR_VIO_WIDTH
3275#undef ERROR_VIO_ATTR
3276#undef ERROR_VIO_ROW
3277#undef ERROR_VIO_COL
3278#undef ERROR_VIO_TOPROW
3279#undef ERROR_VIO_BOTROW
3280#undef ERROR_VIO_RIGHTCOL
3281#undef ERROR_VIO_LEFTCOL
3282#undef ERROR_SCS_CALL
3283#undef ERROR_SCS_VALUE
3284#undef ERROR_VIO_WAIT_FLAG
3285#undef ERROR_VIO_UNLOCK
3286#undef ERROR_SGS_NOT_SESSION_MGR
3287#undef ERROR_SMG_INVALID_SGID
3288#undef ERROR_SMG_INVALID_SESSION_ID
3289#undef ERROR_SMG_NOSG
3290#undef ERROR_SMG_NO_SESSIONS
3291#undef ERROR_SMG_GRP_NOT_FOUND
3292#undef ERROR_SMG_SESSION_NOT_FOUND
3293#undef ERROR_SMG_SET_TITLE
3294#undef ERROR_KBD_PARAMETER
3295#undef ERROR_KBD_NO_DEVICE
3296#undef ERROR_KBD_INVALID_IOWAIT
3297#undef ERROR_KBD_INVALID_LENGTH
3298#undef ERROR_KBD_INVALID_ECHO_MASK
3299#undef ERROR_KBD_INVALID_INPUT_MASK
3300#undef ERROR_MON_INVALID_PARMS
3301#undef ERROR_MON_INVALID_DEVNAME
3302#undef ERROR_MON_INVALID_HANDLE
3303#undef ERROR_MON_BUFFER_TOO_SMALL
3304#undef ERROR_MON_BUFFER_EMPTY
3305#undef ERROR_MON_DATA_TOO_LARGE
3306#undef ERROR_MOUSE_NO_DEVICE
3307#undef ERROR_MOUSE_INV_HANDLE
3308#undef ERROR_MOUSE_INV_PARMS
3309#undef ERROR_MOUSE_CANT_RESET
3310#undef ERROR_MOUSE_DISPLAY_PARMS
3311#undef ERROR_MOUSE_INV_MODULE
3312#undef ERROR_MOUSE_INV_ENTRY_PT
3313#undef ERROR_MOUSE_INV_MASK
3314#undef ERROR_INVALID_FREQUENCY
3315#undef ERROR_NLS_NO_COUNTRY_FILE
3316#undef ERROR_NLS_OPEN_FAILED
3317#undef ERROR_NLS_NO_CTRY_CODE
3318#undef ERROR_NLS_TABLE_TRUNCATED
3319#undef ERROR_NLS_BAD_TYPE
3320#undef ERROR_NLS_TYPE_NOT_FOUND
3321#undef ERROR_VIO_SMG_ONLY
3322#undef ERROR_VIO_INVALID_ASCIIZ
3323#undef ERROR_VIO_DEREGISTER
3324#undef ERROR_VIO_NO_POPUP
3325#undef ERROR_VIO_EXISTING_POPUP
3326#undef ERROR_KBD_SMG_ONLY
3327#undef ERROR_KBD_INVALID_ASCIIZ
3328#undef ERROR_KBD_INVALID_MASK
3329#undef ERROR_KBD_REGISTER
3330#undef ERROR_KBD_DEREGISTER
3331#undef ERROR_MOUSE_SMG_ONLY
3332#undef ERROR_MOUSE_INVALID_ASCIIZ
3333#undef ERROR_MOUSE_INVALID_MASK
3334#undef ERROR_MOUSE_REGISTER
3335#undef ERROR_MOUSE_DEREGISTER
3336#undef ERROR_SMG_BAD_ACTION
3337#undef ERROR_SMG_INVALID_CALL
3338#undef ERROR_SCS_SG_NOTFOUND
3339#undef ERROR_SCS_NOT_SHELL
3340#undef ERROR_VIO_INVALID_PARMS
3341#undef ERROR_VIO_FUNCTION_OWNED
3342#undef ERROR_VIO_RETURN
3343#undef ERROR_SCS_INVALID_FUNCTION
3344#undef ERROR_SCS_NOT_SESSION_MGR
3345#undef ERROR_VIO_REGISTER
3346#undef ERROR_VIO_NO_MODE_THREAD
3347#undef ERROR_VIO_NO_SAVE_RESTORE_THD
3348#undef ERROR_VIO_IN_BG
3349#undef ERROR_VIO_ILLEGAL_DURING_POPUP
3350#undef ERROR_SMG_NOT_BASESHELL
3351#undef ERROR_SMG_BAD_STATUSREQ
3352#undef ERROR_QUE_INVALID_WAIT
3353#undef ERROR_VIO_LOCK
3354#undef ERROR_MOUSE_INVALID_IOWAIT
3355#undef ERROR_VIO_INVALID_HANDLE
3356#undef ERROR_VIO_ILLEGAL_DURING_LOCK
3357#undef ERROR_VIO_INVALID_LENGTH
3358#undef ERROR_KBD_INVALID_HANDLE
3359#undef ERROR_KBD_NO_MORE_HANDLE
3360#undef ERROR_KBD_CANNOT_CREATE_KCB
3361#undef ERROR_KBD_CODEPAGE_LOAD_INCOMPL
3362#undef ERROR_KBD_INVALID_CODEPAGE_ID
3363#undef ERROR_KBD_NO_CODEPAGE_SUPPORT
3364#undef ERROR_KBD_FOCUS_REQUIRED
3365#undef ERROR_KBD_FOCUS_ALREADY_ACTIVE
3366#undef ERROR_KBD_KEYBOARD_BUSY
3367#undef ERROR_KBD_INVALID_CODEPAGE
3368#undef ERROR_KBD_UNABLE_TO_FOCUS
3369#undef ERROR_SMG_SESSION_NON_SELECT
3370#undef ERROR_SMG_SESSION_NOT_FOREGRND
3371#undef ERROR_SMG_SESSION_NOT_PARENT
3372#undef ERROR_SMG_INVALID_START_MODE
3373#undef ERROR_SMG_INVALID_RELATED_OPT
3374#undef ERROR_SMG_INVALID_BOND_OPTION
3375#undef ERROR_SMG_INVALID_SELECT_OPT
3376#undef ERROR_SMG_START_IN_BACKGROUND
3377#undef ERROR_SMG_INVALID_STOP_OPTION
3378#undef ERROR_SMG_BAD_RESERVE
3379#undef ERROR_SMG_PROCESS_NOT_PARENT
3380#undef ERROR_SMG_INVALID_DATA_LENGTH
3381#undef ERROR_SMG_NOT_BOUND
3382#undef ERROR_SMG_RETRY_SUB_ALLOC
3383#undef ERROR_KBD_DETACHED
3384#undef ERROR_VIO_DETACHED
3385#undef ERROR_MOU_DETACHED
3386#undef ERROR_VIO_FONT
3387#undef ERROR_VIO_USER_FONT
3388#undef ERROR_VIO_BAD_CP
3389#undef ERROR_VIO_NO_CP
3390#undef ERROR_VIO_NA_CP
3391#undef ERROR_INVALID_CODE_PAGE
3392#undef ERROR_CPLIST_TOO_SMALL
3393#undef ERROR_CP_NOT_MOVED
3394#undef ERROR_MODE_SWITCH_INIT
3395#undef ERROR_CODE_PAGE_NOT_FOUND
3396#undef ERROR_UNEXPECTED_SLOT_RETURNED
3397#undef ERROR_SMG_INVALID_TRACE_OPTION
3398#undef ERROR_VIO_INTERNAL_RESOURCE
3399#undef ERROR_VIO_SHELL_INIT
3400#undef ERROR_SMG_NO_HARD_ERRORS
3401#undef ERROR_CP_SWITCH_INCOMPLETE
3402#undef ERROR_VIO_TRANSPARENT_POPUP
3403#undef ERROR_CRITSEC_OVERFLOW
3404#undef ERROR_CRITSEC_UNDERFLOW
3405#undef ERROR_VIO_BAD_RESERVE
3406#undef ERROR_INVALID_ADDRESS
3407#undef ERROR_ZERO_SELECTORS_REQUESTED
3408#undef ERROR_NOT_ENOUGH_SELECTORS_AVA
3409#undef ERROR_INVALID_SELECTOR
3410#undef ERROR_SMG_INVALID_PROGRAM_TYPE
3411#undef ERROR_SMG_INVALID_PGM_CONTROL
3412#undef ERROR_SMG_INVALID_INHERIT_OPT
3413#undef ERROR_VIO_EXTENDED_SG
3414#undef ERROR_VIO_NOT_PRES_MGR_SG
3415#undef ERROR_VIO_SHIELD_OWNED
3416#undef ERROR_VIO_NO_MORE_HANDLES
3417#undef ERROR_VIO_SEE_ERROR_LOG
3418#undef ERROR_VIO_ASSOCIATED_DC
3419#undef ERROR_KBD_NO_CONSOLE
3420#undef ERROR_MOUSE_NO_CONSOLE
3421#undef ERROR_MOUSE_INVALID_HANDLE
3422#undef ERROR_SMG_INVALID_DEBUG_PARMS
3423#undef ERROR_KBD_EXTENDED_SG
3424#undef ERROR_MOU_EXTENDED_SG
3425#undef ERROR_SMG_INVALID_ICON_FILE
3426#undef ERROR_TRC_PID_NON_EXISTENT
3427#undef ERROR_TRC_COUNT_ACTIVE
3428#undef ERROR_TRC_SUSPENDED_BY_COUNT
3429#undef ERROR_TRC_COUNT_INACTIVE
3430#undef ERROR_TRC_COUNT_REACHED
3431#undef ERROR_NO_MC_TRACE
3432#undef ERROR_MC_TRACE
3433#undef ERROR_TRC_COUNT_ZERO
3434#undef ERROR_SMG_TOO_MANY_DDS
3435#undef ERROR_SMG_INVALID_NOTIFICATION
3436#undef ERROR_LF_INVALID_FUNCTION
3437#undef ERROR_LF_NOT_AVAIL
3438#undef ERROR_LF_SUSPENDED
3439#undef ERROR_LF_BUF_TOO_SMALL
3440#undef ERROR_LF_BUFFER_CORRUPTED
3441#undef ERROR_LF_BUFFER_FULL
3442#undef ERROR_LF_INVALID_DAEMON
3443#undef ERROR_LF_INVALID_RECORD
3444#undef ERROR_LF_INVALID_TEMPL
3445#undef ERROR_LF_INVALID_SERVICE
3446#undef ERROR_LF_GENERAL_FAILURE
3447#undef ERROR_LF_INVALID_ID
3448#undef ERROR_LF_INVALID_HANDLE
3449#undef ERROR_LF_NO_ID_AVAIL
3450#undef ERROR_LF_TEMPLATE_AREA_FULL
3451#undef ERROR_LF_ID_IN_USE
3452#undef ERROR_MOU_NOT_INITIALIZED
3453#undef ERROR_MOUINITREAL_DONE
3454#undef ERROR_DOSSUB_CORRUPTED
3455#undef ERROR_MOUSE_CALLER_NOT_SUBSYS
3456#undef ERROR_ARITHMETIC_OVERFLOW
3457#undef ERROR_TMR_NO_DEVICE
3458#undef ERROR_TMR_INVALID_TIME
3459#undef ERROR_PVW_INVALID_ENTITY
3460#undef ERROR_PVW_INVALID_ENTITY_TYPE
3461#undef ERROR_PVW_INVALID_SPEC
3462#undef ERROR_PVW_INVALID_RANGE_TYPE
3463#undef ERROR_PVW_INVALID_COUNTER_BLK
3464#undef ERROR_PVW_INVALID_TEXT_BLK
3465#undef ERROR_PRF_NOT_INITIALIZED
3466#undef ERROR_PRF_ALREADY_INITIALIZED
3467#undef ERROR_PRF_NOT_STARTED
3468#undef ERROR_PRF_ALREADY_STARTED
3469#undef ERROR_PRF_TIMER_OUT_OF_RANGE
3470#undef ERROR_PRF_TIMER_RESET
3471#undef ERROR_VDD_LOCK_USEAGE_DENIED
3472#undef ERROR_TIMEOUT
3473#undef ERROR_VDM_DOWN
3474#undef ERROR_VDM_LIMIT
3475#undef ERROR_VDD_NOT_FOUND
3476#undef ERROR_INVALID_CALLER
3477#undef ERROR_PID_MISMATCH
3478#undef ERROR_INVALID_VDD_HANDLE
3479#undef ERROR_VLPT_NO_SPOOLER
3480#undef ERROR_VCOM_DEVICE_BUSY
3481#undef ERROR_VLPT_DEVICE_BUSY
3482#undef ERROR_NESTING_TOO_DEEP
3483#undef ERROR_VDD_MISSING
3484#undef ERROR_BIDI_INVALID_LENGTH
3485#undef ERROR_BIDI_INVALID_INCREMENT
3486#undef ERROR_BIDI_INVALID_COMBINATION
3487#undef ERROR_BIDI_INVALID_RESERVED
3488#undef ERROR_BIDI_INVALID_EFFECT
3489#undef ERROR_BIDI_INVALID_CSDREC
3490#undef ERROR_BIDI_INVALID_CSDSTATE
3491#undef ERROR_BIDI_INVALID_LEVEL
3492#undef ERROR_BIDI_INVALID_TYPE_SUPPORT
3493#undef ERROR_BIDI_INVALID_ORIENTATION
3494#undef ERROR_BIDI_INVALID_NUM_SHAPE
3495#undef ERROR_BIDI_INVALID_CSD
3496#undef ERROR_BIDI_NO_SUPPORT
3497#undef ERROR_IMP_INVALID_PARM
3498#undef ERROR_IMP_INVALID_LENGTH
3499#undef ERROR_MON_BAD_BUFFER
3500#undef ERROR_MODULE_CORRUPTED
3501#undef ERROR_SM_OUTOF_SWAPFILE
3502#undef ERROR_LF_TIMEOUT
3503#undef ERROR_LF_SUSPEND_SUCCESS
3504#undef ERROR_LF_RESUME_SUCCESS
3505#undef ERROR_LF_REDIRECT_SUCCESS
3506#undef ERROR_LF_REDIRECT_FAILURE
3507#undef ERROR_SWAPPER_NOT_ACTIVE
3508#undef ERROR_INVALID_SWAPID
3509#undef ERROR_IOERR_SWAP_FILE
3510#undef ERROR_SWAP_TABLE_FULL
3511#undef ERROR_SWAP_FILE_FULL
3512#undef ERROR_CANT_INIT_SWAPPER
3513#undef ERROR_SWAPPER_ALREADY_INIT
3514#undef ERROR_PMM_INSUFFICIENT_MEMORY
3515#undef ERROR_PMM_INVALID_FLAGS
3516#undef ERROR_PMM_INVALID_ADDRESS
3517#undef ERROR_PMM_LOCK_FAILED
3518#undef ERROR_PMM_UNLOCK_FAILED
3519#undef ERROR_PMM_MOVE_INCOMPLETE
3520#undef ERROR_UCOM_DRIVE_RENAMED
3521#undef ERROR_UCOM_FILENAME_TRUNCATED
3522#undef ERROR_UCOM_BUFFER_LENGTH
3523#undef ERROR_MON_CHAIN_HANDLE
3524#undef ERROR_MON_NOT_REGISTERED
3525#undef ERROR_SMG_ALREADY_TOP
3526#undef ERROR_PMM_ARENA_MODIFIED
3527#undef ERROR_SMG_PRINTER_OPEN
3528#undef ERROR_PMM_SET_FLAGS_FAILED
3529#undef ERROR_INVALID_DOS_DD
3530#undef ERROR_BLOCKED
3531#undef ERROR_NOBLOCK
3532#undef ERROR_INSTANCE_SHARED
3533#undef ERROR_NO_OBJECT
3534#undef ERROR_PARTIAL_ATTACH
3535#undef ERROR_INCACHE
3536#undef ERROR_SWAP_IO_PROBLEMS
3537#undef ERROR_CROSSES_OBJECT_BOUNDARY
3538#undef ERROR_LONGLOCK
3539#undef ERROR_SHORTLOCK
3540#undef ERROR_UVIRTLOCK
3541#undef ERROR_ALIASLOCK
3542#undef ERROR_ALIAS
3543#undef ERROR_NO_MORE_HANDLES
3544#undef ERROR_SCAN_TERMINATED
3545#undef ERROR_TERMINATOR_NOT_FOUND
3546#undef ERROR_NOT_DIRECT_CHILD
3547#undef ERROR_DELAY_FREE
3548#undef ERROR_GUARDPAGE
3549#undef ERROR_SWAPERROR
3550#undef ERROR_LDRERROR
3551#undef ERROR_NOMEMORY
3552#undef ERROR_NOACCESS
3553#undef ERROR_NO_DLL_TERM
3554#undef ERROR_CPSIO_CODE_PAGE_INVALID
3555#undef ERROR_CPSIO_NO_SPOOLER
3556#undef ERROR_CPSIO_FONT_ID_INVALID
3557#undef ERROR_CPSIO_INTERNAL_ERROR
3558#undef ERROR_CPSIO_INVALID_PTR_NAME
3559#undef ERROR_CPSIO_NOT_ACTIVE
3560#undef ERROR_CPSIO_PID_FULL
3561#undef ERROR_CPSIO_PID_NOT_FOUND
3562#undef ERROR_CPSIO_READ_CTL_SEQ
3563#undef ERROR_CPSIO_READ_FNT_DEF
3564#undef ERROR_CPSIO_WRITE_ERROR
3565#undef ERROR_CPSIO_WRITE_FULL_ERROR
3566#undef ERROR_CPSIO_WRITE_HANDLE_BAD
3567#undef ERROR_CPSIO_SWIT_LOAD
3568#undef ERROR_CPSIO_INV_COMMAND
3569#undef ERROR_CPSIO_NO_FONT_SWIT
3570#undef ERROR_ENTRY_IS_CALLGATE
3571#undef ERROR_USER_DEFINED_BASE
3572#undef ERROR_I24_WRITE_PROTECT
3573#undef ERROR_I24_BAD_UNIT
3574#undef ERROR_I24_NOT_READY
3575#undef ERROR_I24_BAD_COMMAND
3576#undef ERROR_I24_CRC
3577#undef ERROR_I24_BAD_LENGTH
3578#undef ERROR_I24_SEEK
3579#undef ERROR_I24_NOT_DOS_DISK
3580#undef ERROR_I24_SECTOR_NOT_FOUND
3581#undef ERROR_I24_OUT_OF_PAPER
3582#undef ERROR_I24_WRITE_FAULT
3583#undef ERROR_I24_READ_FAULT
3584#undef ERROR_I24_GEN_FAILURE
3585#undef ERROR_I24_DISK_CHANGE
3586#undef ERROR_I24_WRONG_DISK
3587#undef ERROR_I24_UNCERTAIN_MEDIA
3588#undef ERROR_I24_CHAR_CALL_INTERRUPTED
3589#undef ERROR_I24_NO_MONITOR_SUPPORT
3590#undef ERROR_I24_INVALID_PARAMETER
3591#undef ERROR_I24_DEVICE_IN_USE
3592#undef ERROR_I24_QUIET_INIT_FAIL
3593#undef _PANOSE
3594#undef PANOSE
3595#undef _FONTMETRICS
3596#undef FONTMETRICS
3597#undef PFONTMETRICS
3598#undef _FATTRS
3599#undef FATTRS
3600#undef PFATTRS
3601#undef PAG_READ
3602#undef PAG_WRITE
3603#undef PAG_EXECUTE
3604#undef PAG_GUARD
3605#undef PAG_COMMIT
3606#undef PAG_DECOMMIT
3607#undef OBJ_TILE
3608#undef OBJ_PROTECTED
3609#undef OBJ_GETTABLE
3610#undef OBJ_GIVEABLE
3611#undef OBJ_ANY
3612#undef OBJ_SELMAPALL
3613#undef PAG_DEFAULT
3614#undef PAG_SHARED
3615#undef PAG_FREE
3616#undef PAG_BASE
3617#undef PAG_NPOUT
3618#undef PAG_PRESENT
3619#undef PAG_NPIN
3620#undef PAG_PRESMASK
3621#undef PAG_INVALID
3622#undef PAG_RESIDENT
3623#undef PAG_SWAPPABLE
3624#undef PAG_DISCARDABLE
3625#undef PAG_TYPEMASK
3626#undef fPERM
3627#undef fSHARE
3628#undef fALLOC
3629#undef fALLOCSHR
3630#undef fSET
3631#undef CCHMAXPATH
3632#undef CCHMAXPATHCOMP
3633#undef FILE_BEGIN
3634#undef FILE_CURRENT
3635#undef FILE_END
3636#undef FILE_SECTOR
3637#undef FILE_NORMAL
3638#undef FILE_READONLY
3639#undef FILE_HIDDEN
3640#undef FILE_SYSTEM
3641#undef FILE_DIRECTORY
3642#undef FILE_ARCHIVED
3643#undef FILE_IGNORE
3644#undef FILE_EXISTED
3645#undef FILE_CREATED
3646#undef FILE_TRUNCATED
3647#undef FILE_OPEN
3648#undef FILE_TRUNCATE
3649#undef FILE_CREATE
3650#undef MUST_HAVE_READONLY
3651#undef MUST_HAVE_HIDDEN
3652#undef MUST_HAVE_SYSTEM
3653#undef MUST_HAVE_DIRECTORY
3654#undef MUST_HAVE_ARCHIVED
3655#undef HFILE
3656#undef PHFILE
3657#undef FHLOCK
3658#undef PFHLOCK
3659#undef HDIR
3660#undef PHDIR
3661#undef _FTIME
3662#undef FTIME
3663#undef _FTIME
3664#undef FTIME
3665#undef PFTIME
3666#undef _FDATE
3667#undef FDATE
3668#undef _FDATE
3669#undef FDATE
3670#undef PFDATE
3671#undef _FEA
3672#undef FEA
3673#undef PFEA
3674#undef _FEALIST
3675#undef FEALIST
3676#undef PFEALIST
3677#undef _GEA
3678#undef GEA
3679#undef PGEA
3680#undef _GEALIST
3681#undef GEALIST
3682#undef PGEALIST
3683#undef _EAOP
3684#undef EAOP
3685#undef PEAOP
3686#undef _FEA2
3687#undef FEA2
3688#undef PFEA2
3689#undef _FEA2LIST
3690#undef FEA2LIST
3691#undef PFEA2LIST
3692#undef _GEA2
3693#undef GEA2
3694#undef PGEA2
3695#undef _GEA2LIST
3696#undef GEA2LIST
3697#undef PGEA2LIST
3698#undef _EAOP2
3699#undef EAOP2
3700#undef PEAOP2
3701#undef _DENA1
3702#undef DENA1
3703#undef PDENA1
3704#undef DENA2
3705#undef PDENA2
3706#undef _EASIZEBUF
3707#undef EASIZEBUF
3708#undef PEASIZEBUF
3709#undef _ROUTENAMEBUF
3710#undef ROUTENAMEBUF
3711#undef PROUTENAMEBUF
3712#undef _FSDTHREAD
3713#undef FSDTHREAD
3714#undef _FSDDAEMON
3715#undef FSDDAEMON
3716#undef _FILEFINDBUF
3717#undef FILEFINDBUF
3718#undef PFILEFINDBUF
3719#undef _FILEFINDBUF2
3720#undef FILEFINDBUF2
3721#undef PFILEFINDBUF2
3722#undef _FILEFINDBUF3
3723#undef FILEFINDBUF3
3724#undef PFILEFINDBUF3
3725#undef _FILEFINDBUF4
3726#undef FILEFINDBUF4
3727#undef PFILEFINDBUF4
3728#undef _FILEFINDBUF3L
3729#undef FILEFINDBUF3L
3730#undef PFILEFINDBUF3L
3731#undef _FILEFINDBUF4L
3732#undef FILEFINDBUF4L
3733#undef PFILEFINDBUF4L
3734#undef _FILELOCK
3735#undef FILELOCK
3736#undef PFILELOCK
3737#undef _FILELOCKL
3738#undef FILELOCKL
3739#undef PFILELOCKL
3740#undef _FILESTATUS
3741#undef FILESTATUS
3742#undef PFILESTATUS
3743#undef _FILESTATUS2
3744#undef FILESTATUS2
3745#undef PFILESTATUS2
3746#undef _FILESTATUS3
3747#undef FILESTATUS3
3748#undef PFILESTATUS3
3749#undef _FILESTATUS4
3750#undef FILESTATUS4
3751#undef PFILESTATUS4
3752#undef _FILESTATUS3L
3753#undef FILESTATUS3L
3754#undef PFILESTATUS3L
3755#undef _FILESTATUS4L
3756#undef FILESTATUS4L
3757#undef PFILESTATUS4L
3758#undef _FSALLOCATE
3759#undef FSALLOCATE
3760#undef PFSALLOCATE
3761#undef _FSQBUFFER
3762#undef FSQBUFFER
3763#undef PFSQBUFFER
3764#undef _FSQBUFFER2
3765#undef FSQBUFFER2
3766#undef PFSQBUFFER2
3767#undef _SPOOLATTACH
3768#undef SPOOLATTACH
3769#undef PSPOOLATTACH
3770#undef _VOLUMELABEL
3771#undef VOLUMELABEL
3772#undef PVOLUMELABEL
3773#undef _FSINFO
3774#undef FSINFO
3775#undef PFSINFO
3776#undef _LISTIO_CB
3777#undef LISTIO
3778#undef PLISTIO
3779#undef _LISTIO_CBL
3780#undef LISTIOL
3781#undef PLISTIOL
3782#undef ERROR_OCCURRED
3783#undef _DCBINFO
3784#undef DCBINFO
3785#undef PDCBINFO
3786#undef _LINECONTROL
3787#undef LINECONTROL
3788#undef PLINECONTROL
3789#undef _MODEMSTATUS
3790#undef MODEMSTATUS
3791#undef PMODEMSTATUS
3792#undef _KBDTYPE
3793#undef KBDTYPE
3794#undef PKBDTYPE
3795#undef _RATEDELAY
3796#undef RATEDELAY
3797#undef PRATEDELAY
3798#undef _CODEPAGEINFO
3799#undef CODEPAGEINFO
3800#undef PCODEPAGEINFO
3801#undef _CPID
3802#undef CPID
3803#undef PCPID
3804#undef _SHIFTSTATE
3805#undef SHIFTSTATE
3806#undef PSHIFTSTATE
3807#undef _HOTKEY
3808#undef HOTKEY
3809#undef PHOTKEY
3810#undef _PTRDRAWFUNCTION
3811#undef PTRDRAWFUNCTION
3812#undef PPTRDRAWFUNCTION
3813#undef _PTRDRAWADDRESS
3814#undef PTRDRAWADDRESS
3815#undef PPTRDRAWADDRESS
3816#undef _PTRDRAWDATA
3817#undef PTRDRAWDATA
3818#undef PPTRDRAWDATA
3819#undef _TRACKLAYOUT
3820#undef TRACKLAYOUT
3821#undef PTRACKLAYOUT
3822#undef _TRACKFORMAT
3823#undef TRACKFORMAT
3824#undef PTRACKFORMAT
3825#undef _BIOSPARAMETERBLOCK
3826#undef BIOSPARAMETERBLOCK
3827#undef PBIOSPARAMETERBLOCK
3828#undef _DEVICEPARAMETERBLOCK
3829#undef DEVICEPARAMETERBLOCK
3830#undef PDEVICEPARAMETERBLOCK
3831#undef _MONITORPOSITION
3832#undef MONITORPOSITION
3833#undef PMONITORPOSITION
3834#undef _FRAME
3835#undef FRAME
3836#undef PFRAME
3837#undef _LDTADDRINFO
3838#undef LDTADDRINFO
3839#undef PLDTADDRINFO
3840#undef _SCREENGROUP
3841#undef SCREENGROUP
3842#undef PSCREENGROUP
3843#undef _RXQUEUE
3844#undef RXQUEUE
3845#undef PRXQUEUE
3846#undef _GETLINIOCTLDATA
3847#undef GETLINIOCTLDATA
3848#undef PGETLINIOCTLDATA
3849#undef _BANKINFO
3850#undef BANKINFO
3851#undef _GLOBALIOCTLDATA
3852#undef GLOBALIOCTLDATA
3853#undef _OEMSVGAINFO
3854#undef OEMSVGAINFO
3855#undef _OEMINFO
3856#undef OEMINFO
3857#undef _GETGLOBALPACKET
3858#undef GETGLOBALPACKET
3859#undef _COUNTRYCODE
3860#undef COUNTRYCODE
3861#undef PCOUNTRYCODE
3862#undef _COUNTRYINFO
3863#undef COUNTRYINFO
3864#undef PCOUNTRYINFO
3865#undef RT_POINTER
3866#undef RT_BITMAP
3867#undef RT_MENU
3868#undef RT_DIALOG
3869#undef RT_STRING
3870#undef RT_FONTDIR
3871#undef RT_FONT
3872#undef RT_ACCELTABLE
3873#undef RT_RCDATA
3874#undef RT_MESSAGE
3875#undef RT_DLGINCLUDE
3876#undef RT_VKEYTBL
3877#undef RT_KEYTBL
3878#undef RT_CHARTBL
3879#undef RT_DISPLAYINFO
3880#undef RT_FKASHORT
3881#undef RT_FKALONG
3882#undef RT_HELPTABLE
3883#undef RT_HELPSUBTABLE
3884#undef RT_FDDIR
3885#undef RT_FD
3886#undef RT_MAX
3887#undef RT_RESNAMES
3888#undef CREATE_READY
3889#undef CREATE_SUSPENDED
3890#undef EXLST_ADD
3891#undef EXLST_REMOVE
3892#undef EXLST_EXIT
3893#undef _RESULTCODES
3894#undef RESULTCODES
3895#undef PRESULTCODES
3896#undef tib2_s
3897#undef TIB2
3898#undef PTIB2
3899#undef tib_s
3900#undef TIB
3901#undef PTIB
3902#undef pib_s
3903#undef PIB
3904#undef PPIB
3905#undef PFNTHREAD
3906#undef PFNEXITLIST
3907#undef _MPAFFINITY
3908#undef MPAFFINITY
3909#undef PMPAFFINITY
3910#undef _THREADCREATE
3911#undef THREADCREATE
3912#undef PTHREADCREATE
3913#undef _STARTDATA
3914#undef STARTDATA
3915#undef PSTARTDATA
3916#undef _STATUSDATA
3917#undef STATUSDATA
3918#undef PSTATUSDATA
3919#undef SEM_INDEFINITE_WAIT
3920#undef SEM_IMMEDIATE_RETURN
3921#undef HEV
3922#undef PHEV
3923#undef _PSEMRECORD
3924#undef SEMRECORD
3925#undef PSEMRECORD
3926#undef NP_INDEFINITE_WAIT
3927#undef NP_DEFAULT_WAIT
3928#undef NP_STATE_DISCONNECTED
3929#undef NP_STATE_LISTENING
3930#undef NP_STATE_CONNECTED
3931#undef NP_STATE_CLOSING
3932#undef NP_ACCESS_INBOUND
3933#undef NP_ACCESS_OUTBOUND
3934#undef NP_ACCESS_DUPLEX
3935#undef NP_INHERIT
3936#undef NP_NOINHERIT
3937#undef NP_WRITEBEHIND
3938#undef NP_NOWRITEBEHIND
3939#undef NP_READMODE_BYTE
3940#undef NP_READMODE_MESSAGE
3941#undef NP_TYPE_BYTE
3942#undef NP_TYPE_MESSAGE
3943#undef NP_END_CLIENT
3944#undef NP_END_SERVER
3945#undef NP_WAIT
3946#undef NP_NOWAIT
3947#undef NP_UNLIMITED_INSTANCES
3948#undef NP_NBLK
3949#undef NP_SERVER
3950#undef NP_WMESG
3951#undef NP_RMESG
3952#undef NP_ICOUNT
3953#undef _AVAILDATA
3954#undef AVAILDATA
3955#undef PAVAILDATA
3956#undef _PIPEINFO
3957#undef PIPEINFO
3958#undef PPIPEINFO
3959#undef _PIPESEMSTATE
3960#undef PIPESEMSTATE
3961#undef PPIPESEMSTATE
3962#undef _REQUESTDATA
3963#undef REQUESTDATA
3964#undef PREQUESTDATA
3965#undef CONTEXT_CONTROL
3966#undef CONTEXT_INTEGER
3967#undef CONTEXT_SEGMENTS
3968#undef CONTEXT_FLOATING_POINT
3969#undef CONTEXT_FULL
3970#undef EH_NONCONTINUABLE
3971#undef EH_UNWINDING
3972#undef EH_EXIT_UNWIND
3973#undef EH_STACK_INVALID
3974#undef EH_NESTED_CALL
3975#undef XCPT_CONTINUE_SEARCH
3976#undef XCPT_CONTINUE_EXECUTION
3977#undef XCPT_CONTINUE_STOP
3978#undef XCPT_SIGNAL_INTR
3979#undef XCPT_SIGNAL_KILLPROC
3980#undef XCPT_SIGNAL_BREAK
3981#undef XCPT_SIGNAL_APTERM
3982#undef XCPT_FATAL_EXCEPTION
3983#undef XCPT_SEVERITY_CODE
3984#undef XCPT_CUSTOMER_CODE
3985#undef XCPT_FACILITY_CODE
3986#undef XCPT_EXCEPTION_CODE
3987#undef XCPT_UNKNOWN_ACCESS
3988#undef XCPT_READ_ACCESS
3989#undef XCPT_WRITE_ACCESS
3990#undef XCPT_EXECUTE_ACCESS
3991#undef XCPT_SPACE_ACCESS
3992#undef XCPT_LIMIT_ACCESS
3993#undef XCPT_DATA_UNKNOWN
3994#undef XCPT_GUARD_PAGE_VIOLATION
3995#undef XCPT_UNABLE_TO_GROW_STACK
3996#undef XCPT_ACCESS_VIOLATION
3997#undef XCPT_IN_PAGE_ERROR
3998#undef XCPT_ILLEGAL_INSTRUCTION
3999#undef XCPT_INVALID_LOCK_SEQUENCE
4000#undef XCPT_NONCONTINUABLE_EXCEPTION
4001#undef XCPT_INVALID_DISPOSITION
4002#undef XCPT_UNWIND
4003#undef XCPT_BAD_STACK
4004#undef XCPT_INVALID_UNWIND_TARGET
4005#undef XCPT_ARRAY_BOUNDS_EXCEEDED
4006#undef XCPT_FLOAT_DENORMAL_OPERAND
4007#undef XCPT_FLOAT_DIVIDE_BY_ZERO
4008#undef XCPT_FLOAT_INEXACT_RESULT
4009#undef XCPT_FLOAT_INVALID_OPERATION
4010#undef XCPT_FLOAT_OVERFLOW
4011#undef XCPT_FLOAT_STACK_CHECK
4012#undef XCPT_FLOAT_UNDERFLOW
4013#undef XCPT_INTEGER_DIVIDE_BY_ZERO
4014#undef XCPT_INTEGER_OVERFLOW
4015#undef XCPT_PRIVILEGED_INSTRUCTION
4016#undef XCPT_DATATYPE_MISALIGNMENT
4017#undef XCPT_BREAKPOINT
4018#undef XCPT_SINGLE_STEP
4019#undef XCPT_PROCESS_TERMINATE
4020#undef XCPT_ASYNC_PROCESS_TERMINATE
4021#undef XCPT_SIGNAL
4022#undef XCPT_B1NPX_ERRATA_02
4023#undef _fpreg
4024#undef FPREG
4025#undef PFPREG
4026#undef _CONTEXT
4027#undef CONTEXTRECORD
4028#undef PCONTEXTRECORD
4029#undef EXCEPTION_MAXIMUM_PARAMETERS
4030#undef _EXCEPTIONREPORTRECORD
4031#undef EXCEPTIONREPORTRECORD
4032#undef PEXCEPTIONREPORTRECORD
4033#undef ERR
4034#undef _EXCEPTIONREGISTRATIONRECORD
4035#undef EXCEPTIONREGISTRATIONRECORD
4036#undef PEXCEPTIONREGISTRATIONRECORD
4037#undef QSV_MAX_PATH_LENGTH
4038#undef QSV_MAX_TEXT_SESSIONS
4039#undef QSV_MAX_PM_SESSIONS
4040#undef QSV_MAX_VDM_SESSIONS
4041#undef QSV_BOOT_DRIVE
4042#undef QSV_DYN_PRI_VARIATION
4043#undef QSV_MAX_WAIT
4044#undef QSV_MIN_SLICE
4045#undef QSV_MAX_SLICE
4046#undef QSV_PAGE_SIZE
4047#undef QSV_VERSION_MAJOR
4048#undef QSV_VERSION_MINOR
4049#undef QSV_VERSION_REVISION
4050#undef QSV_MS_COUNT
4051#undef QSV_TIME_LOW
4052#undef QSV_TIME_HIGH
4053#undef QSV_TOTPHYSMEM
4054#undef QSV_TOTRESMEM
4055#undef QSV_TOTAVAILMEM
4056#undef QSV_MAXPRMEM
4057#undef QSV_MAXSHMEM
4058#undef QSV_TIMER_INTERVAL
4059#undef QSV_MAX_COMP_LENGTH
4060#undef QSV_FOREGROUND_FS_SESSION
4061#undef QSV_FOREGROUND_PROCESS
4062#undef QSV_NUMPROCESSORS
4063#undef QSV_MAXHPRMEM
4064#undef QSV_MAXHSHMEM
4065#undef QSV_MAXPROCESSES
4066#undef QSV_VIRTUALADDRESSLIMIT
4067#undef QSV_INT10ENABLED
4068#undef QSV_MAX
4069#undef SIS_MMIOADDR
4070#undef SIS_MEC_TABLE
4071#undef SIS_SYS_LOG
4072#undef SIS_PERF_MEC_TABLE
4073#undef _DATETIME
4074#undef DATETIME
4075#undef PDATETIME
4076#undef HTIMER
4077#undef PHTIMER
4078#undef PADSHORT
4079#undef PADCHAR
4080#undef QS_PROCESS
4081#undef QS_SEMAPHORE
4082#undef QS_MTE
4083#undef QS_FILESYS
4084#undef QS_SHMEMORY
4085#undef QS_DISK
4086#undef QS_HWCONFIG
4087#undef QS_NAMEDPIPE
4088#undef QS_THREAD
4089#undef QS_MODVER
4090#undef QS_SUPPORTED
4091#undef QS_END
4092#undef QS_SYSSEM_WAITING
4093#undef QS_SYSSEM_MUXWAITING
4094#undef QS_SYSSEM_OWNER_DIED
4095#undef QS_SYSSEM_EXCLUSIVE
4096#undef QS_SYSSEM_NAME_CLEANUP
4097#undef QS_SYSSEM_THREAD_OWNER_DIED
4098#undef QS_SYSSEM_EXITLIST_OWNER
4099#undef QS_DC_SEM_SHARED
4100#undef QS_DCMW_WAIT_ANY
4101#undef QS_DCMW_WAIT_ALL
4102#undef QS_DCM_MUTEX_SEM
4103#undef QS_DCE_EVENT_SEM
4104#undef QS_DCMW_MUX_SEM
4105#undef QS_DC_SEM_PM
4106#undef QS_DE_POSTED
4107#undef QS_DM_OWNER_DIED
4108#undef QS_DMW_MTX_MUX
4109#undef QS_DHO_SEM_OPEN
4110#undef QS_DE_16BIT_MW
4111#undef QS_DCE_POSTONE
4112#undef QS_DCE_AUTORESET
4113#undef _QWORD
4114#undef QWORD
4115#undef PQWORD
4116#undef _QSGREC
4117#undef QSGREC
4118#undef _QSTREC
4119#undef QSTREC
4120#undef _QSPREC
4121#undef QSPREC
4122#undef _QSS16REC
4123#undef QSS16REC
4124#undef _QSS16HEADREC
4125#undef QSS16HEADREC
4126#undef _QSMREC
4127#undef QSMREC
4128#undef _QSOPENQ
4129#undef QSOPENQ
4130#undef _QSEVENT
4131#undef QSEVENT
4132#undef _QSMUTEX
4133#undef QSMUTEX
4134#undef _QSMUX
4135#undef QSMUX
4136#undef QSHUN
4137#undef _QSS32REC
4138#undef QSS32REC
4139#undef _QSLOBJREC
4140#undef QSLOBJREC
4141#undef _QSLREC
4142#undef QSLREC
4143#undef _QSEXLREC
4144#undef QSEXLREC
4145#undef _QSSFT
4146#undef QSSFT
4147#undef _QSFREC
4148#undef QSFREC
4149#undef _QSPTRREC
4150#undef QSPTRREC
4151#undef SGID
4152#undef HVDD
4153#undef PHVDD
4154#undef HSPINLOCK
4155#undef PHSPINLOCK
4156#undef _TStat
4157#undef _uDB
4158#undef SIS_MMIOADDR
4159#undef SIS_MEC_TABLE
4160#undef SIS_SYS_LOG
4161#undef SIS_PERF_MEC_TABLE
4162#undef _RXSTRING
4163#undef RXSTRING
4164#undef PRXSTRING
4165#undef _RXSYSEXIT
4166#undef RXSYSEXIT
4167#undef PRXSYSEXIT
4168#undef MAKERXSTRING
4169#undef _SHVBLOCK
4170#undef SHVBLOCK
4171#undef PSHVBLOCK
4172#undef PEXIT
4173#undef _RXFNC_FLAGS
4174#undef RXFNC_FLAGS
4175#undef _RXFNCCAL_PARM
4176#undef RXFNCCAL_PARM
4177#undef _RXCMD_FLAGS
4178#undef RXCMD_FLAGS
4179#undef _RXCMDHST_PARM
4180#undef RXCMDHST_PARM
4181#undef _RXMSQPLL_PARM
4182#undef RXMSQPLL_PARM
4183#undef _RXMSQ_FLAGS
4184#undef RXMSQ_FLAGS
4185#undef _RXMSQPSH_PARM
4186#undef RXMSQPSH_PARM
4187#undef _RXMSQSIZ_PARM
4188#undef RXMSQSIZ_PARM
4189#undef _RXMSQNAM_PARM
4190#undef RXMSQNAM_PARM
4191#undef _RXSIOSAY_PARM
4192#undef RXSIOSAY_PARM
4193#undef _RXSIOTRC_PARM
4194#undef RXSIOTRC_PARM
4195#undef _RXSIOTRD_PARM
4196#undef RXSIOTRD_PARM
4197#undef _RXSIODR_PARM
4198#undef RXSIODTR_PARM
4199#undef _RXHLT_FLAGS
4200#undef RXHLT_FLAGS
4201#undef _RXHLTTST_PARM
4202#undef RXHLTTST_PARM
4203#undef _RXTRC_FLAGS
4204#undef RXTRC_FLAGS
4205#undef _RXTRCTST_PARM
4206#undef RXTRCTST_PARM
4207#undef WM_DBCSFIRST
4208#undef WM_DBCSLAST
4209#undef WC_FRAME
4210#undef WC_COMBOBOX
4211#undef WC_BUTTON
4212#undef WC_MENU
4213#undef WC_STATIC
4214#undef WC_ENTRYFIELD
4215#undef WC_LISTBOX
4216#undef WC_SCROLLBAR
4217#undef WC_TITLEBAR
4218#undef WC_MLE
4219#undef WC_APPSTAT
4220#undef WC_KBDSTAT
4221#undef WC_PECIC
4222#undef WC_DBE_KKPOPUP
4223#undef WC_SPINBUTTON
4224#undef WC_CONTAINER
4225#undef WC_SLIDER
4226#undef WC_VALUESET
4227#undef WC_NOTEBOOK
4228#undef WC_PENFIRST
4229#undef WC_PENLAST
4230#undef WC_MMPMFIRST
4231#undef WC_CIRCULARSLIDER
4232#undef WC_MMPMLAST
4233#undef WS_VISIBLE
4234#undef WS_DISABLED
4235#undef WS_CLIPCHILDREN
4236#undef WS_CLIPSIBLINGS
4237#undef WS_PARENTCLIP
4238#undef WS_SAVEBITS
4239#undef WS_SYNCPAINT
4240#undef WS_MINIMIZED
4241#undef WS_MAXIMIZED
4242#undef WS_ANIMATE
4243#undef WS_GROUP
4244#undef WS_TABSTOP
4245#undef WS_MULTISELECT
4246#undef CS_MOVENOTIFY
4247#undef CS_SIZEREDRAW
4248#undef CS_HITTEST
4249#undef CS_PUBLIC
4250#undef CS_FRAME
4251#undef CS_CLIPCHILDREN
4252#undef CS_CLIPSIBLINGS
4253#undef CS_PARENTCLIP
4254#undef CS_SAVEBITS
4255#undef CS_SYNCPAINT
4256#undef DT_LEFT
4257#undef DT_QUERYEXTENT
4258#undef DT_UNDERSCORE
4259#undef DT_STRIKEOUT
4260#undef DT_TEXTATTRS
4261#undef DT_EXTERNALLEADING
4262#undef DT_CENTER
4263#undef DT_RIGHT
4264#undef DT_TOP
4265#undef DT_VCENTER
4266#undef DT_BOTTOM
4267#undef DT_HALFTONE
4268#undef DT_MNEMONIC
4269#undef DT_WORDBREAK
4270#undef DT_ERASERECT
4271#undef SWP_SIZE
4272#undef SWP_MOVE
4273#undef SWP_ZORDER
4274#undef SWP_SHOW
4275#undef SWP_HIDE
4276#undef SWP_NOREDRAW
4277#undef SWP_NOADJUST
4278#undef SWP_ACTIVATE
4279#undef SWP_DEACTIVATE
4280#undef SWP_EXTSTATECHANGE
4281#undef SWP_MINIMIZE
4282#undef SWP_MAXIMIZE
4283#undef SWP_RESTORE
4284#undef SWP_FOCUSACTIVATE
4285#undef SWP_FOCUSDEACTIVATE
4286#undef SWP_NOAUTOCLOSE
4287#undef HWND_DESKTOP
4288#undef HWND_OBJECT
4289#undef HWND_TOP
4290#undef HWND_BOTTOM
4291#undef HWND_THREADCAPTURE
4292#undef HACCEL
4293#undef HRGN
4294#undef PHRGN
4295#undef MRESULT
4296#undef PMRESULT
4297#undef MPARAM
4298#undef PMPARAM
4299#undef HPOINTER
4300#undef HLIB
4301#undef PHLIB
4302#undef COLOR
4303#undef PCOLOR
4304#undef HAB
4305#undef PHAB
4306#undef HPS
4307#undef PHPS
4308#undef HDC
4309#undef PHDC
4310#undef HWND
4311#undef PHWND
4312#undef HMQ
4313#undef HPAL
4314#undef PHPAL
4315#undef HBITMAP
4316#undef PHBITMAP
4317#undef ERRORID
4318#undef PERRORID
4319#undef PFNWP
4320#undef ERRORIDERROR
4321#undef ERRORIDSEV
4322#undef MAKEERRORID
4323#undef _POINTL
4324#undef POINTL
4325#undef PPOINTL
4326#undef _POINTS
4327#undef POINTS
4328#undef PPOINTS
4329#undef _RECTL
4330#undef RECTL
4331#undef PRECTL
4332#undef WM_NULL
4333#undef WM_CREATE
4334#undef WM_DESTROY
4335#undef WM_ENABLE
4336#undef WM_SHOW
4337#undef WM_MOVE
4338#undef WM_SIZE
4339#undef WM_ADJUSTWINDOWPOS
4340#undef WM_CALCVALIDRECTS
4341#undef WM_SETWINDOWPARAMS
4342#undef WM_QUERYWINDOWPARAMS
4343#undef WM_HITTEST
4344#undef WM_ACTIVATE
4345#undef WM_SETFOCUS
4346#undef WM_SETSELECTION
4347#undef WM_PPAINT
4348#undef WM_PSETFOCUS
4349#undef WM_PSYSCOLORCHANGE
4350#undef WM_PSIZE
4351#undef WM_PACTIVATE
4352#undef WM_PCONTROL
4353#undef WM_COMMAND
4354#undef WM_SYSCOMMAND
4355#undef WM_HELP
4356#undef WM_PAINT
4357#undef WM_TIMER
4358#undef WM_SEM1
4359#undef WM_SEM2
4360#undef WM_SEM3
4361#undef WM_SEM4
4362#undef WM_CLOSE
4363#undef WM_QUIT
4364#undef WM_SYSCOLORCHANGE
4365#undef WM_SYSVALUECHANGED
4366#undef WM_APPTERMINATENOTIFY
4367#undef WM_PRESPARAMCHANGED
4368#undef WM_CONTROL
4369#undef WM_VSCROLL
4370#undef WM_HSCROLL
4371#undef WM_INITMENU
4372#undef WM_MENUSELECT
4373#undef WM_MENUEND
4374#undef WM_DRAWITEM
4375#undef WM_MEASUREITEM
4376#undef WM_CONTROLPOINTER
4377#undef WM_QUERYDLGCODE
4378#undef WM_INITDLG
4379#undef WM_SUBSTITUTESTRING
4380#undef WM_MATCHMNEMONIC
4381#undef WM_SAVEAPPLICATION
4382#undef WM_HELPBASE
4383#undef WM_HELPTOP
4384#undef WM_USER
4385#undef _QMSG
4386#undef QMSG
4387#undef PQMSG
4388#undef _COMMANDMSG
4389#undef CMDMSG
4390#undef PCMDMSG
4391#undef _MQINFO
4392#undef MQINFO
4393#undef PMQINFO
4394#undef COMMANDMSG
4395#undef _SWP
4396#undef SWP
4397#undef PSWP
4398#undef _ICONINFO
4399#undef ICONINFO
4400#undef PICONINFO
4401#undef MPVOID
4402#undef MPFROMP
4403#undef MPFROMHWND
4404#undef MPFROMCHAR
4405#undef MPFROMSHORT
4406#undef MPFROM2SHORT
4407#undef MPFROMSH2CH
4408#undef MPFROMLONG
4409#undef PVOIDFROMMP
4410#undef HWNDFROMMP
4411#undef CHAR1FROMMP
4412#undef CHAR2FROMMP
4413#undef CHAR3FROMMP
4414#undef CHAR4FROMMP
4415#undef SHORT1FROMMP
4416#undef SHORT2FROMMP
4417#undef LONGFROMMP
4418#undef MRFROMP
4419#undef MRFROMSHORT
4420#undef MRFROM2SHORT
4421#undef MRFROMLONG
4422#undef PVOIDFROMMR
4423#undef SHORT1FROMMR
4424#undef SHORT2FROMMR
4425#undef LONGFROMMR
4426#undef _FRAMECDATA
4427#undef FRAMECDATA
4428#undef PFRAMECDATA
4429#undef WM_FLASHWINDOW
4430#undef WM_FORMATFRAME
4431#undef WM_UPDATEFRAME
4432#undef WM_FOCUSCHANGE
4433#undef WM_SETBORDERSIZE
4434#undef WM_TRACKFRAME
4435#undef WM_MINMAXFRAME
4436#undef WM_SETICON
4437#undef WM_QUERYICON
4438#undef WM_SETACCELTABLE
4439#undef WM_QUERYACCELTABLE
4440#undef WM_TRANSLATEACCEL
4441#undef WM_QUERYTRACKINFO
4442#undef WM_QUERYBORDERSIZE
4443#undef WM_NEXTMENU
4444#undef WM_ERASEBACKGROUND
4445#undef WM_QUERYFRAMEINFO
4446#undef WM_QUERYFOCUSCHAIN
4447#undef WM_OWNERPOSCHANGE
4448#undef WM_CALCFRAMERECT
4449#undef WM_WINDOWPOSCHANGED
4450#undef WM_ADJUSTFRAMEPOS
4451#undef WM_QUERYFRAMECTLCOUNT
4452#undef WM_QUERYHELPINFO
4453#undef WM_SETHELPINFO
4454#undef WM_ERROR
4455#undef WM_REALIZEPALETTE
4456#undef SC_SIZE
4457#undef SC_MOVE
4458#undef SC_MINIMIZE
4459#undef SC_MAXIMIZE
4460#undef SC_CLOSE
4461#undef SC_NEXT
4462#undef SC_APPMENU
4463#undef SC_SYSMENU
4464#undef SC_RESTORE
4465#undef SC_NEXTFRAME
4466#undef SC_NEXTWINDOW
4467#undef SC_TASKMANAGER
4468#undef SC_HELPKEYS
4469#undef SC_HELPINDEX
4470#undef SC_HELPEXTENDED
4471#undef SC_SWITCHPANELIDS
4472#undef SC_DBE_FIRST
4473#undef SC_DBE_LAST
4474#undef SC_BEGINDRAG
4475#undef SC_ENDDRAG
4476#undef SC_SELECT
4477#undef SC_OPEN
4478#undef SC_CONTEXTMENU
4479#undef SC_CONTEXTHELP
4480#undef SC_TEXTEDIT
4481#undef SC_BEGINSELECT
4482#undef SC_ENDSELECT
4483#undef SC_WINDOW
4484#undef SC_HIDE
4485#undef HSAVEWP
4486#undef _QVERSDATA
4487#undef QVERSDATA
4488#undef PQVERSDATA
4489#undef WM_QUERYCONVERTPOS
4490#undef _CLASSINFO
4491#undef CLASSINFO
4492#undef PCLASSINFO
4493#undef _CREATESTRUCT
4494#undef CREATESTRUCT
4495#undef PCREATESTRUCT
4496#undef HENUM
4497#undef _ACCEL
4498#undef ACCEL
4499#undef PACCEL
4500#undef _ACCELTABLE
4501#undef ACCELTABLE
4502#undef PACCELTABLE
4503#undef HATOMTBL
4504#undef ATOM
4505#undef MAKEINTATOM
4506#undef BM_CLICK
4507#undef BM_QUERYCHECKINDEX
4508#undef BM_QUERYHILITE
4509#undef BM_SETHILITE
4510#undef BM_QUERYCHECK
4511#undef BM_SETCHECK
4512#undef BM_SETDEFAULT
4513#undef BN_CLICKED
4514#undef BN_DBLCLICKED
4515#undef BN_PAINT
4516#undef BS_PUSHBUTTON
4517#undef BS_CHECKBOX
4518#undef BS_AUTOCHECKBOX
4519#undef BS_RADIOBUTTON
4520#undef BS_AUTORADIOBUTTON
4521#undef BS_3STATE
4522#undef BS_AUTO3STATE
4523#undef BS_USERBUTTON
4524#undef BS_NOTEBOOKBUTTON
4525#undef BS_PRIMARYSTYLES
4526#undef BS_TEXT
4527#undef BS_MINIICON
4528#undef BS_BITMAP
4529#undef BS_ICON
4530#undef BS_HELP
4531#undef BS_SYSCOMMAND
4532#undef BS_DEFAULT
4533#undef BS_NOPOINTERFOCUS
4534#undef BS_NOBORDER
4535#undef BS_NOCURSORSELECT
4536#undef BS_AUTOSIZE
4537#undef _BTNCDATA
4538#undef BTNCDATA
4539#undef PBTNCDATA
4540#undef _USERBUTTON
4541#undef USERBUTTON
4542#undef PUSERBUTTON
4543#undef WM_RENDERFMT
4544#undef WM_RENDERALLFMTS
4545#undef WM_DESTROYCLIPBOARD
4546#undef WM_PAINTCLIPBOARD
4547#undef WM_SIZECLIPBOARD
4548#undef WM_HSCROLLCLIPBOARD
4549#undef WM_VSCROLLCLIPBOARD
4550#undef WM_DRAWCLIPBOARD
4551#undef CF_TEXT
4552#undef CF_BITMAP
4553#undef CF_DSPTEXT
4554#undef CF_DSPBITMAP
4555#undef CF_METAFILE
4556#undef CF_DSPMETAFILE
4557#undef CF_PALETTE
4558#undef CF_MMPMFIRST
4559#undef CF_MMPMLAST
4560#undef _CPTEXT
4561#undef CPTEXT
4562#undef PCPTEXT
4563#undef _MFP
4564#undef MFP
4565#undef PMFP
4566#undef WM_DDE_FIRST
4567#undef WM_DDE_INITIATE
4568#undef WM_DDE_REQUEST
4569#undef WM_DDE_ACK
4570#undef WM_DDE_DATA
4571#undef WM_DDE_ADVISE
4572#undef WM_DDE_UNADVISE
4573#undef WM_DDE_POKE
4574#undef WM_DDE_EXECUTE
4575#undef WM_DDE_TERMINATE
4576#undef WM_DDE_INITIATEACK
4577#undef WM_DDE_LAST
4578#undef DDE_FACK
4579#undef DDE_FBUSY
4580#undef DDE_FNODATA
4581#undef DDE_FACKREQ
4582#undef DDE_FRESPONSE
4583#undef DDE_NOTPROCESSED
4584#undef DDE_FRESERVED
4585#undef DDE_FAPPSTATUS
4586#undef SZDDESYS_TOPIC
4587#undef SZDDESYS_ITEM_TOPICS
4588#undef SZDDESYS_ITEM_SYSITEMS
4589#undef SZDDESYS_ITEM_RTNMSG
4590#undef SZDDESYS_ITEM_STATUS
4591#undef SZDDESYS_ITEM_FORMATS
4592#undef SZDDESYS_ITEM_SECURITY
4593#undef SZDDESYS_ITEM_ITEMFORMATS
4594#undef SZDDESYS_ITEM_HELP
4595#undef SZDDESYS_ITEM_PROTOCOLS
4596#undef SZDDESYS_ITEM_RESTART
4597#undef _CONVCONTEXT
4598#undef CONVCONTEXT
4599#undef PCONVCONTEXT
4600#undef _DDEINIT
4601#undef DDEINIT
4602#undef PDDEINIT
4603#undef _DDESTRUCT
4604#undef DDESTRUCT
4605#undef PDDESTRUCT
4606#undef DDES_PABDATA
4607#undef DDEI_PCONVCONTEXT
4608#undef _CURSORINFO
4609#undef CURSORINFO
4610#undef PCURSORINFO
4611#undef _DESKTOP
4612#undef DESKTOP
4613#undef PDESKTOP
4614#undef MB_OK
4615#undef MB_OKCANCEL
4616#undef MB_RETRYCANCEL
4617#undef MB_ABORTRETRYIGNORE
4618#undef MB_YESNO
4619#undef MB_YESNOCANCEL
4620#undef MB_CANCEL
4621#undef MB_ENTER
4622#undef MB_ENTERCANCEL
4623#undef MB_NOICON
4624#undef MB_CUANOTIFICATION
4625#undef MB_ICONQUESTION
4626#undef MB_ICONEXCLAMATION
4627#undef MB_CUAWARNING
4628#undef MB_ICONASTERISK
4629#undef MB_ICONHAND
4630#undef MB_CUACRITICAL
4631#undef MB_QUERY
4632#undef MB_WARNING
4633#undef MB_INFORMATION
4634#undef MB_CRITICAL
4635#undef MB_ERROR
4636#undef MB_CUSTOMICON
4637#undef MB_DEFBUTTON1
4638#undef MB_DEFBUTTON2
4639#undef MB_DEFBUTTON3
4640#undef MB_APPLMODAL
4641#undef MB_SYSTEMMODAL
4642#undef MB_HELP
4643#undef MB_MOVEABLE
4644#undef MB_NONMODAL
4645#undef _MB2D
4646#undef MB2D
4647#undef PMB2D
4648#undef _MB2INFO
4649#undef MB2INFO
4650#undef PMB2INFO
4651#undef WinCheckButton
4652#define WinCheckButton(hwndDlg,id,usCheckState) \
4653 ((os2_ULONG)WinSendDlgItemMsg (hwndDlg, id, os2_BM_SETCHECK, \
4654 os2_MPFROMSHORT (usCheckState), (os2_MPARAM)NULL))
4655#undef WinIsControlEnabled
4656#define WinIsControlEnabled(hwndDlg,id) \
4657 ((os2_BOOL)WinIsWindowEnabled (WinWindowFromID (hwndDlg, id)))
4658#undef WinQueryButtonCheckstate
4659#define WinQueryButtonCheckstate(hwndDlg,id) \
4660 ((os2_ULONG)WinSendDlgItemMsg (hwndDlg, id, os2_BM_QUERYCHECK, \
4661 (os2_MPARAM)NULL, (os2_MPARAM)NULL))
4662#undef DLGC_ENTRYFIELD
4663#undef DLGC_BUTTON
4664#undef DLGC_RADIOBUTTON
4665#undef DLGC_STATIC
4666#undef DLGC_DEFAULT
4667#undef DLGC_PUSHBUTTON
4668#undef DLGC_CHECKBOX
4669#undef DLGC_SCROLLBAR
4670#undef DLGC_MENU
4671#undef DLGC_TABONCLICK
4672#undef DLGC_MLE
4673#undef _DLGTITEM
4674#undef DLGTITEM
4675#undef PDLGTITEM
4676#undef _DLGTEMPLATE
4677#undef DLGTEMPLATE
4678#undef PDLGTEMPLATE
4679#undef CBS_SIMPLE
4680#undef CBS_DROPDOWN
4681#undef CBS_DROPDOWNLIST
4682#undef CBS_COMPATIBLE
4683#undef EM_QUERYCHANGED
4684#undef EM_QUERYSEL
4685#undef EM_SETSEL
4686#undef EM_SETTEXTLIMIT
4687#undef EM_CUT
4688#undef EM_COPY
4689#undef EM_CLEAR
4690#undef EM_PASTE
4691#undef EM_QUERYFIRSTCHAR
4692#undef EM_SETFIRSTCHAR
4693#undef EM_QUERYREADONLY
4694#undef EM_SETREADONLY
4695#undef EM_SETINSERTMODE
4696#undef EN_SETFOCUS
4697#undef EN_KILLFOCUS
4698#undef EN_CHANGE
4699#undef EN_SCROLL
4700#undef EN_MEMERROR
4701#undef EN_OVERFLOW
4702#undef EN_INSERTMODETOGGLE
4703#undef ES_LEFT
4704#undef ES_CENTER
4705#undef ES_RIGHT
4706#undef ES_AUTOSCROLL
4707#undef ES_MARGIN
4708#undef ES_AUTOTAB
4709#undef ES_READONLY
4710#undef ES_COMMAND
4711#undef ES_UNREADABLE
4712#undef ES_AUTOSIZE
4713#undef ES_ANY
4714#undef ES_SBCS
4715#undef ES_DBCS
4716#undef ES_MIXED
4717#undef _COMBOCDATA
4718#undef COMBOCDATA
4719#undef PCOMBOCDATA
4720#undef _ENTRYFDATA
4721#undef ENTRYFDATA
4722#undef PENTRYFDATA
4723#undef _ERRINFO
4724#undef ERRINFO
4725#undef PERRINFO
4726#undef MSGF_DIALOGBOX
4727#undef MSGF_MESSAGEBOX
4728#undef MSGF_DDEPOSTMSG
4729#undef MSGF_TRACK
4730#undef _SMHSTRUCT
4731#undef SMHSTRUCT
4732#undef PSMHSTRUCT
4733#undef WM_MOUSEFIRST
4734#undef WM_MOUSEMOVE
4735#undef WM_BUTTONCLICKFIRST
4736#undef WM_BUTTON1DOWN
4737#undef WM_BUTTON1UP
4738#undef WM_BUTTON1DBLCLK
4739#undef WM_BUTTON2DOWN
4740#undef WM_BUTTON2UP
4741#undef WM_BUTTON2DBLCLK
4742#undef WM_BUTTON3DOWN
4743#undef WM_BUTTON3UP
4744#undef WM_BUTTON3DBLCLK
4745#undef WM_BUTTONCLICKLAST
4746#undef WM_MOUSELAST
4747#undef WM_CHAR
4748#undef WM_VIOCHAR
4749#undef WM_JOURNALNOTIFY
4750#undef WM_MOUSEMAP
4751#undef WM_VRNDISABLED
4752#undef WM_VRNENABLED
4753#undef WM_EXTMOUSEFIRST
4754#undef WM_CHORD
4755#undef WM_BUTTON1MOTIONSTART
4756#undef WM_BUTTON1MOTIONEND
4757#undef WM_BUTTON1CLICK
4758#undef WM_BUTTON2MOTIONSTART
4759#undef WM_BUTTON2MOTIONEND
4760#undef WM_BUTTON2CLICK
4761#undef WM_BUTTON3MOTIONSTART
4762#undef WM_BUTTON3MOTIONEND
4763#undef WM_BUTTON3CLICK
4764#undef WM_EXTMOUSELAST
4765#undef WM_MOUSETRANSLATEFIRST
4766#undef WM_BEGINDRAG
4767#undef WM_ENDDRAG
4768#undef WM_SINGLESELECT
4769#undef WM_OPEN
4770#undef WM_CONTEXTMENU
4771#undef WM_CONTEXTHELP
4772#undef WM_TEXTEDIT
4773#undef WM_BEGINSELECT
4774#undef WM_ENDSELECT
4775#undef WM_MOUSETRANSLATELAST
4776#undef WM_PICKUP
4777#undef WM_PENFIRST
4778#undef WM_PENLAST
4779#undef WM_MMPMFIRST
4780#undef WM_MMPMLAST
4781#undef WM_BIDI_FIRST
4782#undef WM_BIDI_LAST
4783#undef VK_BUTTON1
4784#undef VK_BUTTON2
4785#undef VK_BUTTON3
4786#undef VK_BREAK
4787#undef VK_BACKSPACE
4788#undef VK_TAB
4789#undef VK_BACKTAB
4790#undef VK_NEWLINE
4791#undef VK_SHIFT
4792#undef VK_CTRL
4793#undef VK_ALT
4794#undef VK_ALTGRAF
4795#undef VK_PAUSE
4796#undef VK_CAPSLOCK
4797#undef VK_ESC
4798#undef VK_SPACE
4799#undef VK_PAGEUP
4800#undef VK_PAGEDOWN
4801#undef VK_END
4802#undef VK_HOME
4803#undef VK_LEFT
4804#undef VK_UP
4805#undef VK_RIGHT
4806#undef VK_DOWN
4807#undef VK_PRINTSCRN
4808#undef VK_INSERT
4809#undef VK_DELETE
4810#undef VK_SCRLLOCK
4811#undef VK_NUMLOCK
4812#undef VK_ENTER
4813#undef VK_SYSRQ
4814#undef VK_F1
4815#undef VK_F2
4816#undef VK_F3
4817#undef VK_F4
4818#undef VK_F5
4819#undef VK_F6
4820#undef VK_F7
4821#undef VK_F8
4822#undef VK_F9
4823#undef VK_F10
4824#undef VK_F11
4825#undef VK_F12
4826#undef VK_F13
4827#undef VK_F14
4828#undef VK_F15
4829#undef VK_F16
4830#undef VK_F17
4831#undef VK_F18
4832#undef VK_F19
4833#undef VK_F20
4834#undef VK_F21
4835#undef VK_F22
4836#undef VK_F23
4837#undef VK_F24
4838#undef VK_ENDDRAG
4839#undef VK_CLEAR
4840#undef VK_EREOF
4841#undef VK_PA1
4842#undef VK_ATTN
4843#undef VK_CRSEL
4844#undef VK_EXSEL
4845#undef VK_COPY
4846#undef VK_BLK1
4847#undef VK_BLK2
4848#undef VK_MENU
4849#undef VK_DBCSFIRST
4850#undef VK_DBCSLAST
4851#undef VK_BIDI_FIRST
4852#undef VK_BIDI_LAST
4853#undef VK_USERFIRST
4854#undef VK_USERLAST
4855#undef _CHARMSG
4856#undef CHRMSG
4857#undef PCHRMSG
4858#undef _MOUSEMSG
4859#undef MSEMSG
4860#undef PMSEMSG
4861#undef CHARMSG
4862#undef MOUSEMSG
4863#undef LM_QUERYITEMCOUNT
4864#undef LM_INSERTITEM
4865#undef LM_SETTOPINDEX
4866#undef LM_DELETEITEM
4867#undef LM_SELECTITEM
4868#undef LM_QUERYSELECTION
4869#undef LM_SETITEMTEXT
4870#undef LM_QUERYITEMTEXTLENGTH
4871#undef LM_QUERYITEMTEXT
4872#undef LM_SETITEMHANDLE
4873#undef LM_QUERYITEMHANDLE
4874#undef LM_SEARCHSTRING
4875#undef LM_SETITEMHEIGHT
4876#undef LM_QUERYTOPINDEX
4877#undef LM_DELETEALL
4878#undef LM_INSERTMULTITEMS
4879#undef LM_SETITEMWIDTH
4880#undef _LBOXINFO
4881#undef LBOXINFO
4882#undef PLBOXINFO
4883#undef WinDeleteLboxItem
4884#define WinDeleteLboxItem(hwndLbox,index) \
4885 ((os2_LONG)WinSendMsg (hwndLbox, os2_LM_DELETEITEM, os2_MPFROMLONG (index), \
4886 (os2_MPARAM)NULL))
4887#undef WinInsertLboxItem
4888#define WinInsertLboxItem(hwndLbox,index,psz) \
4889 ((os2_LONG)WinSendMsg (hwndLbox, os2_LM_INSERTITEM, os2_MPFROMLONG(index), \
4890 os2_MPFROMP (psz)))
4891#undef WinQueryLboxCount
4892#define WinQueryLboxCount(hwndLbox) \
4893 ((os2_LONG)WinSendMsg (hwndLbox, os2_LM_QUERYITEMCOUNT, (os2_MPARAM)NULL, \
4894 (os2_MPARAM)NULL))
4895#undef WinQueryLboxItemText
4896#define WinQueryLboxItemText(hwndLbox,index,psz,cchMax) \
4897 ((os2_LONG)WinSendMsg (hwndLbox, os2_LM_QUERYITEMTEXT, \
4898 os2_MPFROM2SHORT((index), (cchMax)), os2_MPFROMP (psz)))
4899#undef WinQueryLboxItemTextLength
4900#define WinQueryLboxItemTextLength(hwndLbox,index) \
4901 ((os2_SHORT)WinSendMsg (hwndLbox, os2_LM_QUERYITEMTEXTLENGTH, \
4902 os2_MPFROMSHORT (index), (os2_MPARAM)NULL))
4903#undef WinQueryLboxSelectedItem
4904#define WinQueryLboxSelectedItem(hwndLbox) \
4905 ((os2_LONG)WinSendMsg (hwndLbox, os2_LM_QUERYSELECTION, os2_MPFROMLONG (LIT_FIRST), \
4906 (os2_MPARAM)NULL))
4907#undef WinSetLboxItemText
4908#define WinSetLboxItemText(hwndLbox,index,psz) \
4909 ((os2_BOOL)WinSendMsg (hwndLbox, os2_LM_SETITEMTEXT, \
4910 os2_MPFROMLONG (index), os2_MPFROMP (psz)))
4911#undef MIA_NODISMISS
4912#undef MIA_FRAMED
4913#undef MIA_CHECKED
4914#undef MIA_DISABLED
4915#undef MIA_HILITED
4916#undef MM_INSERTITEM
4917#undef MM_DELETEITEM
4918#undef MM_QUERYITEM
4919#undef MM_SETITEM
4920#undef MM_QUERYITEMCOUNT
4921#undef MM_STARTMENUMODE
4922#undef MM_ENDMENUMODE
4923#undef MM_REMOVEITEM
4924#undef MM_SELECTITEM
4925#undef MM_QUERYSELITEMID
4926#undef MM_QUERYITEMTEXT
4927#undef MM_QUERYITEMTEXTLENGTH
4928#undef MM_SETITEMHANDLE
4929#undef MM_SETITEMTEXT
4930#undef MM_ITEMPOSITIONFROMID
4931#undef MM_ITEMIDFROMPOSITION
4932#undef MM_QUERYITEMATTR
4933#undef MM_SETITEMATTR
4934#undef MM_ISITEMVALID
4935#undef MM_QUERYITEMRECT
4936#undef MM_QUERYDEFAULTITEMID
4937#undef MM_SETDEFAULTITEMID
4938#undef _MENUITEM
4939#undef MENUITEM
4940#undef PMENUITEM
4941#undef _mti
4942#undef MTI
4943#undef _mt
4944#undef MT
4945#undef LPMT
4946#undef _OWNERITEM
4947#undef OWNERITEM
4948#undef POWNERITEM
4949#undef WinCheckMenuItem
4950#define WinCheckMenuItem(hwndMenu,id,fcheck) \
4951 ((os2_BOOL)WinSendMsg (hwndMenu, os2_MM_SETITEMATTR, \
4952 os2_MPFROM2SHORT (id, TRUE), \
4953 os2_MPFROM2SHORT (os2_MIA_CHECKED, \
4954 ((os2_USHORT)(fcheck) ? os2_MIA_CHECKED : 0))))
4955#undef WinEnableMenuItem
4956#define WinEnableMenuItem(hwndMenu,id,fEnable) \
4957 ((os2_BOOL)WinSendMsg (hwndMenu, os2_MM_SETITEMATTR, os2_MPFROM2SHORT (id, TRUE), \
4958 os2_MPFROM2SHORT (os2_MIA_DISABLED, \
4959 ((os2_USHORT)(fEnable) ? 0 : os2_MIA_DISABLED))))
4960#undef WinIsMenuItemChecked
4961#define WinIsMenuItemChecked(hwndMenu,id) \
4962 ((os2_BOOL)WinSendMsg (hwndMenu, os2_MM_QUERYITEMATTR, \
4963 os2_MPFROM2SHORT (id, TRUE), \
4964 os2_MPFROMLONG (os2_MIA_CHECKED)))
4965#undef WinIsMenuItemEnabled
4966#define WinIsMenuItemEnabled(hwndMenu,id) \
4967 (!(os2_BOOL)WinSendMsg (hwndMenu, os2_MM_QUERYITEMATTR, \
4968 os2_MPFROM2SHORT (id, TRUE), \
4969 os2_MPFROMLONG (os2_MIA_DISABLED)))
4970#undef WinIsMenuItemValid
4971#define WinIsMenuItemValid(hwndMenu,id) \
4972 ((os2_BOOL)WinSendMsg (hwndMenu, os2_MM_ISITEMVALID, \
4973 os2_MPFROM2SHORT (id, TRUE), os2_MPFROMLONG (FALSE)))
4974#undef WinSetMenuItemText
4975#define WinSetMenuItemText(hwndMenu,id,psz) \
4976 ((os2_BOOL)WinSendMsg (hwndMenu, os2_MM_SETITEMTEXT, \
4977 os2_MPFROMLONG (id), os2_MPFROMP (psz)))
4978#undef QS_KEY
4979#undef QS_MOUSEBUTTON
4980#undef QS_MOUSEMOVE
4981#undef QS_MOUSE
4982#undef QS_TIMER
4983#undef QS_PAINT
4984#undef QS_POSTMSG
4985#undef QS_SEM1
4986#undef QS_SEM2
4987#undef QS_SEM3
4988#undef QS_SEM4
4989#undef QS_SENDMSG
4990#undef QS_MSGINPUT
4991#undef _WNDPARAMS
4992#undef WNDPARAMS
4993#undef PWNDPARAMS
4994#undef _POINTERINFO
4995#undef POINTERINFO
4996#undef PPOINTERINFO
4997#undef SB_LINEUP
4998#undef SB_LINEDOWN
4999#undef SB_LINELEFT
5000#undef SB_LINERIGHT
5001#undef SB_PAGEUP
5002#undef SB_PAGEDOWN
5003#undef SB_PAGELEFT
5004#undef SB_PAGERIGHT
5005#undef SB_SLIDERTRACK
5006#undef SB_SLIDERPOSITION
5007#undef SB_ENDSCROLL
5008#undef SBM_SETSCROLLBAR
5009#undef SBM_SETPOS
5010#undef SBM_QUERYPOS
5011#undef SBM_QUERYRANGE
5012#undef SBM_SETTHUMBSIZE
5013#undef SBS_HORZ
5014#undef SBS_VERT
5015#undef SBS_THUMBSIZE
5016#undef SBS_AUTOTRACK
5017#undef SBS_AUTOSIZE
5018#undef _SBCDATA
5019#undef SBCDATA
5020#undef PSBCDATA
5021#undef SS_TEXT
5022#undef SS_GROUPBOX
5023#undef SS_ICON
5024#undef SS_BITMAP
5025#undef SS_FGNDRECT
5026#undef SS_HALFTONERECT
5027#undef SS_BKGNDRECT
5028#undef SS_FGNDFRAME
5029#undef SS_HALFTONEFRAME
5030#undef SS_BKGNDFRAME
5031#undef SS_SYSICON
5032#undef SS_AUTOSIZE
5033#undef WM_MSGBOXINIT
5034#undef WM_MSGBOXDISMISS
5035#undef SV_SWAPBUTTON
5036#undef SV_DBLCLKTIME
5037#undef SV_CXDBLCLK
5038#undef SV_CYDBLCLK
5039#undef SV_CXSIZEBORDER
5040#undef SV_CYSIZEBORDER
5041#undef SV_ALARM
5042#undef SV_CURSORRATE
5043#undef SV_FIRSTSCROLLRATE
5044#undef SV_SCROLLRATE
5045#undef SV_NUMBEREDLISTS
5046#undef SV_WARNINGFREQ
5047#undef SV_NOTEFREQ
5048#undef SV_ERRORFREQ
5049#undef SV_WARNINGDURATION
5050#undef SV_NOTEDURATION
5051#undef SV_ERRORDURATION
5052#undef SV_CXSCREEN
5053#undef SV_CYSCREEN
5054#undef SV_CXVSCROLL
5055#undef SV_CYHSCROLL
5056#undef SV_CYVSCROLLARROW
5057#undef SV_CXHSCROLLARROW
5058#undef SV_CXBORDER
5059#undef SV_CYBORDER
5060#undef SV_CXDLGFRAME
5061#undef SV_CYDLGFRAME
5062#undef SV_CYTITLEBAR
5063#undef SV_CYVSLIDER
5064#undef SV_CXHSLIDER
5065#undef SV_CXMINMAXBUTTON
5066#undef SV_CYMINMAXBUTTON
5067#undef SV_CYMENU
5068#undef SV_CXFULLSCREEN
5069#undef SV_CYFULLSCREEN
5070#undef SV_CXICON
5071#undef SV_CYICON
5072#undef SV_CXPOINTER
5073#undef SV_CYPOINTER
5074#undef SV_DEBUG
5075#undef SV_CMOUSEBUTTONS
5076#undef SV_CPOINTERBUTTONS
5077#undef SV_POINTERLEVEL
5078#undef SV_CURSORLEVEL
5079#undef SV_TRACKRECTLEVEL
5080#undef SV_CTIMERS
5081#undef SV_MOUSEPRESENT
5082#undef SV_CXBYTEALIGN
5083#undef SV_CXALIGN
5084#undef SV_CYBYTEALIGN
5085#undef SV_CYALIGN
5086#undef SV_DESKTOPWORKAREAYTOP
5087#undef SV_DESKTOPWORKAREAYBOTTOM
5088#undef SV_DESKTOPWORKAREAXRIGHT
5089#undef SV_DESKTOPWORKAREAXLEFT
5090#undef SV_NOTRESERVED
5091#undef SV_EXTRAKEYBEEP
5092#undef SV_SETLIGHTS
5093#undef SV_INSERTMODE
5094#undef SV_MENUROLLDOWNDELAY
5095#undef SV_MENUROLLUPDELAY
5096#undef SV_ALTMNEMONIC
5097#undef SV_TASKLISTMOUSEACCESS
5098#undef SV_CXICONTEXTWIDTH
5099#undef SV_CICONTEXTLINES
5100#undef SV_CHORDTIME
5101#undef SV_CXCHORD
5102#undef SV_CYCHORD
5103#undef SV_CXMOTIONSTART
5104#undef SV_CYMOTIONSTART
5105#undef SV_BEGINDRAG
5106#undef SV_ENDDRAG
5107#undef SV_SINGLESELECT
5108#undef SV_OPEN
5109#undef SV_CONTEXTMENU
5110#undef SV_CONTEXTHELP
5111#undef SV_TEXTEDIT
5112#undef SV_BEGINSELECT
5113#undef SV_ENDSELECT
5114#undef SV_BEGINDRAGKB
5115#undef SV_ENDDRAGKB
5116#undef SV_SELECTKB
5117#undef SV_OPENKB
5118#undef SV_CONTEXTMENUKB
5119#undef SV_CONTEXTHELPKB
5120#undef SV_TEXTEDITKB
5121#undef SV_BEGINSELECTKB
5122#undef SV_ENDSELECTKB
5123#undef SV_ANIMATION
5124#undef SV_ANIMATIONSPEED
5125#undef SV_MONOICONS
5126#undef SV_KBDALTERED
5127#undef SV_PRINTSCREEN
5128#undef SV_LOCKSTARTINPUT
5129#undef SV_DYNAMICDRAG
5130#undef SV_CSYSVALUES
5131#undef WM_CTLCOLORCHANGE
5132#undef WM_QUERYCTLTYPE
5133#undef _CTLCOLOR
5134#undef CTLCOLOR
5135#undef PCTLCOLOR
5136#undef _PARAM
5137#undef PARAM
5138#undef NPPARAM
5139#undef PPARAM
5140#undef _PRESPARAMS
5141#undef PRESPARAMS
5142#undef NPPRESPARAMS
5143#undef PPRESPARAMS
5144#undef _TRACKINFO
5145#undef TRACKINFO
5146#undef PTRACKINFO
5147#undef IPT
5148#undef PIPT
5149#undef PIX
5150#undef LINE
5151#undef _FORMATRECT
5152#undef MLEFORMATRECT
5153#undef PFORMATRECT
5154#undef _MLECTLDATA
5155#undef MLECTLDATA
5156#undef PMLECTLDATA
5157#undef _MLEOVERFLOW
5158#undef MLEOVERFLOW
5159#undef POVERFLOW
5160#undef _MLEMARGSTRUCT
5161#undef MLEMARGSTRUCT
5162#undef PMARGSTRUCT
5163#undef _SEARCH
5164#undef MLE_SEARCHDATA
5165#undef PMLE_SEARCHDATA
5166#undef CLR_ERROR
5167#undef CLR_NOINDEX
5168#undef CLR_FALSE
5169#undef CLR_TRUE
5170#undef CLR_DEFAULT
5171#undef CLR_WHITE
5172#undef CLR_BLACK
5173#undef CLR_BACKGROUND
5174#undef CLR_BLUE
5175#undef CLR_RED
5176#undef CLR_PINK
5177#undef CLR_GREEN
5178#undef CLR_CYAN
5179#undef CLR_YELLOW
5180#undef CLR_NEUTRAL
5181#undef CLR_DARKGRAY
5182#undef CLR_DARKBLUE
5183#undef CLR_DARKRED
5184#undef CLR_DARKPINK
5185#undef CLR_DARKGREEN
5186#undef CLR_DARKCYAN
5187#undef CLR_BROWN
5188#undef CLR_PALEGRAY
5189#undef BM_ERROR
5190#undef BM_DEFAULT
5191#undef BM_OR
5192#undef BM_OVERPAINT
5193#undef BM_LEAVEALONE
5194#undef BM_XOR
5195#undef BM_AND
5196#undef BM_SUBTRACT
5197#undef BM_MASKSRCNOT
5198#undef BM_ZERO
5199#undef BM_NOTMERGESRC
5200#undef BM_NOTXORSRC
5201#undef BM_INVERT
5202#undef BM_MERGESRCNOT
5203#undef BM_NOTCOPYSRC
5204#undef BM_MERGENOTSRC
5205#undef BM_NOTMASKSRC
5206#undef BM_ONE
5207#undef BM_SRCTRANSPARENT
5208#undef BM_DESTTRANSPARENT
5209#undef TA_NORMAL_HORIZ
5210#undef TA_LEFT
5211#undef TA_CENTER
5212#undef TA_RIGHT
5213#undef TA_STANDARD_HORIZ
5214#undef TA_NORMAL_VERT
5215#undef TA_TOP
5216#undef TA_HALF
5217#undef TA_BASE
5218#undef TA_BOTTOM
5219#undef TA_STANDARD_VERT
5220#undef RGN_ERROR
5221#undef RGN_NULL
5222#undef RGN_RECT
5223#undef RGN_COMPLEX
5224#undef PBUNDLE
5225#undef FIXED
5226#undef PFIXED
5227#undef HMF
5228#undef PHMF
5229#undef _SIZEL
5230#undef SIZEL
5231#undef PSIZEL
5232#undef _RGNRECT
5233#undef RGNRECT
5234#undef PRGNRECT
5235#undef _MATRIXLF
5236#undef MATRIXLF
5237#undef PMATRIXLF
5238#undef _ARCPARAMS
5239#undef ARCPARAMS
5240#undef PARCPARAMS
5241#undef _SIZEF
5242#undef SIZEF
5243#undef PSIZEF
5244#undef _POLYGON
5245#undef POLYGON
5246#undef PPOLYGON
5247#undef _POLYSET
5248#undef POLYSET
5249#undef PPOLYSET
5250#undef _GRADIENTL
5251#undef GRADIENTL
5252#undef PGRADIENTL
5253#undef _KERNINGPAIRS
5254#undef KERNINGPAIRS
5255#undef PKERNINGPAIRS
5256#undef _FACENAMEDESC
5257#undef FACENAMEDESC
5258#undef PFACENAMEDESC
5259#undef FFDESCS
5260#undef PFFDESCS
5261#undef _FFDESCS2
5262#undef FFDESCS2
5263#undef PFFDESCS2
5264#undef _LINEBUNDLE
5265#undef LINEBUNDLE
5266#undef PLINEBUNDLE
5267#undef _CHARBUNDLE
5268#undef CHARBUNDLE
5269#undef PCHARBUNDLE
5270#undef _MARKERBUNDLE
5271#undef MARKERBUNDLE
5272#undef PMARKERBUNDLE
5273#undef _AREABUNDLE
5274#undef AREABUNDLE
5275#undef PAREABUNDLE
5276#undef _IMAGEBUNDLE
5277#undef IMAGEBUNDLE
5278#undef PIMAGEBUNDLE
5279#undef MAKEFIXED
5280#undef FIXEDFRAC
5281#undef FIXEDINT
5282#undef _RGB
5283#undef RGB
5284#undef _RGB2
5285#undef RGB2
5286#undef PRGB2
5287#undef _BITMAPINFOHEADER
5288#undef BITMAPINFOHEADER
5289#undef PBITMAPINFOHEADER
5290#undef _BITMAPINFO
5291#undef BITMAPINFO
5292#undef PBITMAPINFO
5293#undef _BITMAPINFO2
5294#undef BITMAPINFO2
5295#undef PBITMAPINFO2
5296#undef _BITMAPINFOHEADER2
5297#undef BITMAPINFOHEADER2
5298#undef PBITMAPINFOHEADER2
5299#undef _BITMAPFILEHEADER
5300#undef BITMAPFILEHEADER
5301#undef PBITMAPFILEHEADER
5302#undef _BITMAPARRAYFILEHEADER
5303#undef BITMAPARRAYFILEHEADER
5304#undef PBITMAPARRAYFILEHEADER
5305#undef _BITMAPFILEHEADER2
5306#undef BITMAPFILEHEADER2
5307#undef PBITMAPFILEHEADER2
5308#undef _BITMAPARRAYFILEHEADER2
5309#undef BITMAPARRAYFILEHEADER2
5310#undef PBITMAPARRAYFILEHEADER2
5311#undef DM_ERROR
5312#undef DM_DRAW
5313#undef DM_RETAIN
5314#undef DM_DRAWANDRETAIN
5315#undef ADDRESS
5316#undef DRIVER_NAME
5317#undef DRIVER_DATA
5318#undef DATA_TYPE
5319#undef COMMENT
5320#undef PROC_NAME
5321#undef PROC_PARAMS
5322#undef SPL_PARAMS
5323#undef NETWORK_PARAMS
5324#undef PDEVOPENDATA
5325#undef _DRIVDATA
5326#undef DRIVDATA
5327#undef PDRIVDATA
5328#undef _DEVOPENSTRUC
5329#undef DEVOPENSTRUC
5330#undef PDEVOPENSTRUC
5331#undef _ESCMODE
5332#undef ESCMODE
5333#undef PESCMODE
5334#undef _VIOSIZECOUNT
5335#undef VIOSIZECOUNT
5336#undef PVIOSIZECOUNT
5337#undef _VIOFONTCELLSIZE
5338#undef VIOFONTCELLSIZE
5339#undef PVIOFONTCELLSIZE
5340#undef _SFACTORS
5341#undef SFACTORS
5342#undef PSFACTORS
5343#undef _BANDRECT
5344#undef BANDRECT
5345#undef PBANDRECT
5346#undef _HCINFO
5347#undef HCINFO
5348#undef PHCINFO
5349#undef HSWITCH
5350#undef PHSWITCH
5351#undef HPROGRAM
5352#undef PHPROGRAM
5353#undef HINI
5354#undef PHINI
5355#undef HAPP
5356#undef _PRFPROFILE
5357#undef PRFPROFILE
5358#undef PPRFPROFILE
5359#undef PROGCATEGORY
5360#undef PPROGCATEGORY
5361#undef _HPROGARRAY
5362#undef HPROGARRAY
5363#undef PHPROGARRAY
5364#undef _PROGTYPE
5365#undef PROGTYPE
5366#undef PPROGTYPE
5367#undef _PROGTITLE
5368#undef PROGTITLE
5369#undef PPROGTITLE
5370#undef _PROGDETAILS
5371#undef PROGDETAILS
5372#undef PPROGDETAILS
5373#undef _SWCNTRL
5374#undef SWCNTRL
5375#undef PSWCNTRL
5376#undef _SWENTRY
5377#undef SWENTRY
5378#undef PSWENTRY
5379#undef _SWBLOCK
5380#undef SWBLOCK
5381#undef PSWBLOCK
5382#undef FDM_FILTER
5383#undef FDM_VALIDATE
5384#undef FDM_ERROR
5385#undef APSZ
5386#undef PAPSZ
5387#undef _FILEDLG
5388#undef FILEDLG
5389#undef PFILEDLG
5390#undef FNTM_FACENAMECHANGED
5391#undef FNTM_POINTSIZECHANGED
5392#undef FNTM_STYLECHANGED
5393#undef FNTM_COLORCHANGED
5394#undef FNTM_UPDATEPREVIEW
5395#undef FNTM_FILTERLIST
5396#undef _FONTDLG
5397#undef FONTDLG
5398#undef PFONTDLG
5399#undef _STYLECHANGE
5400#undef STYLECHANGE
5401#undef PSTYLECHANGE
5402#undef _SPBCDATA
5403#undef SPBCDATA
5404#undef PSPBCDATA
5405#undef _SLDCDATA
5406#undef SLDCDATA
5407#undef PSLDCDATA
5408#undef _CSBITMAPDATA
5409#undef CSBITMAPDATA
5410#undef PCSBITMAPDATA
5411#undef _BOOKTEXT
5412#undef BOOKTEXT
5413#undef PBOOKTEXT
5414#undef _NOTEBOOKBUTTON
5415#undef NOTEBOOKBUTTON
5416#undef PNOTEBOOKBUTTON
5417#undef _DELETENOTIFY
5418#undef DELETENOTIFY
5419#undef PDELETENOTIFY
5420#undef _PAGESELECTNOTIFY
5421#undef PAGESELECTNOTIFY
5422#undef PPAGESELECTNOTIFY
5423#undef _BOOKPAGEINFO
5424#undef BOOKPAGEINFO
5425#undef PBOOKPAGEINFO
5426#undef WM_DRAGFIRST
5427#undef WM_DRAGLAST
5428#undef DM_DROP
5429#undef DM_DRAGOVER
5430#undef DM_DRAGLEAVE
5431#undef DM_DROPHELP
5432#undef DM_ENDCONVERSATION
5433#undef DM_PRINT
5434#undef DM_RENDER
5435#undef DM_RENDERCOMPLETE
5436#undef DM_RENDERPREPARE
5437#undef DM_DRAGFILECOMPLETE
5438#undef DM_EMPHASIZETARGET
5439#undef DM_DRAGERROR
5440#undef DM_FILERENDERED
5441#undef DM_RENDERFILE
5442#undef DM_DRAGOVERNOTIFY
5443#undef DM_PRINTOBJECT
5444#undef DM_DISCARDOBJECT
5445#undef DM_DROPNOTIFY
5446#undef MSGF_DRAG
5447#undef HSTR
5448#undef _DRAGIMAGE
5449#undef DRAGIMAGE
5450#undef PDRAGIMAGE
5451#undef _DRAGINFO
5452#undef DRAGINFO
5453#undef PDRAGINFO
5454#undef _DRAGITEM
5455#undef DRAGITEM
5456#undef PDRAGITEM
5457#undef _DRAGTRANSFER
5458#undef DRAGTRANSFER
5459#undef PDRAGTRANSFER
5460#undef _RENDERFILE
5461#undef RENDERFILE
5462#undef PRENDERFILE
5463#undef _VSCDATA
5464#undef VSCDATA
5465#undef PVSCDATA
5466#undef _VSDRAGINIT
5467#undef VSDRAGINIT
5468#undef PVSDRAGINIT
5469#undef _VSDRAGINFO
5470#undef VSDRAGINFO
5471#undef PVSDRAGINFO
5472#undef _VSTEXT
5473#undef VSTEXT
5474#undef PVSTEXT
5475#undef _TREEITEMDESC
5476#undef TREEITEMDESC
5477#undef PTREEITEMDESC
5478#undef _FIELDINFO
5479#undef FIELDINFO
5480#undef PFIELDINFO
5481#undef _RECORDCORE
5482#undef RECORDCORE
5483#undef PRECORDCORE
5484#undef _MINIRECORDCORE
5485#undef MINIRECORDCORE
5486#undef PMINIRECORDCORE
5487#undef _TREEMOVE
5488#undef TREEMOVE
5489#undef PTREEMOVE
5490#undef _CNRINFO
5491#undef CNRINFO
5492#undef PCNRINFO
5493#undef _GRIDSQUARE
5494#undef GRIDSQUARE
5495#undef PGRIDSQUARE
5496#undef _GRIDINFO
5497#undef GRIDINFO
5498#undef PGRIDINFO
5499#undef _CDATE
5500#undef CDATE
5501#undef PCDATE
5502#undef _CTIME
5503#undef CTIME
5504#undef PCTIME
5505#undef _CNRDRAGINIT
5506#undef CNRDRAGINIT
5507#undef PCNRDRAGINIT
5508#undef _FIELDINFOINSERT
5509#undef FIELDINFOINSERT
5510#undef PFIELDINFOINSERT
5511#undef _RECORDINSERT
5512#undef RECORDINSERT
5513#undef PRECORDINSERT
5514#undef _QUERYRECFROMRECT
5515#undef QUERYRECFROMRECT
5516#undef PQUERYRECFROMRECT
5517#undef _QUERYRECORDRECT
5518#undef QUERYRECORDRECT
5519#undef PQUERYRECORDRECT
5520#undef _SEARCHSTRING
5521#undef SEARCHSTRING
5522#undef PSEARCHSTRING
5523#undef _CNRDRAGINFO
5524#undef CNRDRAGINFO
5525#undef PCNRDRAGINFO
5526#undef _CNRLAZYDRAGINFO
5527#undef CNRLAZYDRAGINFO
5528#undef PCNRLAZYDRAGINFO
5529#undef _NOTIFYRECORDEMPHASIS
5530#undef NOTIFYRECORDEMPHASIS
5531#undef PNOTIFYRECORDEMPHASIS
5532#undef _NOTIFYRECORDENTER
5533#undef NOTIFYRECORDENTER
5534#undef PNOTIFYRECORDENTER
5535#undef _NOTIFYDELTA
5536#undef NOTIFYDELTA
5537#undef PNOTIFYDELTA
5538#undef _NOTIFYSCROLL
5539#undef NOTIFYSCROLL
5540#undef PNOTIFYSCROLL
5541#undef _CNREDITDATA
5542#undef CNREDITDATA
5543#undef PCNREDITDATA
5544#undef _OWNERBACKGROUND
5545#undef OWNERBACKGROUND
5546#undef POWNERBACKGROUND
5547#undef _CNRDRAWITEMINFO
5548#undef CNRDRAWITEMINFO
5549#undef PCNRDRAWITEMINFO
5550#undef CCHMAXCLASS
5551#undef _OBJCLASS
5552#undef OBJCLASS
5553#undef POBJCLASS
5554#undef HSPL
5555#undef HSTD
5556#undef PHSTD
5557#undef PQMOPENDATA
5558#undef SPLERR
5559#undef _SQPOPENDATA
5560#undef SQPOPENDATA
5561#undef PSQPOPENDATA
5562#undef _DRIVPROPS
5563#undef DRIVPROPS
5564#undef PDRIVPROPS
5565#undef _PRINTERINFO
5566#undef PRINTERINFO
5567#undef PPRINTERINFO
5568#undef _PRJINFO
5569#undef PRJINFO
5570#undef PPRJINFO
5571#undef _PRJINFO2
5572#undef PRJINFO2
5573#undef PPRJINFO2
5574#undef _PRJINFO3
5575#undef PRJINFO3
5576#undef PPRJINFO3
5577#undef _PRJINFO4
5578#undef PRJINFO4
5579#undef PPRJINFO4
5580#undef _PRDINFO
5581#undef PRDINFO
5582#undef PPRDINFO
5583#undef _PRDINFO3
5584#undef PRDINFO3
5585#undef PPRDINFO3
5586#undef _PRQINFO
5587#undef PRQINFO
5588#undef PPRQINFO
5589#undef _PRQINFO3
5590#undef PRQINFO3
5591#undef PPRQINFO3
5592#undef _PRQINFO6
5593#undef PRQINFO6
5594#undef PPRQINFO6
5595#undef _PRIDINFO
5596#undef PRIDINFO
5597#undef PPRIDINFO
5598#undef _PRDRIVINFO
5599#undef PRDRIVINFO
5600#undef PPRDRIVINFO
5601#undef _PRDRIVINFO2
5602#undef PRDRIVINFO2
5603#undef PPRDRIVINFO2
5604#undef _PRQPROCINFO
5605#undef PRQPROCINFO
5606#undef PPRQPROCINFO
5607#undef _PRPORTINFO
5608#undef PRPORTINFO
5609#undef PPRPORTINFO
5610#undef _PRPORTINFO1
5611#undef PRPORTINFO1
5612#undef PPRPORTINFO1
5613#undef _PRPORTINFO2
5614#undef PRPORTINFO2
5615#undef PPRPORTINFO2
5616#undef _QMJOBINFO
5617#undef QMJOBINFO
5618#undef PQMJOBINFO
5619#undef CTRL_PREVIOUS_ID
5620#undef CTRL_SEARCH_ID
5621#undef CTRL_PRINT_ID
5622#undef CTRL_INDEX_ID
5623#undef CTRL_CONTENTS_ID
5624#undef CTRL_BACK_ID
5625#undef CTRL_FORWARD_ID
5626#undef CTRL_TUTORIAL_ID
5627#undef CTRL_USER_ID_BASE
5628#undef HWND_PARENT
5629#undef HELPSUBTABLE
5630#undef PHELPSUBTABLE
5631#undef _ACVP
5632#undef ACVP
5633#undef PACVP
5634#undef _HELPTABLE
5635#undef HELPTABLE
5636#undef PHELPTABLE
5637#undef _HELPINIT
5638#undef HELPINIT
5639#undef PHELPINIT
5640#undef CLR_UNCHANGED
5641#undef HDDF
5642#undef _FOCAMETRICS
5643#undef FOCAMETRICS
5644#undef PFOCAMETRICS
5645#undef _FONTFILEMETRICS
5646#undef FONTFILEMETRICS
5647#undef PFONTFILEMETRICS
5648#undef _FONTDEFINITIONHEADER
5649#undef FONTDEFINITIONHEADER
5650#undef PFONTDEFINITIONHEADER
5651#undef _FONTSIGNATURE
5652#undef FONTSIGNATURE
5653#undef PFONTSIGNATURE
5654#undef _ADDITIONALMETRICS
5655#undef ADDITIONALMETRICS
5656#undef PADDITIONALMETRICS
5657#undef _FOCAFONT
5658#undef FOCAFONT
5659#undef PFOCAFONT
5660#undef FOCAFONT32
5661#undef PFOCAFONT32
5662#undef HVPS
5663#undef PHVPS
5664#undef HMONITOR
5665#undef PHMONITOR
5666#undef _MONIN
5667#undef MONIN
5668#undef PMONIN
5669#undef _MONOUT
5670#undef MONOUT
5671#undef PMONOUT
5672#undef HKBD
5673#undef PHKBD
5674#undef _KBDKEYINFO
5675#undef KBDKEYINFO
5676#undef PKBDKEYINFO
5677#undef _KBDINFO
5678#undef KBDINFO
5679#undef PKBDINFO
5680#undef _KBDHWID
5681#undef KBDHWID
5682#undef PKBDHWID
5683#undef _KBDTRANS
5684#undef KBDTRANS
5685#undef PKBDTRANS
5686#undef _STRINGINBUF
5687#undef STRINGINBUF
5688#undef PSTRINGINBUF
5689#undef HVIO
5690#undef PHVIO
5691#undef _VIOMODEINFO
5692#undef VIOMODEINFO
5693#undef PVIOMODEINFO
5694#undef _VIOCONFIGINFO
5695#undef VIOCONFIGINFO
5696#undef PVIOCONFIGINFO
5697#undef _VIOPHYSBUF
5698#undef VIOPHYSBUF
5699#undef PVIOPHYSBUF
5700#undef _VIOPALSTATE
5701#undef VIOPALSTATE
5702#undef PVIOPALSTATE
5703#undef _VIOOVERSCAN
5704#undef VIOOVERSCAN
5705#undef PVIOOVERSCAN
5706#undef _VIOINTENSITY
5707#undef VIOINTENSITY
5708#undef PVIOINTENSITY
5709#undef _VIOCOLORREG
5710#undef VIOCOLORREG
5711#undef PVIOCOLORREG
5712#undef _VIOSETULINELOC
5713#undef VIOSETULINELOC
5714#undef PVIOSETULINELOC
5715#undef _VIOSETTARGET
5716#undef VIOSETTARGET
5717#undef PVIOSETTARGET
5718#undef _VIOCURSORINFO
5719#undef VIOCURSORINFO
5720#undef PVIOCURSORINFO
5721#undef _VIOFONTINFO
5722#undef VIOFONTINFO
5723#undef PVIOFONTINFO
5724#undef HMOU
5725#undef PHMOU
5726#undef _MOUEVENTINFO
5727#undef MOUEVENTINFO
5728#undef PMOUEVENTINFO
5729#undef _MOUQUEINFO
5730#undef MOUQUEINFO
5731#undef PMOUQUEINFO
5732#undef _PTRLOC
5733#undef PTRLOC
5734#undef PPTRLOC
5735#undef _NOPTRRECT
5736#undef NOPTRRECT
5737#undef PNOPTRRECT
5738#undef _PTRSHAPE
5739#undef PTRSHAPE
5740#undef PPTRSHAPE
5741#undef _SCALEFACT
5742#undef SCALEFACT
5743#undef PSCALEFACT
5744#undef _THRESHOLD
5745#undef THRESHOLD
5746#undef PTHRESHOLD
5747#undef _GINFOSEG
5748#undef GINFOSEG
5749#undef PGINFOSEG
5750#undef _LINFOSEG
5751#undef LINFOSEG
5752#undef PLINFOSEG
5753#undef OBJ_LOCATION
5754#undef OBJ_FORK
5755#undef DosAllocMem
5756#define DosAllocMem(a, b, c) DosAllocMemEx((a),(b),(c) | os2_OBJ_FORK)
5757#undef DosAllocSharedMem
5758#define DosAllocSharedMem(a,b,c,d) DosAllocSharedMemEx((a),(b),(c),(d) | os2_OBJ_FORK)
5759
5760#endif /* __OS2WRAP2_H__ */
5761
Note: See TracBrowser for help on using the repository browser.