Changeset 21547
- Timestamp:
- Jan 8, 2011, 1:41:39 PM (14 years ago)
- Location:
- trunk/include
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/include/os2wrap2.h ¶
r21440 r21547 14 14 #endif 15 15 16 /*17 Redefine all OS/2 typedefs to those having the "os2_" prefix to avoid18 conflicts with Windows typedefs. Also define "os2_" versions of all19 macros. The defines are generated with the following command on the20 respective OS/2 headers:21 22 sed -nr '23 {24 s/^[[:space:]]*typedef[[:space:]]+struct[[:space:]]+([A-Za-z_][A-Za-z0-9_]+)([[:space:]]*[/]\*.*\*[/])?[[:space:]]*$/#define \1 os2_\1/p25 td26 s/^[[:space:]]*}[[:space:]]*([A-Z_][A-Z0-9_]+)[[:space:]]*;[[:space:]]*$/#define \1 os2_\1/p27 td28 s/^[[:space:]]*typedef[[:space:]]+.+[[:space:]]+\**([A-Z_][A-Z0-9_]+)[[:space:]]*(\[.*\])?[[:space:]]*;([[:space:]]*[/]\*.*\*[/])?[[:space:]]*$/#define \1 os2_\1/p29 td30 }31 /^[[:space:]]*#define[[:space:]]+/ {32 :a;/\\$/{N;ba}33 s/([^A-Za-z0-9_])(MAKE[A-Z0-9]+)([^A-Za-z0-9_])/\1 \2 \3/g34 s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|QSV|RGN|RT|SEM|SEVERITY|SIS|SV|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g35 tb;bd36 :b37 s/^[[:space:]]*#define[[:space:]]+(os2_)?([A-Za-z_][A-Za-z0-9_]+)[[:space:]]*(.*)/#define os2_\2 \3/p38 }39 :d40 '41 */42 16 #define os2__THUNK_PASCAL_FUNCTION (FUN) os2_APIENTRY _16_##FUN 43 17 #define os2_MAKE16P (sel,off) ((_far16ptr)((sel) << 16 | (off))) … … 47 21 #define os2__THUNK_PTR_SIZE_OK (ptr,size) \ 48 22 (((os2_ULONG)(ptr) & ~0xffff) == (((os2_ULONG)(ptr) + (size) - 1) & ~0xffff)) 23 49 24 #define os2_APIENTRY _System 50 25 #define os2_EXPENTRY _System … … 147 122 #define os2_SEVERITY_SEVERE 0x000c 148 123 #define os2_SEVERITY_UNRECOVERABLE 0x0010 124 #define os2_NO_ERROR 0 125 #define os2_ERROR_INVALID_FUNCTION 1 126 #define os2_ERROR_FILE_NOT_FOUND 2 127 #define os2_ERROR_PATH_NOT_FOUND 3 128 #define os2_ERROR_TOO_MANY_OPEN_FILES 4 129 #define os2_ERROR_ACCESS_DENIED 5 130 #define os2_ERROR_INVALID_HANDLE 6 131 #define os2_ERROR_ARENA_TRASHED 7 132 #define os2_ERROR_NOT_ENOUGH_MEMORY 8 133 #define os2_ERROR_INVALID_BLOCK 9 134 #define os2_ERROR_BAD_ENVIRONMENT 10 135 #define os2_ERROR_BAD_FORMAT 11 136 #define os2_ERROR_INVALID_ACCESS 12 137 #define os2_ERROR_INVALID_DATA 13 138 #define os2_ERROR_INVALID_DRIVE 15 139 #define os2_ERROR_CURRENT_DIRECTORY 16 140 #define os2_ERROR_NOT_SAME_DEVICE 17 141 #define os2_ERROR_NO_MORE_FILES 18 142 #define os2_ERROR_WRITE_PROTECT 19 143 #define os2_ERROR_BAD_UNIT 20 144 #define os2_ERROR_NOT_READY 21 145 #define os2_ERROR_BAD_COMMAND 22 146 #define os2_ERROR_CRC 23 147 #define os2_ERROR_BAD_LENGTH 24 148 #define os2_ERROR_SEEK 25 149 #define os2_ERROR_NOT_DOS_DISK 26 150 #define os2_ERROR_SECTOR_NOT_FOUND 27 151 #define os2_ERROR_OUT_OF_PAPER 28 152 #define os2_ERROR_WRITE_FAULT 29 153 #define os2_ERROR_READ_FAULT 30 154 #define os2_ERROR_GEN_FAILURE 31 155 #define os2_ERROR_SHARING_VIOLATION 32 156 #define os2_ERROR_LOCK_VIOLATION 33 157 #define os2_ERROR_WRONG_DISK 34 158 #define os2_ERROR_FCB_UNAVAILABLE 35 159 #define os2_ERROR_SHARING_BUFFER_EXCEEDED 36 160 #define os2_ERROR_CODE_PAGE_MISMATCHED 37 161 #define os2_ERROR_HANDLE_EOF 38 162 #define os2_ERROR_HANDLE_DISK_FULL 39 163 #define os2_ERROR_NOT_SUPPORTED 50 164 #define os2_ERROR_REM_NOT_LIST 51 165 #define os2_ERROR_DUP_NAME 52 166 #define os2_ERROR_BAD_NETPATH 53 167 #define os2_ERROR_NETWORK_BUSY 54 168 #define os2_ERROR_DEV_NOT_EXIST 55 169 #define os2_ERROR_TOO_MANY_CMDS 56 170 #define os2_ERROR_ADAP_HDW_ERR 57 171 #define os2_ERROR_BAD_NET_RESP 58 172 #define os2_ERROR_UNEXP_NET_ERR 59 173 #define os2_ERROR_BAD_REM_ADAP 60 174 #define os2_ERROR_PRINTQ_FULL 61 175 #define os2_ERROR_NO_SPOOL_SPACE 62 176 #define os2_ERROR_PRINT_CANCELLED 63 177 #define os2_ERROR_NETNAME_DELETED 64 178 #define os2_ERROR_NETWORK_ACCESS_DENIED 65 179 #define os2_ERROR_BAD_DEV_TYPE 66 180 #define os2_ERROR_BAD_NET_NAME 67 181 #define os2_ERROR_TOO_MANY_NAMES 68 182 #define os2_ERROR_TOO_MANY_SESS 69 183 #define os2_ERROR_SHARING_PAUSED 70 184 #define os2_ERROR_REQ_NOT_ACCEP 71 185 #define os2_ERROR_REDIR_PAUSED 72 186 #define os2_ERROR_SBCS_ATT_WRITE_PROT 73 187 #define os2_ERROR_SBCS_GENERAL_FAILURE 74 188 #define os2_ERROR_XGA_OUT_MEMORY 75 189 #define os2_ERROR_FILE_EXISTS 80 190 #define os2_ERROR_DUP_FCB 81 191 #define os2_ERROR_CANNOT_MAKE 82 192 #define os2_ERROR_FAIL_I24 83 193 #define os2_ERROR_OUT_OF_STRUCTURES 84 194 #define os2_ERROR_ALREADY_ASSIGNED 85 195 #define os2_ERROR_INVALID_PASSWORD 86 196 #define os2_ERROR_INVALID_PARAMETER 87 197 #define os2_ERROR_NET_WRITE_FAULT 88 198 #define os2_ERROR_NO_PROC_SLOTS 89 199 #define os2_ERROR_NOT_FROZEN 90 200 #define os2_ERROR_SYS_COMP_NOT_LOADED 90 /*!*/ 201 #define os2_ERROR_NO_ITEMS 93 202 #define os2_ERROR_INTERRUPT 95 203 #define os2_ERROR_DEVICE_IN_USE 99 204 #define os2_ERROR_TOO_MANY_SEMAPHORES 100 205 #define os2_ERROR_EXCL_SEM_ALREADY_OWNED 101 206 #define os2_ERROR_SEM_IS_SET 102 207 #define os2_ERROR_TOO_MANY_SEM_REQUESTS 103 208 #define os2_ERROR_INVALID_AT_INTERRUPT_TIME 104 209 #define os2_ERROR_SEM_OWNER_DIED 105 210 #define os2_ERROR_SEM_USER_LIMIT 106 211 #define os2_ERROR_DISK_CHANGE 107 212 #define os2_ERROR_DRIVE_LOCKED 108 213 #define os2_ERROR_BROKEN_PIPE 109 214 #define os2_ERROR_OPEN_FAILED 110 215 #define os2_ERROR_BUFFER_OVERFLOW 111 216 #define os2_ERROR_DISK_FULL 112 217 #define os2_ERROR_NO_MORE_SEARCH_HANDLES 113 218 #define os2_ERROR_INVALID_TARGET_HANDLE 114 219 #define os2_ERROR_PROTECTION_VIOLATION 115 220 #define os2_ERROR_VIOKBD_REQUEST 116 221 #define os2_ERROR_INVALID_CATEGORY 117 222 #define os2_ERROR_INVALID_VERIFY_SWITCH 118 223 #define os2_ERROR_BAD_DRIVER_LEVEL 119 224 #define os2_ERROR_CALL_NOT_IMPLEMENTED 120 225 #define os2_ERROR_SEM_TIMEOUT 121 226 #define os2_ERROR_INSUFFICIENT_BUFFER 122 227 #define os2_ERROR_INVALID_NAME 123 228 #define os2_ERROR_INVALID_LEVEL 124 229 #define os2_ERROR_NO_VOLUME_LABEL 125 230 #define os2_ERROR_MOD_NOT_FOUND 126 231 #define os2_ERROR_PROC_NOT_FOUND 127 232 #define os2_ERROR_WAIT_NO_CHILDREN 128 233 #define os2_ERROR_CHILD_NOT_COMPLETE 129 234 #define os2_ERROR_DIRECT_ACCESS_HANDLE 130 235 #define os2_ERROR_NEGATIVE_SEEK 131 236 #define os2_ERROR_SEEK_ON_DEVICE 132 237 #define os2_ERROR_IS_JOIN_TARGET 133 238 #define os2_ERROR_IS_JOINED 134 239 #define os2_ERROR_IS_SUBSTED 135 240 #define os2_ERROR_NOT_JOINED 136 241 #define os2_ERROR_NOT_SUBSTED 137 242 #define os2_ERROR_JOIN_TO_JOIN 138 243 #define os2_ERROR_SUBST_TO_SUBST 139 244 #define os2_ERROR_JOIN_TO_SUBST 140 245 #define os2_ERROR_SUBST_TO_JOIN 141 246 #define os2_ERROR_BUSY_DRIVE 142 247 #define os2_ERROR_SAME_DRIVE 143 248 #define os2_ERROR_DIR_NOT_ROOT 144 249 #define os2_ERROR_DIR_NOT_EMPTY 145 250 #define os2_ERROR_IS_SUBST_PATH 146 251 #define os2_ERROR_IS_JOIN_PATH 147 252 #define os2_ERROR_PATH_BUSY 148 253 #define os2_ERROR_IS_SUBST_TARGET 149 254 #define os2_ERROR_SYSTEM_TRACE 150 255 #define os2_ERROR_INVALID_EVENT_COUNT 151 256 #define os2_ERROR_TOO_MANY_MUXWAITERS 152 257 #define os2_ERROR_INVALID_LIST_FORMAT 153 258 #define os2_ERROR_LABEL_TOO_LONG 154 259 #define os2_ERROR_TOO_MANY_TCBS 155 260 #define os2_ERROR_SIGNAL_REFUSED 156 261 #define os2_ERROR_DISCARDED 157 262 #define os2_ERROR_NOT_LOCKED 158 263 #define os2_ERROR_BAD_THREADID_ADDR 159 264 #define os2_ERROR_BAD_ARGUMENTS 160 265 #define os2_ERROR_BAD_PATHNAME 161 266 #define os2_ERROR_SIGNAL_PENDING 162 267 #define os2_ERROR_UNCERTAIN_MEDIA 163 268 #define os2_ERROR_MAX_THRDS_REACHED 164 269 #define os2_ERROR_MONITORS_NOT_SUPPORTED 165 270 #define os2_ERROR_UNC_DRIVER_NOT_INSTALLED 166 271 #define os2_ERROR_LOCK_FAILED 167 272 #define os2_ERROR_SWAPIO_FAILED 168 273 #define os2_ERROR_SWAPIN_FAILED 169 274 #define os2_ERROR_BUSY 170 275 #define os2_ERROR_CANCEL_VIOLATION 173 276 #define os2_ERROR_ATOMIC_LOCK_NOT_SUPPORTED 174 277 #define os2_ERROR_READ_LOCKS_NOT_SUPPORTED 175 278 #define os2_ERROR_INVALID_SEGMENT_NUMBER 180 279 #define os2_ERROR_INVALID_CALLGATE 181 280 #define os2_ERROR_INVALID_ORDINAL 182 281 #define os2_ERROR_ALREADY_EXISTS 183 282 #define os2_ERROR_NO_CHILD_PROCESS 184 283 #define os2_ERROR_CHILD_ALIVE_NOWAIT 185 284 #define os2_ERROR_INVALID_FLAG_NUMBER 186 285 #define os2_ERROR_SEM_NOT_FOUND 187 286 #define os2_ERROR_INVALID_STARTING_CODESEG 188 287 #define os2_ERROR_INVALID_STACKSEG 189 288 #define os2_ERROR_INVALID_MODULETYPE 190 289 #define os2_ERROR_INVALID_EXE_SIGNATURE 191 290 #define os2_ERROR_EXE_MARKED_INVALID 192 291 #define os2_ERROR_BAD_EXE_FORMAT 193 292 #define os2_ERROR_ITERATED_DATA_EXCEEDS_64K 194 293 #define os2_ERROR_INVALID_MINALLOCSIZE 195 294 #define os2_ERROR_DYNLINK_FROM_INVALID_RING 196 295 #define os2_ERROR_IOPL_NOT_ENABLED 197 296 #define os2_ERROR_INVALID_SEGDPL 198 297 #define os2_ERROR_AUTODATASEG_EXCEEDS_64K 199 298 #define os2_ERROR_RING2SEG_MUST_BE_MOVABLE 200 299 #define os2_ERROR_RELOCSRC_CHAIN_EXCEEDS_SEGLIMIT 201 300 #define os2_ERROR_INFLOOP_IN_RELOC_CHAIN 202 301 #define os2_ERROR_ENVVAR_NOT_FOUND 203 302 #define os2_ERROR_NOT_CURRENT_CTRY 204 303 #define os2_ERROR_NO_SIGNAL_SENT 205 304 #define os2_ERROR_FILENAME_EXCED_RANGE 206 305 #define os2_ERROR_RING2_STACK_IN_USE 207 306 #define os2_ERROR_META_EXPANSION_TOO_LONG 208 307 #define os2_ERROR_INVALID_SIGNAL_NUMBER 209 308 #define os2_ERROR_THREAD_1_INACTIVE 210 309 #define os2_ERROR_INFO_NOT_AVAIL 211 310 #define os2_ERROR_LOCKED 212 311 #define os2_ERROR_BAD_DYNALINK 213 312 #define os2_ERROR_TOO_MANY_MODULES 214 313 #define os2_ERROR_NESTING_NOT_ALLOWED 215 314 #define os2_ERROR_CANNOT_SHRINK 216 315 #define os2_ERROR_ZOMBIE_PROCESS 217 316 #define os2_ERROR_STACK_IN_HIGH_MEMORY 218 317 #define os2_ERROR_INVALID_EXITROUTINE_RING 219 318 #define os2_ERROR_GETBUF_FAILED 220 319 #define os2_ERROR_FLUSHBUF_FAILED 221 320 #define os2_ERROR_TRANSFER_TOO_LONG 222 321 #define os2_ERROR_FORCENOSWAP_FAILED 223 322 #define os2_ERROR_SMG_NO_TARGET_WINDOW 224 323 #define os2_ERROR_NO_CHILDREN 228 324 #define os2_ERROR_INVALID_SCREEN_GROUP 229 325 #define os2_ERROR_BAD_PIPE 230 326 #define os2_ERROR_PIPE_BUSY 231 327 #define os2_ERROR_NO_DATA 232 328 #define os2_ERROR_PIPE_NOT_CONNECTED 233 329 #define os2_ERROR_MORE_DATA 234 330 #define os2_ERROR_VC_DISCONNECTED 240 331 #define os2_ERROR_CIRCULARITY_REQUESTED 250 332 #define os2_ERROR_DIRECTORY_IN_CDS 251 333 #define os2_ERROR_INVALID_FSD_NAME 252 334 #define os2_ERROR_INVALID_PATH 253 335 #define os2_ERROR_INVALID_EA_NAME 254 336 #define os2_ERROR_EA_LIST_INCONSISTENT 255 337 #define os2_ERROR_EA_LIST_TOO_LONG 256 338 #define os2_ERROR_NO_META_MATCH 257 339 #define os2_ERROR_FINDNOTIFY_TIMEOUT 258 340 #define os2_ERROR_NO_MORE_ITEMS 259 341 #define os2_ERROR_SEARCH_STRUC_REUSED 260 342 #define os2_ERROR_CHAR_NOT_FOUND 261 343 #define os2_ERROR_TOO_MUCH_STACK 262 344 #define os2_ERROR_INVALID_ATTR 263 345 #define os2_ERROR_INVALID_STARTING_RING 264 346 #define os2_ERROR_INVALID_DLL_INIT_RING 265 347 #define os2_ERROR_CANNOT_COPY 266 348 #define os2_ERROR_DIRECTORY 267 349 #define os2_ERROR_OPLOCKED_FILE 268 350 #define os2_ERROR_OPLOCK_THREAD_EXISTS 269 351 #define os2_ERROR_VOLUME_CHANGED 270 352 #define os2_ERROR_FINDNOTIFY_HANDLE_IN_USE 271 353 #define os2_ERROR_FINDNOTIFY_HANDLE_CLOSED 272 354 #define os2_ERROR_NOTIFY_OBJECT_REMOVED 273 355 #define os2_ERROR_ALREADY_SHUTDOWN 274 356 #define os2_ERROR_EAS_DIDNT_FIT 275 357 #define os2_ERROR_EA_FILE_CORRUPT 276 358 #define os2_ERROR_EA_TABLE_FULL 277 359 #define os2_ERROR_INVALID_EA_HANDLE 278 360 #define os2_ERROR_NO_CLUSTER 279 361 #define os2_ERROR_CREATE_EA_FILE 280 362 #define os2_ERROR_CANNOT_OPEN_EA_FILE 281 363 #define os2_ERROR_EAS_NOT_SUPPORTED 282 364 #define os2_ERROR_NEED_EAS_FOUND 283 365 #define os2_ERROR_DUPLICATE_HANDLE 284 366 #define os2_ERROR_DUPLICATE_NAME 285 367 #define os2_ERROR_EMPTY_MUXWAIT 286 368 #define os2_ERROR_MUTEX_OWNED 287 369 #define os2_ERROR_NOT_OWNER 288 370 #define os2_ERROR_PARAM_TOO_SMALL 289 371 #define os2_ERROR_TOO_MANY_HANDLES 290 372 #define os2_ERROR_TOO_MANY_OPENS 291 373 #define os2_ERROR_WRONG_TYPE 292 374 #define os2_ERROR_UNUSED_CODE 293 375 #define os2_ERROR_THREAD_NOT_TERMINATED 294 376 #define os2_ERROR_INIT_ROUTINE_FAILED 295 377 #define os2_ERROR_MODULE_IN_USE 296 378 #define os2_ERROR_NOT_ENOUGH_WATCHPOINTS 297 379 #define os2_ERROR_TOO_MANY_POSTS 298 380 #define os2_ERROR_ALREADY_POSTED 299 381 #define os2_ERROR_ALREADY_RESET 300 382 #define os2_ERROR_SEM_BUSY 301 383 #define os2_ERROR_INVALID_PROCID 303 384 #define os2_ERROR_INVALID_PDELTA 304 385 #define os2_ERROR_NOT_DESCENDANT 305 386 #define os2_ERROR_NOT_SESSION_MANAGER 306 387 #define os2_ERROR_INVALID_PCLASS 307 388 #define os2_ERROR_INVALID_SCOPE 308 389 #define os2_ERROR_INVALID_THREADID 309 390 #define os2_ERROR_DOSSUB_SHRINK 310 391 #define os2_ERROR_DOSSUB_NOMEM 311 392 #define os2_ERROR_DOSSUB_OVERLAP 312 393 #define os2_ERROR_DOSSUB_BADSIZE 313 394 #define os2_ERROR_DOSSUB_BADFLAG 314 395 #define os2_ERROR_DOSSUB_BADSELECTOR 315 396 #define os2_ERROR_MR_MSG_TOO_LONG 316 397 #define os2_ERROR_MR_MID_NOT_FOUND 317 398 #define os2_ERROR_MR_UN_ACC_MSGF 318 399 #define os2_ERROR_MR_INV_MSGF_FORMAT 319 400 #define os2_ERROR_MR_INV_IVCOUNT 320 401 #define os2_ERROR_MR_UN_PERFORM 321 402 #define os2_ERROR_TS_WAKEUP 322 403 #define os2_ERROR_TS_SEMHANDLE 323 404 #define os2_ERROR_TS_NOTIMER 324 405 #define os2_ERROR_TS_HANDLE 326 406 #define os2_ERROR_TS_DATETIME 327 407 #define os2_ERROR_SYS_INTERNAL 328 408 #define os2_ERROR_QUE_CURRENT_NAME 329 409 #define os2_ERROR_QUE_PROC_NOT_OWNED 330 410 #define os2_ERROR_QUE_PROC_OWNED 331 411 #define os2_ERROR_QUE_DUPLICATE 332 412 #define os2_ERROR_QUE_ELEMENT_NOT_EXIST 333 413 #define os2_ERROR_QUE_NO_MEMORY 334 414 #define os2_ERROR_QUE_INVALID_NAME 335 415 #define os2_ERROR_QUE_INVALID_PRIORITY 336 416 #define os2_ERROR_QUE_INVALID_HANDLE 337 417 #define os2_ERROR_QUE_LINK_NOT_FOUND 338 418 #define os2_ERROR_QUE_MEMORY_ERROR 339 419 #define os2_ERROR_QUE_PREV_AT_END 340 420 #define os2_ERROR_QUE_PROC_NO_ACCESS 341 421 #define os2_ERROR_QUE_EMPTY 342 422 #define os2_ERROR_QUE_NAME_NOT_EXIST 343 423 #define os2_ERROR_QUE_NOT_INITIALIZED 344 424 #define os2_ERROR_QUE_UNABLE_TO_ACCESS 345 425 #define os2_ERROR_QUE_UNABLE_TO_ADD 346 426 #define os2_ERROR_QUE_UNABLE_TO_INIT 347 427 #define os2_ERROR_VIO_INVALID_MASK 349 428 #define os2_ERROR_VIO_PTR 350 429 #define os2_ERROR_VIO_APTR 351 430 #define os2_ERROR_VIO_RPTR 352 431 #define os2_ERROR_VIO_CPTR 353 432 #define os2_ERROR_VIO_LPTR 354 433 #define os2_ERROR_VIO_MODE 355 434 #define os2_ERROR_VIO_WIDTH 356 435 #define os2_ERROR_VIO_ATTR 357 436 #define os2_ERROR_VIO_ROW 358 437 #define os2_ERROR_VIO_COL 359 438 #define os2_ERROR_VIO_TOPROW 360 439 #define os2_ERROR_VIO_BOTROW 361 440 #define os2_ERROR_VIO_RIGHTCOL 362 441 #define os2_ERROR_VIO_LEFTCOL 363 442 #define os2_ERROR_SCS_CALL 364 443 #define os2_ERROR_SCS_VALUE 365 444 #define os2_ERROR_VIO_WAIT_FLAG 366 445 #define os2_ERROR_VIO_UNLOCK 367 446 #define os2_ERROR_SGS_NOT_SESSION_MGR 368 447 #define os2_ERROR_SMG_INVALID_SGID 369 448 #define os2_ERROR_SMG_INVALID_SESSION_ID 369 /*!*/ 449 #define os2_ERROR_SMG_NOSG 370 450 #define os2_ERROR_SMG_NO_SESSIONS 370 /*!*/ 451 #define os2_ERROR_SMG_GRP_NOT_FOUND 371 452 #define os2_ERROR_SMG_SESSION_NOT_FOUND 371 /*!*/ 453 #define os2_ERROR_SMG_SET_TITLE 372 454 #define os2_ERROR_KBD_PARAMETER 373 455 #define os2_ERROR_KBD_NO_DEVICE 374 456 #define os2_ERROR_KBD_INVALID_IOWAIT 375 457 #define os2_ERROR_KBD_INVALID_LENGTH 376 458 #define os2_ERROR_KBD_INVALID_ECHO_MASK 377 459 #define os2_ERROR_KBD_INVALID_INPUT_MASK 378 460 #define os2_ERROR_MON_INVALID_PARMS 379 461 #define os2_ERROR_MON_INVALID_DEVNAME 380 462 #define os2_ERROR_MON_INVALID_HANDLE 381 463 #define os2_ERROR_MON_BUFFER_TOO_SMALL 382 464 #define os2_ERROR_MON_BUFFER_EMPTY 383 465 #define os2_ERROR_MON_DATA_TOO_LARGE 384 466 #define os2_ERROR_MOUSE_NO_DEVICE 385 467 #define os2_ERROR_MOUSE_INV_HANDLE 386 468 #define os2_ERROR_MOUSE_INV_PARMS 387 469 #define os2_ERROR_MOUSE_CANT_RESET 388 470 #define os2_ERROR_MOUSE_DISPLAY_PARMS 389 471 #define os2_ERROR_MOUSE_INV_MODULE 390 472 #define os2_ERROR_MOUSE_INV_ENTRY_PT 391 473 #define os2_ERROR_MOUSE_INV_MASK 392 474 #define os2_ERROR_INVALID_FREQUENCY 395 475 #define os2_ERROR_NLS_NO_COUNTRY_FILE 396 476 #define os2_ERROR_NLS_OPEN_FAILED 397 477 #define os2_ERROR_NLS_NO_CTRY_CODE 398 478 #define os2_ERROR_NLS_TABLE_TRUNCATED 399 479 #define os2_ERROR_NLS_BAD_TYPE 400 480 #define os2_ERROR_NLS_TYPE_NOT_FOUND 401 481 #define os2_ERROR_VIO_SMG_ONLY 402 482 #define os2_ERROR_VIO_INVALID_ASCIIZ 403 483 #define os2_ERROR_VIO_DEREGISTER 404 484 #define os2_ERROR_VIO_NO_POPUP 405 485 #define os2_ERROR_VIO_EXISTING_POPUP 406 486 #define os2_ERROR_KBD_SMG_ONLY 407 487 #define os2_ERROR_KBD_INVALID_ASCIIZ 408 488 #define os2_ERROR_KBD_INVALID_MASK 409 489 #define os2_ERROR_KBD_REGISTER 410 490 #define os2_ERROR_KBD_DEREGISTER 411 491 #define os2_ERROR_MOUSE_SMG_ONLY 412 492 #define os2_ERROR_MOUSE_INVALID_ASCIIZ 413 493 #define os2_ERROR_MOUSE_INVALID_MASK 414 494 #define os2_ERROR_MOUSE_REGISTER 415 495 #define os2_ERROR_MOUSE_DEREGISTER 416 496 #define os2_ERROR_SMG_BAD_ACTION 417 497 #define os2_ERROR_SMG_INVALID_CALL 418 498 #define os2_ERROR_SCS_SG_NOTFOUND 419 499 #define os2_ERROR_SCS_NOT_SHELL 420 500 #define os2_ERROR_VIO_INVALID_PARMS 421 501 #define os2_ERROR_VIO_FUNCTION_OWNED 422 502 #define os2_ERROR_VIO_RETURN 423 503 #define os2_ERROR_SCS_INVALID_FUNCTION 424 504 #define os2_ERROR_SCS_NOT_SESSION_MGR 425 505 #define os2_ERROR_VIO_REGISTER 426 506 #define os2_ERROR_VIO_NO_MODE_THREAD 427 507 #define os2_ERROR_VIO_NO_SAVE_RESTORE_THD 428 508 #define os2_ERROR_VIO_IN_BG 429 509 #define os2_ERROR_VIO_ILLEGAL_DURING_POPUP 430 510 #define os2_ERROR_SMG_NOT_BASESHELL 431 511 #define os2_ERROR_SMG_BAD_STATUSREQ 432 512 #define os2_ERROR_QUE_INVALID_WAIT 433 513 #define os2_ERROR_VIO_LOCK 434 514 #define os2_ERROR_MOUSE_INVALID_IOWAIT 435 515 #define os2_ERROR_VIO_INVALID_HANDLE 436 516 #define os2_ERROR_VIO_ILLEGAL_DURING_LOCK 437 517 #define os2_ERROR_VIO_INVALID_LENGTH 438 518 #define os2_ERROR_KBD_INVALID_HANDLE 439 519 #define os2_ERROR_KBD_NO_MORE_HANDLE 440 520 #define os2_ERROR_KBD_CANNOT_CREATE_KCB 441 521 #define os2_ERROR_KBD_CODEPAGE_LOAD_INCOMPL 442 522 #define os2_ERROR_KBD_INVALID_CODEPAGE_ID 443 523 #define os2_ERROR_KBD_NO_CODEPAGE_SUPPORT 444 524 #define os2_ERROR_KBD_FOCUS_REQUIRED 445 525 #define os2_ERROR_KBD_FOCUS_ALREADY_ACTIVE 446 526 #define os2_ERROR_KBD_KEYBOARD_BUSY 447 527 #define os2_ERROR_KBD_INVALID_CODEPAGE 448 528 #define os2_ERROR_KBD_UNABLE_TO_FOCUS 449 529 #define os2_ERROR_SMG_SESSION_NON_SELECT 450 530 #define os2_ERROR_SMG_SESSION_NOT_FOREGRND 451 531 #define os2_ERROR_SMG_SESSION_NOT_PARENT 452 532 #define os2_ERROR_SMG_INVALID_START_MODE 453 533 #define os2_ERROR_SMG_INVALID_RELATED_OPT 454 534 #define os2_ERROR_SMG_INVALID_BOND_OPTION 455 535 #define os2_ERROR_SMG_INVALID_SELECT_OPT 456 536 #define os2_ERROR_SMG_START_IN_BACKGROUND 457 537 #define os2_ERROR_SMG_INVALID_STOP_OPTION 458 538 #define os2_ERROR_SMG_BAD_RESERVE 459 539 #define os2_ERROR_SMG_PROCESS_NOT_PARENT 460 540 #define os2_ERROR_SMG_INVALID_DATA_LENGTH 461 541 #define os2_ERROR_SMG_NOT_BOUND 462 542 #define os2_ERROR_SMG_RETRY_SUB_ALLOC 463 543 #define os2_ERROR_KBD_DETACHED 464 544 #define os2_ERROR_VIO_DETACHED 465 545 #define os2_ERROR_MOU_DETACHED 466 546 #define os2_ERROR_VIO_FONT 467 547 #define os2_ERROR_VIO_USER_FONT 468 548 #define os2_ERROR_VIO_BAD_CP 469 549 #define os2_ERROR_VIO_NO_CP 470 550 #define os2_ERROR_VIO_NA_CP 471 551 #define os2_ERROR_INVALID_CODE_PAGE 472 552 #define os2_ERROR_CPLIST_TOO_SMALL 473 553 #define os2_ERROR_CP_NOT_MOVED 474 554 #define os2_ERROR_MODE_SWITCH_INIT 475 555 #define os2_ERROR_CODE_PAGE_NOT_FOUND 476 556 #define os2_ERROR_UNEXPECTED_SLOT_RETURNED 477 557 #define os2_ERROR_SMG_INVALID_TRACE_OPTION 478 558 #define os2_ERROR_VIO_INTERNAL_RESOURCE 479 559 #define os2_ERROR_VIO_SHELL_INIT 480 560 #define os2_ERROR_SMG_NO_HARD_ERRORS 481 561 #define os2_ERROR_CP_SWITCH_INCOMPLETE 482 562 #define os2_ERROR_VIO_TRANSPARENT_POPUP 483 563 #define os2_ERROR_CRITSEC_OVERFLOW 484 564 #define os2_ERROR_CRITSEC_UNDERFLOW 485 565 #define os2_ERROR_VIO_BAD_RESERVE 486 566 #define os2_ERROR_INVALID_ADDRESS 487 567 #define os2_ERROR_ZERO_SELECTORS_REQUESTED 488 568 #define os2_ERROR_NOT_ENOUGH_SELECTORS_AVA 489 569 #define os2_ERROR_INVALID_SELECTOR 490 570 #define os2_ERROR_SMG_INVALID_PROGRAM_TYPE 491 571 #define os2_ERROR_SMG_INVALID_PGM_CONTROL 492 572 #define os2_ERROR_SMG_INVALID_INHERIT_OPT 493 573 #define os2_ERROR_VIO_EXTENDED_SG 494 574 #define os2_ERROR_VIO_NOT_PRES_MGR_SG 495 575 #define os2_ERROR_VIO_SHIELD_OWNED 496 576 #define os2_ERROR_VIO_NO_MORE_HANDLES 497 577 #define os2_ERROR_VIO_SEE_ERROR_LOG 498 578 #define os2_ERROR_VIO_ASSOCIATED_DC 499 579 #define os2_ERROR_KBD_NO_CONSOLE 500 580 #define os2_ERROR_MOUSE_NO_CONSOLE 501 581 #define os2_ERROR_MOUSE_INVALID_HANDLE 502 582 #define os2_ERROR_SMG_INVALID_DEBUG_PARMS 503 583 #define os2_ERROR_KBD_EXTENDED_SG 504 584 #define os2_ERROR_MOU_EXTENDED_SG 505 585 #define os2_ERROR_SMG_INVALID_ICON_FILE 506 586 #define os2_ERROR_TRC_PID_NON_EXISTENT 507 587 #define os2_ERROR_TRC_COUNT_ACTIVE 508 588 #define os2_ERROR_TRC_SUSPENDED_BY_COUNT 509 589 #define os2_ERROR_TRC_COUNT_INACTIVE 510 590 #define os2_ERROR_TRC_COUNT_REACHED 511 591 #define os2_ERROR_NO_MC_TRACE 512 592 #define os2_ERROR_MC_TRACE 513 593 #define os2_ERROR_TRC_COUNT_ZERO 514 594 #define os2_ERROR_SMG_TOO_MANY_DDS 515 595 #define os2_ERROR_SMG_INVALID_NOTIFICATION 516 596 #define os2_ERROR_LF_INVALID_FUNCTION 517 597 #define os2_ERROR_LF_NOT_AVAIL 518 598 #define os2_ERROR_LF_SUSPENDED 519 599 #define os2_ERROR_LF_BUF_TOO_SMALL 520 600 #define os2_ERROR_LF_BUFFER_CORRUPTED 521 601 #define os2_ERROR_LF_BUFFER_FULL 521 /*!*/ 602 #define os2_ERROR_LF_INVALID_DAEMON 522 603 #define os2_ERROR_LF_INVALID_RECORD 522 /*!*/ 604 #define os2_ERROR_LF_INVALID_TEMPL 523 605 #define os2_ERROR_LF_INVALID_SERVICE 523 /*!*/ 606 #define os2_ERROR_LF_GENERAL_FAILURE 524 607 #define os2_ERROR_LF_INVALID_ID 525 608 #define os2_ERROR_LF_INVALID_HANDLE 526 609 #define os2_ERROR_LF_NO_ID_AVAIL 527 610 #define os2_ERROR_LF_TEMPLATE_AREA_FULL 528 611 #define os2_ERROR_LF_ID_IN_USE 529 612 #define os2_ERROR_MOU_NOT_INITIALIZED 530 613 #define os2_ERROR_MOUINITREAL_DONE 531 614 #define os2_ERROR_DOSSUB_CORRUPTED 532 615 #define os2_ERROR_MOUSE_CALLER_NOT_SUBSYS 533 616 #define os2_ERROR_ARITHMETIC_OVERFLOW 534 617 #define os2_ERROR_TMR_NO_DEVICE 535 618 #define os2_ERROR_TMR_INVALID_TIME 536 619 #define os2_ERROR_PVW_INVALID_ENTITY 537 620 #define os2_ERROR_PVW_INVALID_ENTITY_TYPE 538 621 #define os2_ERROR_PVW_INVALID_SPEC 539 622 #define os2_ERROR_PVW_INVALID_RANGE_TYPE 540 623 #define os2_ERROR_PVW_INVALID_COUNTER_BLK 541 624 #define os2_ERROR_PVW_INVALID_TEXT_BLK 542 625 #define os2_ERROR_PRF_NOT_INITIALIZED 543 626 #define os2_ERROR_PRF_ALREADY_INITIALIZED 544 627 #define os2_ERROR_PRF_NOT_STARTED 545 628 #define os2_ERROR_PRF_ALREADY_STARTED 546 629 #define os2_ERROR_PRF_TIMER_OUT_OF_RANGE 547 630 #define os2_ERROR_PRF_TIMER_RESET 548 631 #define os2_ERROR_VDD_LOCK_USEAGE_DENIED 639 632 #define os2_ERROR_TIMEOUT 640 633 #define os2_ERROR_VDM_DOWN 641 634 #define os2_ERROR_VDM_LIMIT 642 635 #define os2_ERROR_VDD_NOT_FOUND 643 636 #define os2_ERROR_INVALID_CALLER 644 637 #define os2_ERROR_PID_MISMATCH 645 638 #define os2_ERROR_INVALID_VDD_HANDLE 646 639 #define os2_ERROR_VLPT_NO_SPOOLER 647 640 #define os2_ERROR_VCOM_DEVICE_BUSY 648 641 #define os2_ERROR_VLPT_DEVICE_BUSY 649 642 #define os2_ERROR_NESTING_TOO_DEEP 650 643 #define os2_ERROR_VDD_MISSING 651 644 #define os2_ERROR_BIDI_INVALID_LENGTH 671 645 #define os2_ERROR_BIDI_INVALID_INCREMENT 672 646 #define os2_ERROR_BIDI_INVALID_COMBINATION 673 647 #define os2_ERROR_BIDI_INVALID_RESERVED 674 648 #define os2_ERROR_BIDI_INVALID_EFFECT 675 649 #define os2_ERROR_BIDI_INVALID_CSDREC 676 650 #define os2_ERROR_BIDI_INVALID_CSDSTATE 677 651 #define os2_ERROR_BIDI_INVALID_LEVEL 678 652 #define os2_ERROR_BIDI_INVALID_TYPE_SUPPORT 679 653 #define os2_ERROR_BIDI_INVALID_ORIENTATION 680 654 #define os2_ERROR_BIDI_INVALID_NUM_SHAPE 681 655 #define os2_ERROR_BIDI_INVALID_CSD 682 656 #define os2_ERROR_BIDI_NO_SUPPORT 683 657 #define os2_ERROR_IMP_INVALID_PARM 691 658 #define os2_ERROR_IMP_INVALID_LENGTH 692 659 #define os2_ERROR_MON_BAD_BUFFER 730 660 #define os2_ERROR_MODULE_CORRUPTED 731 661 #define os2_ERROR_SM_OUTOF_SWAPFILE 1477 662 #define os2_ERROR_LF_TIMEOUT 2055 663 #define os2_ERROR_LF_SUSPEND_SUCCESS 2057 664 #define os2_ERROR_LF_RESUME_SUCCESS 2058 665 #define os2_ERROR_LF_REDIRECT_SUCCESS 2059 666 #define os2_ERROR_LF_REDIRECT_FAILURE 2060 667 #define os2_ERROR_SWAPPER_NOT_ACTIVE 32768 668 #define os2_ERROR_INVALID_SWAPID 32769 669 #define os2_ERROR_IOERR_SWAP_FILE 32770 670 #define os2_ERROR_SWAP_TABLE_FULL 32771 671 #define os2_ERROR_SWAP_FILE_FULL 32772 672 #define os2_ERROR_CANT_INIT_SWAPPER 32773 673 #define os2_ERROR_SWAPPER_ALREADY_INIT 32774 674 #define os2_ERROR_PMM_INSUFFICIENT_MEMORY 32775 675 #define os2_ERROR_PMM_INVALID_FLAGS 32776 676 #define os2_ERROR_PMM_INVALID_ADDRESS 32777 677 #define os2_ERROR_PMM_LOCK_FAILED 32778 678 #define os2_ERROR_PMM_UNLOCK_FAILED 32779 679 #define os2_ERROR_PMM_MOVE_INCOMPLETE 32780 680 #define os2_ERROR_UCOM_DRIVE_RENAMED 32781 681 #define os2_ERROR_UCOM_FILENAME_TRUNCATED 32782 682 #define os2_ERROR_UCOM_BUFFER_LENGTH 32783 683 #define os2_ERROR_MON_CHAIN_HANDLE 32784 684 #define os2_ERROR_MON_NOT_REGISTERED 32785 685 #define os2_ERROR_SMG_ALREADY_TOP 32786 686 #define os2_ERROR_PMM_ARENA_MODIFIED 32787 687 #define os2_ERROR_SMG_PRINTER_OPEN 32788 688 #define os2_ERROR_PMM_SET_FLAGS_FAILED 32789 689 #define os2_ERROR_INVALID_DOS_DD 32790 690 #define os2_ERROR_BLOCKED 32791 691 #define os2_ERROR_NOBLOCK 32792 692 #define os2_ERROR_INSTANCE_SHARED 32793 693 #define os2_ERROR_NO_OBJECT 32794 694 #define os2_ERROR_PARTIAL_ATTACH 32795 695 #define os2_ERROR_INCACHE 32796 696 #define os2_ERROR_SWAP_IO_PROBLEMS 32797 697 #define os2_ERROR_CROSSES_OBJECT_BOUNDARY 32798 698 #define os2_ERROR_LONGLOCK 32799 699 #define os2_ERROR_SHORTLOCK 32800 700 #define os2_ERROR_UVIRTLOCK 32801 701 #define os2_ERROR_ALIASLOCK 32802 702 #define os2_ERROR_ALIAS 32803 703 #define os2_ERROR_NO_MORE_HANDLES 32804 704 #define os2_ERROR_SCAN_TERMINATED 32805 705 #define os2_ERROR_TERMINATOR_NOT_FOUND 32806 706 #define os2_ERROR_NOT_DIRECT_CHILD 32807 707 #define os2_ERROR_DELAY_FREE 32808 708 #define os2_ERROR_GUARDPAGE 32809 709 #define os2_ERROR_SWAPERROR 32900 710 #define os2_ERROR_LDRERROR 32901 711 #define os2_ERROR_NOMEMORY 32902 712 #define os2_ERROR_NOACCESS 32903 713 #define os2_ERROR_NO_DLL_TERM 32904 714 #define os2_ERROR_CPSIO_CODE_PAGE_INVALID 65026 715 #define os2_ERROR_CPSIO_NO_SPOOLER 65027 716 #define os2_ERROR_CPSIO_FONT_ID_INVALID 65028 717 #define os2_ERROR_CPSIO_INTERNAL_ERROR 65033 718 #define os2_ERROR_CPSIO_INVALID_PTR_NAME 65034 719 #define os2_ERROR_CPSIO_NOT_ACTIVE 65037 720 #define os2_ERROR_CPSIO_PID_FULL 65039 721 #define os2_ERROR_CPSIO_PID_NOT_FOUND 65040 722 #define os2_ERROR_CPSIO_READ_CTL_SEQ 65043 723 #define os2_ERROR_CPSIO_READ_FNT_DEF 65045 724 #define os2_ERROR_CPSIO_WRITE_ERROR 65047 725 #define os2_ERROR_CPSIO_WRITE_FULL_ERROR 65048 726 #define os2_ERROR_CPSIO_WRITE_HANDLE_BAD 65049 727 #define os2_ERROR_CPSIO_SWIT_LOAD 65074 728 #define os2_ERROR_CPSIO_INV_COMMAND 65077 729 #define os2_ERROR_CPSIO_NO_FONT_SWIT 65078 730 #define os2_ERROR_ENTRY_IS_CALLGATE 65079 731 #define os2_ERROR_USER_DEFINED_BASE 0xFF00 732 #define os2_ERROR_I24_WRITE_PROTECT 0 733 #define os2_ERROR_I24_BAD_UNIT 1 734 #define os2_ERROR_I24_NOT_READY 2 735 #define os2_ERROR_I24_BAD_COMMAND 3 736 #define os2_ERROR_I24_CRC 4 737 #define os2_ERROR_I24_BAD_LENGTH 5 738 #define os2_ERROR_I24_SEEK 6 739 #define os2_ERROR_I24_NOT_DOS_DISK 7 740 #define os2_ERROR_I24_SECTOR_NOT_FOUND 8 741 #define os2_ERROR_I24_OUT_OF_PAPER 9 742 #define os2_ERROR_I24_WRITE_FAULT 10 743 #define os2_ERROR_I24_READ_FAULT 11 744 #define os2_ERROR_I24_GEN_FAILURE 12 745 #define os2_ERROR_I24_DISK_CHANGE 13 746 #define os2_ERROR_I24_WRONG_DISK 15 747 #define os2_ERROR_I24_UNCERTAIN_MEDIA 16 748 #define os2_ERROR_I24_CHAR_CALL_INTERRUPTED 17 749 #define os2_ERROR_I24_NO_MONITOR_SUPPORT 18 750 #define os2_ERROR_I24_INVALID_PARAMETER 19 751 #define os2_ERROR_I24_DEVICE_IN_USE 20 752 #define os2_ERROR_I24_QUIET_INIT_FAIL 21 149 753 #define _PANOSE os2__PANOSE 150 754 #define PANOSE os2_PANOSE … … 155 759 #define FATTRS os2_FATTRS 156 760 #define PFATTRS os2_PFATTRS 761 #define os2_PAG_READ 0x0001 762 #define os2_PAG_WRITE 0x0002 763 #define os2_PAG_EXECUTE 0x0004 764 #define os2_PAG_GUARD 0x0008 765 #define os2_PAG_COMMIT 0x0010 766 #define os2_PAG_DECOMMIT 0x0020 767 #define os2_OBJ_TILE 0x0040 768 #define os2_OBJ_PROTECTED 0x0080 769 #define os2_OBJ_GETTABLE 0x0100 770 #define os2_OBJ_GIVEABLE 0x0200 771 #define os2_OBJ_ANY 0x0400 772 #define os2_OBJ_SELMAPALL 0x0800 773 #define os2_PAG_DEFAULT 0x0400 774 #define os2_PAG_SHARED 0x2000 775 #define os2_PAG_FREE 0x4000 776 #define os2_PAG_BASE 0x00010000 777 #define os2_PAG_NPOUT 0x0000 778 #define os2_PAG_PRESENT 0x0001 779 #define os2_PAG_NPIN 0x0002 780 #define os2_PAG_PRESMASK 0x0003 781 #define os2_PAG_INVALID 0x0000 782 #define os2_PAG_RESIDENT 0x0010 783 #define os2_PAG_SWAPPABLE 0x0020 784 #define os2_PAG_DISCARDABLE 0x0030 785 #define os2_PAG_TYPEMASK 0x0030 786 #define os2_fPERM (os2_PAG_EXECUTE | os2_PAG_READ | os2_PAG_WRITE) 787 #define os2_fSHARE (os2_OBJ_GETTABLE | os2_OBJ_GIVEABLE) 788 #define os2_fALLOC (fPERM | os2_OBJ_TILE | os2_PAG_COMMIT) 789 #define os2_fALLOCSHR (fPERM | fSHARE | os2_OBJ_TILE | os2_PAG_COMMIT) 790 #define os2_fSET (fPERM|os2_PAG_COMMIT|os2_PAG_DECOMMIT|os2_PAG_DEFAULT) 157 791 #define HFILE os2_HFILE 158 792 #define PHFILE os2_PHFILE … … 282 916 #define LISTIOL os2_LISTIOL 283 917 #define PLISTIOL os2_PLISTIOL 918 #define os2_ERROR_OCCURRED 0x0080 284 919 #define _DCBINFO os2__DCBINFO 285 920 #define DCBINFO os2_DCBINFO … … 1847 2482 #define LINFOSEG os2_LINFOSEG 1848 2483 #define PLINFOSEG os2_PLINFOSEG 2484 #define os2_OBJ_LOCATION 0x01000000 2485 #define os2_OBJ_FORK 0x02000000 2486 #define os2_DosAllocMem (a, b, c) DosAllocMemEx((a),(b),(c) | os2_OBJ_FORK) 2487 #define os2_DosAllocSharedMem (a,b,c,d) DosAllocSharedMemEx((a),(b),(c),(d) | os2_OBJ_FORK) 1849 2488 1850 2489 /* include the main OS/2 API wrapper */ 1851 2490 #include <os2wrap.h> 1852 1853 /*1854 Undefine all typedefs prefixed with "os2_" at the beginning and original1855 versions of macros. The command to generate this block is:1856 1857 sed -nr '1858 {1859 s/^[[:space:]]*typedef[[:space:]]+struct[[:space:]]+([A-Za-z_][A-Za-z0-9_]+)([[:space:]]*[/]\*.*\*[/])?[[:space:]]*$/#undef \1/p1860 td1861 s/^[[:space:]]*}[[:space:]]*([A-Z_][A-Z0-9_]+)[[:space:]]*;[[:space:]]*$/#undef \1/p1862 td1863 s/^[[:space:]]*typedef[[:space:]]+.+[[:space:]]+\**([A-Z_][A-Z0-9_]+)[[:space:]]*(\[.*\])?[[:space:]]*;([[:space:]]*[/]\*.*\*[/])?[[:space:]]*$/#undef \1/p1864 td1865 }1866 /^[[:space:]]*#define[[:space:]]+/ {1867 :a;/\\$/{N;ba}1868 s/([^A-Za-z0-9_])(MAKE[A-Z0-9]+)([^A-Za-z0-9_])/\1 \2 \3/g1869 s/([^A-Za-z0-9_])(((CONTEXT|CS|DM|DT|EH|EXCEPTION|FDM|FNTM|HWND|MB|MIA|NP|QS|QSV|RGN|RT|SEM|SEVERITY|SIS|SV|SWP|TA|WC|WM|WS|(WIN|GPI|DEV|SPL)ERR)_([A-Z0-9_]+))|((P?VOID|(API|EXP)ENTRY|P(CMD|CHR|MSE)MSG|ERRORID|PCMDMSG|SEL|HWND|MPARAM|MRESULT|LHANDLE|SHANDLE|BOOL|(LO|HI|P)?U?(LONG|SHORT|CHAR|BYTE)|MPFROM[A-Z0-9]+|MAKE[A-Z0-9]+)([^A-Za-z0-9_])))/\1os2_\2/g1870 tb;bd1871 :b1872 s/^[[:space:]]*#define[[:space:]]+(os2_)?([A-Za-z_][A-Za-z0-9_]+)[[:space:]]*(.*)/#undef \2/p1873 }1874 :d1875 '1876 */1877 2491 1878 2492 #undef _THUNK_PASCAL_FUNCTION … … 1882 2496 #undef OFFSETOF 1883 2497 #undef _THUNK_PTR_SIZE_OK 2498 1884 2499 #undef APIENTRY 1885 2500 #undef EXPENTRY … … 1982 2597 #undef SEVERITY_SEVERE 1983 2598 #undef SEVERITY_UNRECOVERABLE 2599 #undef NO_ERROR 2600 #undef ERROR_INVALID_FUNCTION 2601 #undef ERROR_FILE_NOT_FOUND 2602 #undef ERROR_PATH_NOT_FOUND 2603 #undef ERROR_TOO_MANY_OPEN_FILES 2604 #undef ERROR_ACCESS_DENIED 2605 #undef ERROR_INVALID_HANDLE 2606 #undef ERROR_ARENA_TRASHED 2607 #undef ERROR_NOT_ENOUGH_MEMORY 2608 #undef ERROR_INVALID_BLOCK 2609 #undef ERROR_BAD_ENVIRONMENT 2610 #undef ERROR_BAD_FORMAT 2611 #undef ERROR_INVALID_ACCESS 2612 #undef ERROR_INVALID_DATA 2613 #undef ERROR_INVALID_DRIVE 2614 #undef ERROR_CURRENT_DIRECTORY 2615 #undef ERROR_NOT_SAME_DEVICE 2616 #undef ERROR_NO_MORE_FILES 2617 #undef ERROR_WRITE_PROTECT 2618 #undef ERROR_BAD_UNIT 2619 #undef ERROR_NOT_READY 2620 #undef ERROR_BAD_COMMAND 2621 #undef ERROR_CRC 2622 #undef ERROR_BAD_LENGTH 2623 #undef ERROR_SEEK 2624 #undef ERROR_NOT_DOS_DISK 2625 #undef ERROR_SECTOR_NOT_FOUND 2626 #undef ERROR_OUT_OF_PAPER 2627 #undef ERROR_WRITE_FAULT 2628 #undef ERROR_READ_FAULT 2629 #undef ERROR_GEN_FAILURE 2630 #undef ERROR_SHARING_VIOLATION 2631 #undef ERROR_LOCK_VIOLATION 2632 #undef ERROR_WRONG_DISK 2633 #undef ERROR_FCB_UNAVAILABLE 2634 #undef ERROR_SHARING_BUFFER_EXCEEDED 2635 #undef ERROR_CODE_PAGE_MISMATCHED 2636 #undef ERROR_HANDLE_EOF 2637 #undef ERROR_HANDLE_DISK_FULL 2638 #undef ERROR_NOT_SUPPORTED 2639 #undef ERROR_REM_NOT_LIST 2640 #undef ERROR_DUP_NAME 2641 #undef ERROR_BAD_NETPATH 2642 #undef ERROR_NETWORK_BUSY 2643 #undef ERROR_DEV_NOT_EXIST 2644 #undef ERROR_TOO_MANY_CMDS 2645 #undef ERROR_ADAP_HDW_ERR 2646 #undef ERROR_BAD_NET_RESP 2647 #undef ERROR_UNEXP_NET_ERR 2648 #undef ERROR_BAD_REM_ADAP 2649 #undef ERROR_PRINTQ_FULL 2650 #undef ERROR_NO_SPOOL_SPACE 2651 #undef ERROR_PRINT_CANCELLED 2652 #undef ERROR_NETNAME_DELETED 2653 #undef ERROR_NETWORK_ACCESS_DENIED 2654 #undef ERROR_BAD_DEV_TYPE 2655 #undef ERROR_BAD_NET_NAME 2656 #undef ERROR_TOO_MANY_NAMES 2657 #undef ERROR_TOO_MANY_SESS 2658 #undef ERROR_SHARING_PAUSED 2659 #undef ERROR_REQ_NOT_ACCEP 2660 #undef ERROR_REDIR_PAUSED 2661 #undef ERROR_SBCS_ATT_WRITE_PROT 2662 #undef ERROR_SBCS_GENERAL_FAILURE 2663 #undef ERROR_XGA_OUT_MEMORY 2664 #undef ERROR_FILE_EXISTS 2665 #undef ERROR_DUP_FCB 2666 #undef ERROR_CANNOT_MAKE 2667 #undef ERROR_FAIL_I24 2668 #undef ERROR_OUT_OF_STRUCTURES 2669 #undef ERROR_ALREADY_ASSIGNED 2670 #undef ERROR_INVALID_PASSWORD 2671 #undef ERROR_INVALID_PARAMETER 2672 #undef ERROR_NET_WRITE_FAULT 2673 #undef ERROR_NO_PROC_SLOTS 2674 #undef ERROR_NOT_FROZEN 2675 #undef ERROR_SYS_COMP_NOT_LOADED 2676 #undef ERROR_NO_ITEMS 2677 #undef ERROR_INTERRUPT 2678 #undef ERROR_DEVICE_IN_USE 2679 #undef ERROR_TOO_MANY_SEMAPHORES 2680 #undef ERROR_EXCL_SEM_ALREADY_OWNED 2681 #undef ERROR_SEM_IS_SET 2682 #undef ERROR_TOO_MANY_SEM_REQUESTS 2683 #undef ERROR_INVALID_AT_INTERRUPT_TIME 2684 #undef ERROR_SEM_OWNER_DIED 2685 #undef ERROR_SEM_USER_LIMIT 2686 #undef ERROR_DISK_CHANGE 2687 #undef ERROR_DRIVE_LOCKED 2688 #undef ERROR_BROKEN_PIPE 2689 #undef ERROR_OPEN_FAILED 2690 #undef ERROR_BUFFER_OVERFLOW 2691 #undef ERROR_DISK_FULL 2692 #undef ERROR_NO_MORE_SEARCH_HANDLES 2693 #undef ERROR_INVALID_TARGET_HANDLE 2694 #undef ERROR_PROTECTION_VIOLATION 2695 #undef ERROR_VIOKBD_REQUEST 2696 #undef ERROR_INVALID_CATEGORY 2697 #undef ERROR_INVALID_VERIFY_SWITCH 2698 #undef ERROR_BAD_DRIVER_LEVEL 2699 #undef ERROR_CALL_NOT_IMPLEMENTED 2700 #undef ERROR_SEM_TIMEOUT 2701 #undef ERROR_INSUFFICIENT_BUFFER 2702 #undef ERROR_INVALID_NAME 2703 #undef ERROR_INVALID_LEVEL 2704 #undef ERROR_NO_VOLUME_LABEL 2705 #undef ERROR_MOD_NOT_FOUND 2706 #undef ERROR_PROC_NOT_FOUND 2707 #undef ERROR_WAIT_NO_CHILDREN 2708 #undef ERROR_CHILD_NOT_COMPLETE 2709 #undef ERROR_DIRECT_ACCESS_HANDLE 2710 #undef ERROR_NEGATIVE_SEEK 2711 #undef ERROR_SEEK_ON_DEVICE 2712 #undef ERROR_IS_JOIN_TARGET 2713 #undef ERROR_IS_JOINED 2714 #undef ERROR_IS_SUBSTED 2715 #undef ERROR_NOT_JOINED 2716 #undef ERROR_NOT_SUBSTED 2717 #undef ERROR_JOIN_TO_JOIN 2718 #undef ERROR_SUBST_TO_SUBST 2719 #undef ERROR_JOIN_TO_SUBST 2720 #undef ERROR_SUBST_TO_JOIN 2721 #undef ERROR_BUSY_DRIVE 2722 #undef ERROR_SAME_DRIVE 2723 #undef ERROR_DIR_NOT_ROOT 2724 #undef ERROR_DIR_NOT_EMPTY 2725 #undef ERROR_IS_SUBST_PATH 2726 #undef ERROR_IS_JOIN_PATH 2727 #undef ERROR_PATH_BUSY 2728 #undef ERROR_IS_SUBST_TARGET 2729 #undef ERROR_SYSTEM_TRACE 2730 #undef ERROR_INVALID_EVENT_COUNT 2731 #undef ERROR_TOO_MANY_MUXWAITERS 2732 #undef ERROR_INVALID_LIST_FORMAT 2733 #undef ERROR_LABEL_TOO_LONG 2734 #undef ERROR_TOO_MANY_TCBS 2735 #undef ERROR_SIGNAL_REFUSED 2736 #undef ERROR_DISCARDED 2737 #undef ERROR_NOT_LOCKED 2738 #undef ERROR_BAD_THREADID_ADDR 2739 #undef ERROR_BAD_ARGUMENTS 2740 #undef ERROR_BAD_PATHNAME 2741 #undef ERROR_SIGNAL_PENDING 2742 #undef ERROR_UNCERTAIN_MEDIA 2743 #undef ERROR_MAX_THRDS_REACHED 2744 #undef ERROR_MONITORS_NOT_SUPPORTED 2745 #undef ERROR_UNC_DRIVER_NOT_INSTALLED 2746 #undef ERROR_LOCK_FAILED 2747 #undef ERROR_SWAPIO_FAILED 2748 #undef ERROR_SWAPIN_FAILED 2749 #undef ERROR_BUSY 2750 #undef ERROR_CANCEL_VIOLATION 2751 #undef ERROR_ATOMIC_LOCK_NOT_SUPPORTED 2752 #undef ERROR_READ_LOCKS_NOT_SUPPORTED 2753 #undef ERROR_INVALID_SEGMENT_NUMBER 2754 #undef ERROR_INVALID_CALLGATE 2755 #undef ERROR_INVALID_ORDINAL 2756 #undef ERROR_ALREADY_EXISTS 2757 #undef ERROR_NO_CHILD_PROCESS 2758 #undef ERROR_CHILD_ALIVE_NOWAIT 2759 #undef ERROR_INVALID_FLAG_NUMBER 2760 #undef ERROR_SEM_NOT_FOUND 2761 #undef ERROR_INVALID_STARTING_CODESEG 2762 #undef ERROR_INVALID_STACKSEG 2763 #undef ERROR_INVALID_MODULETYPE 2764 #undef ERROR_INVALID_EXE_SIGNATURE 2765 #undef ERROR_EXE_MARKED_INVALID 2766 #undef ERROR_BAD_EXE_FORMAT 2767 #undef ERROR_ITERATED_DATA_EXCEEDS_64K 2768 #undef ERROR_INVALID_MINALLOCSIZE 2769 #undef ERROR_DYNLINK_FROM_INVALID_RING 2770 #undef ERROR_IOPL_NOT_ENABLED 2771 #undef ERROR_INVALID_SEGDPL 2772 #undef ERROR_AUTODATASEG_EXCEEDS_64K 2773 #undef ERROR_RING2SEG_MUST_BE_MOVABLE 2774 #undef ERROR_RELOCSRC_CHAIN_EXCEEDS_SEGLIMIT 2775 #undef ERROR_INFLOOP_IN_RELOC_CHAIN 2776 #undef ERROR_ENVVAR_NOT_FOUND 2777 #undef ERROR_NOT_CURRENT_CTRY 2778 #undef ERROR_NO_SIGNAL_SENT 2779 #undef ERROR_FILENAME_EXCED_RANGE 2780 #undef ERROR_RING2_STACK_IN_USE 2781 #undef ERROR_META_EXPANSION_TOO_LONG 2782 #undef ERROR_INVALID_SIGNAL_NUMBER 2783 #undef ERROR_THREAD_1_INACTIVE 2784 #undef ERROR_INFO_NOT_AVAIL 2785 #undef ERROR_LOCKED 2786 #undef ERROR_BAD_DYNALINK 2787 #undef ERROR_TOO_MANY_MODULES 2788 #undef ERROR_NESTING_NOT_ALLOWED 2789 #undef ERROR_CANNOT_SHRINK 2790 #undef ERROR_ZOMBIE_PROCESS 2791 #undef ERROR_STACK_IN_HIGH_MEMORY 2792 #undef ERROR_INVALID_EXITROUTINE_RING 2793 #undef ERROR_GETBUF_FAILED 2794 #undef ERROR_FLUSHBUF_FAILED 2795 #undef ERROR_TRANSFER_TOO_LONG 2796 #undef ERROR_FORCENOSWAP_FAILED 2797 #undef ERROR_SMG_NO_TARGET_WINDOW 2798 #undef ERROR_NO_CHILDREN 2799 #undef ERROR_INVALID_SCREEN_GROUP 2800 #undef ERROR_BAD_PIPE 2801 #undef ERROR_PIPE_BUSY 2802 #undef ERROR_NO_DATA 2803 #undef ERROR_PIPE_NOT_CONNECTED 2804 #undef ERROR_MORE_DATA 2805 #undef ERROR_VC_DISCONNECTED 2806 #undef ERROR_CIRCULARITY_REQUESTED 2807 #undef ERROR_DIRECTORY_IN_CDS 2808 #undef ERROR_INVALID_FSD_NAME 2809 #undef ERROR_INVALID_PATH 2810 #undef ERROR_INVALID_EA_NAME 2811 #undef ERROR_EA_LIST_INCONSISTENT 2812 #undef ERROR_EA_LIST_TOO_LONG 2813 #undef ERROR_NO_META_MATCH 2814 #undef ERROR_FINDNOTIFY_TIMEOUT 2815 #undef ERROR_NO_MORE_ITEMS 2816 #undef ERROR_SEARCH_STRUC_REUSED 2817 #undef ERROR_CHAR_NOT_FOUND 2818 #undef ERROR_TOO_MUCH_STACK 2819 #undef ERROR_INVALID_ATTR 2820 #undef ERROR_INVALID_STARTING_RING 2821 #undef ERROR_INVALID_DLL_INIT_RING 2822 #undef ERROR_CANNOT_COPY 2823 #undef ERROR_DIRECTORY 2824 #undef ERROR_OPLOCKED_FILE 2825 #undef ERROR_OPLOCK_THREAD_EXISTS 2826 #undef ERROR_VOLUME_CHANGED 2827 #undef ERROR_FINDNOTIFY_HANDLE_IN_USE 2828 #undef ERROR_FINDNOTIFY_HANDLE_CLOSED 2829 #undef ERROR_NOTIFY_OBJECT_REMOVED 2830 #undef ERROR_ALREADY_SHUTDOWN 2831 #undef ERROR_EAS_DIDNT_FIT 2832 #undef ERROR_EA_FILE_CORRUPT 2833 #undef ERROR_EA_TABLE_FULL 2834 #undef ERROR_INVALID_EA_HANDLE 2835 #undef ERROR_NO_CLUSTER 2836 #undef ERROR_CREATE_EA_FILE 2837 #undef ERROR_CANNOT_OPEN_EA_FILE 2838 #undef ERROR_EAS_NOT_SUPPORTED 2839 #undef ERROR_NEED_EAS_FOUND 2840 #undef ERROR_DUPLICATE_HANDLE 2841 #undef ERROR_DUPLICATE_NAME 2842 #undef ERROR_EMPTY_MUXWAIT 2843 #undef ERROR_MUTEX_OWNED 2844 #undef ERROR_NOT_OWNER 2845 #undef ERROR_PARAM_TOO_SMALL 2846 #undef ERROR_TOO_MANY_HANDLES 2847 #undef ERROR_TOO_MANY_OPENS 2848 #undef ERROR_WRONG_TYPE 2849 #undef ERROR_UNUSED_CODE 2850 #undef ERROR_THREAD_NOT_TERMINATED 2851 #undef ERROR_INIT_ROUTINE_FAILED 2852 #undef ERROR_MODULE_IN_USE 2853 #undef ERROR_NOT_ENOUGH_WATCHPOINTS 2854 #undef ERROR_TOO_MANY_POSTS 2855 #undef ERROR_ALREADY_POSTED 2856 #undef ERROR_ALREADY_RESET 2857 #undef ERROR_SEM_BUSY 2858 #undef ERROR_INVALID_PROCID 2859 #undef ERROR_INVALID_PDELTA 2860 #undef ERROR_NOT_DESCENDANT 2861 #undef ERROR_NOT_SESSION_MANAGER 2862 #undef ERROR_INVALID_PCLASS 2863 #undef ERROR_INVALID_SCOPE 2864 #undef ERROR_INVALID_THREADID 2865 #undef ERROR_DOSSUB_SHRINK 2866 #undef ERROR_DOSSUB_NOMEM 2867 #undef ERROR_DOSSUB_OVERLAP 2868 #undef ERROR_DOSSUB_BADSIZE 2869 #undef ERROR_DOSSUB_BADFLAG 2870 #undef ERROR_DOSSUB_BADSELECTOR 2871 #undef ERROR_MR_MSG_TOO_LONG 2872 #undef ERROR_MR_MID_NOT_FOUND 2873 #undef ERROR_MR_UN_ACC_MSGF 2874 #undef ERROR_MR_INV_MSGF_FORMAT 2875 #undef ERROR_MR_INV_IVCOUNT 2876 #undef ERROR_MR_UN_PERFORM 2877 #undef ERROR_TS_WAKEUP 2878 #undef ERROR_TS_SEMHANDLE 2879 #undef ERROR_TS_NOTIMER 2880 #undef ERROR_TS_HANDLE 2881 #undef ERROR_TS_DATETIME 2882 #undef ERROR_SYS_INTERNAL 2883 #undef ERROR_QUE_CURRENT_NAME 2884 #undef ERROR_QUE_PROC_NOT_OWNED 2885 #undef ERROR_QUE_PROC_OWNED 2886 #undef ERROR_QUE_DUPLICATE 2887 #undef ERROR_QUE_ELEMENT_NOT_EXIST 2888 #undef ERROR_QUE_NO_MEMORY 2889 #undef ERROR_QUE_INVALID_NAME 2890 #undef ERROR_QUE_INVALID_PRIORITY 2891 #undef ERROR_QUE_INVALID_HANDLE 2892 #undef ERROR_QUE_LINK_NOT_FOUND 2893 #undef ERROR_QUE_MEMORY_ERROR 2894 #undef ERROR_QUE_PREV_AT_END 2895 #undef ERROR_QUE_PROC_NO_ACCESS 2896 #undef ERROR_QUE_EMPTY 2897 #undef ERROR_QUE_NAME_NOT_EXIST 2898 #undef ERROR_QUE_NOT_INITIALIZED 2899 #undef ERROR_QUE_UNABLE_TO_ACCESS 2900 #undef ERROR_QUE_UNABLE_TO_ADD 2901 #undef ERROR_QUE_UNABLE_TO_INIT 2902 #undef ERROR_VIO_INVALID_MASK 2903 #undef ERROR_VIO_PTR 2904 #undef ERROR_VIO_APTR 2905 #undef ERROR_VIO_RPTR 2906 #undef ERROR_VIO_CPTR 2907 #undef ERROR_VIO_LPTR 2908 #undef ERROR_VIO_MODE 2909 #undef ERROR_VIO_WIDTH 2910 #undef ERROR_VIO_ATTR 2911 #undef ERROR_VIO_ROW 2912 #undef ERROR_VIO_COL 2913 #undef ERROR_VIO_TOPROW 2914 #undef ERROR_VIO_BOTROW 2915 #undef ERROR_VIO_RIGHTCOL 2916 #undef ERROR_VIO_LEFTCOL 2917 #undef ERROR_SCS_CALL 2918 #undef ERROR_SCS_VALUE 2919 #undef ERROR_VIO_WAIT_FLAG 2920 #undef ERROR_VIO_UNLOCK 2921 #undef ERROR_SGS_NOT_SESSION_MGR 2922 #undef ERROR_SMG_INVALID_SGID 2923 #undef ERROR_SMG_INVALID_SESSION_ID 2924 #undef ERROR_SMG_NOSG 2925 #undef ERROR_SMG_NO_SESSIONS 2926 #undef ERROR_SMG_GRP_NOT_FOUND 2927 #undef ERROR_SMG_SESSION_NOT_FOUND 2928 #undef ERROR_SMG_SET_TITLE 2929 #undef ERROR_KBD_PARAMETER 2930 #undef ERROR_KBD_NO_DEVICE 2931 #undef ERROR_KBD_INVALID_IOWAIT 2932 #undef ERROR_KBD_INVALID_LENGTH 2933 #undef ERROR_KBD_INVALID_ECHO_MASK 2934 #undef ERROR_KBD_INVALID_INPUT_MASK 2935 #undef ERROR_MON_INVALID_PARMS 2936 #undef ERROR_MON_INVALID_DEVNAME 2937 #undef ERROR_MON_INVALID_HANDLE 2938 #undef ERROR_MON_BUFFER_TOO_SMALL 2939 #undef ERROR_MON_BUFFER_EMPTY 2940 #undef ERROR_MON_DATA_TOO_LARGE 2941 #undef ERROR_MOUSE_NO_DEVICE 2942 #undef ERROR_MOUSE_INV_HANDLE 2943 #undef ERROR_MOUSE_INV_PARMS 2944 #undef ERROR_MOUSE_CANT_RESET 2945 #undef ERROR_MOUSE_DISPLAY_PARMS 2946 #undef ERROR_MOUSE_INV_MODULE 2947 #undef ERROR_MOUSE_INV_ENTRY_PT 2948 #undef ERROR_MOUSE_INV_MASK 2949 #undef ERROR_INVALID_FREQUENCY 2950 #undef ERROR_NLS_NO_COUNTRY_FILE 2951 #undef ERROR_NLS_OPEN_FAILED 2952 #undef ERROR_NLS_NO_CTRY_CODE 2953 #undef ERROR_NLS_TABLE_TRUNCATED 2954 #undef ERROR_NLS_BAD_TYPE 2955 #undef ERROR_NLS_TYPE_NOT_FOUND 2956 #undef ERROR_VIO_SMG_ONLY 2957 #undef ERROR_VIO_INVALID_ASCIIZ 2958 #undef ERROR_VIO_DEREGISTER 2959 #undef ERROR_VIO_NO_POPUP 2960 #undef ERROR_VIO_EXISTING_POPUP 2961 #undef ERROR_KBD_SMG_ONLY 2962 #undef ERROR_KBD_INVALID_ASCIIZ 2963 #undef ERROR_KBD_INVALID_MASK 2964 #undef ERROR_KBD_REGISTER 2965 #undef ERROR_KBD_DEREGISTER 2966 #undef ERROR_MOUSE_SMG_ONLY 2967 #undef ERROR_MOUSE_INVALID_ASCIIZ 2968 #undef ERROR_MOUSE_INVALID_MASK 2969 #undef ERROR_MOUSE_REGISTER 2970 #undef ERROR_MOUSE_DEREGISTER 2971 #undef ERROR_SMG_BAD_ACTION 2972 #undef ERROR_SMG_INVALID_CALL 2973 #undef ERROR_SCS_SG_NOTFOUND 2974 #undef ERROR_SCS_NOT_SHELL 2975 #undef ERROR_VIO_INVALID_PARMS 2976 #undef ERROR_VIO_FUNCTION_OWNED 2977 #undef ERROR_VIO_RETURN 2978 #undef ERROR_SCS_INVALID_FUNCTION 2979 #undef ERROR_SCS_NOT_SESSION_MGR 2980 #undef ERROR_VIO_REGISTER 2981 #undef ERROR_VIO_NO_MODE_THREAD 2982 #undef ERROR_VIO_NO_SAVE_RESTORE_THD 2983 #undef ERROR_VIO_IN_BG 2984 #undef ERROR_VIO_ILLEGAL_DURING_POPUP 2985 #undef ERROR_SMG_NOT_BASESHELL 2986 #undef ERROR_SMG_BAD_STATUSREQ 2987 #undef ERROR_QUE_INVALID_WAIT 2988 #undef ERROR_VIO_LOCK 2989 #undef ERROR_MOUSE_INVALID_IOWAIT 2990 #undef ERROR_VIO_INVALID_HANDLE 2991 #undef ERROR_VIO_ILLEGAL_DURING_LOCK 2992 #undef ERROR_VIO_INVALID_LENGTH 2993 #undef ERROR_KBD_INVALID_HANDLE 2994 #undef ERROR_KBD_NO_MORE_HANDLE 2995 #undef ERROR_KBD_CANNOT_CREATE_KCB 2996 #undef ERROR_KBD_CODEPAGE_LOAD_INCOMPL 2997 #undef ERROR_KBD_INVALID_CODEPAGE_ID 2998 #undef ERROR_KBD_NO_CODEPAGE_SUPPORT 2999 #undef ERROR_KBD_FOCUS_REQUIRED 3000 #undef ERROR_KBD_FOCUS_ALREADY_ACTIVE 3001 #undef ERROR_KBD_KEYBOARD_BUSY 3002 #undef ERROR_KBD_INVALID_CODEPAGE 3003 #undef ERROR_KBD_UNABLE_TO_FOCUS 3004 #undef ERROR_SMG_SESSION_NON_SELECT 3005 #undef ERROR_SMG_SESSION_NOT_FOREGRND 3006 #undef ERROR_SMG_SESSION_NOT_PARENT 3007 #undef ERROR_SMG_INVALID_START_MODE 3008 #undef ERROR_SMG_INVALID_RELATED_OPT 3009 #undef ERROR_SMG_INVALID_BOND_OPTION 3010 #undef ERROR_SMG_INVALID_SELECT_OPT 3011 #undef ERROR_SMG_START_IN_BACKGROUND 3012 #undef ERROR_SMG_INVALID_STOP_OPTION 3013 #undef ERROR_SMG_BAD_RESERVE 3014 #undef ERROR_SMG_PROCESS_NOT_PARENT 3015 #undef ERROR_SMG_INVALID_DATA_LENGTH 3016 #undef ERROR_SMG_NOT_BOUND 3017 #undef ERROR_SMG_RETRY_SUB_ALLOC 3018 #undef ERROR_KBD_DETACHED 3019 #undef ERROR_VIO_DETACHED 3020 #undef ERROR_MOU_DETACHED 3021 #undef ERROR_VIO_FONT 3022 #undef ERROR_VIO_USER_FONT 3023 #undef ERROR_VIO_BAD_CP 3024 #undef ERROR_VIO_NO_CP 3025 #undef ERROR_VIO_NA_CP 3026 #undef ERROR_INVALID_CODE_PAGE 3027 #undef ERROR_CPLIST_TOO_SMALL 3028 #undef ERROR_CP_NOT_MOVED 3029 #undef ERROR_MODE_SWITCH_INIT 3030 #undef ERROR_CODE_PAGE_NOT_FOUND 3031 #undef ERROR_UNEXPECTED_SLOT_RETURNED 3032 #undef ERROR_SMG_INVALID_TRACE_OPTION 3033 #undef ERROR_VIO_INTERNAL_RESOURCE 3034 #undef ERROR_VIO_SHELL_INIT 3035 #undef ERROR_SMG_NO_HARD_ERRORS 3036 #undef ERROR_CP_SWITCH_INCOMPLETE 3037 #undef ERROR_VIO_TRANSPARENT_POPUP 3038 #undef ERROR_CRITSEC_OVERFLOW 3039 #undef ERROR_CRITSEC_UNDERFLOW 3040 #undef ERROR_VIO_BAD_RESERVE 3041 #undef ERROR_INVALID_ADDRESS 3042 #undef ERROR_ZERO_SELECTORS_REQUESTED 3043 #undef ERROR_NOT_ENOUGH_SELECTORS_AVA 3044 #undef ERROR_INVALID_SELECTOR 3045 #undef ERROR_SMG_INVALID_PROGRAM_TYPE 3046 #undef ERROR_SMG_INVALID_PGM_CONTROL 3047 #undef ERROR_SMG_INVALID_INHERIT_OPT 3048 #undef ERROR_VIO_EXTENDED_SG 3049 #undef ERROR_VIO_NOT_PRES_MGR_SG 3050 #undef ERROR_VIO_SHIELD_OWNED 3051 #undef ERROR_VIO_NO_MORE_HANDLES 3052 #undef ERROR_VIO_SEE_ERROR_LOG 3053 #undef ERROR_VIO_ASSOCIATED_DC 3054 #undef ERROR_KBD_NO_CONSOLE 3055 #undef ERROR_MOUSE_NO_CONSOLE 3056 #undef ERROR_MOUSE_INVALID_HANDLE 3057 #undef ERROR_SMG_INVALID_DEBUG_PARMS 3058 #undef ERROR_KBD_EXTENDED_SG 3059 #undef ERROR_MOU_EXTENDED_SG 3060 #undef ERROR_SMG_INVALID_ICON_FILE 3061 #undef ERROR_TRC_PID_NON_EXISTENT 3062 #undef ERROR_TRC_COUNT_ACTIVE 3063 #undef ERROR_TRC_SUSPENDED_BY_COUNT 3064 #undef ERROR_TRC_COUNT_INACTIVE 3065 #undef ERROR_TRC_COUNT_REACHED 3066 #undef ERROR_NO_MC_TRACE 3067 #undef ERROR_MC_TRACE 3068 #undef ERROR_TRC_COUNT_ZERO 3069 #undef ERROR_SMG_TOO_MANY_DDS 3070 #undef ERROR_SMG_INVALID_NOTIFICATION 3071 #undef ERROR_LF_INVALID_FUNCTION 3072 #undef ERROR_LF_NOT_AVAIL 3073 #undef ERROR_LF_SUSPENDED 3074 #undef ERROR_LF_BUF_TOO_SMALL 3075 #undef ERROR_LF_BUFFER_CORRUPTED 3076 #undef ERROR_LF_BUFFER_FULL 3077 #undef ERROR_LF_INVALID_DAEMON 3078 #undef ERROR_LF_INVALID_RECORD 3079 #undef ERROR_LF_INVALID_TEMPL 3080 #undef ERROR_LF_INVALID_SERVICE 3081 #undef ERROR_LF_GENERAL_FAILURE 3082 #undef ERROR_LF_INVALID_ID 3083 #undef ERROR_LF_INVALID_HANDLE 3084 #undef ERROR_LF_NO_ID_AVAIL 3085 #undef ERROR_LF_TEMPLATE_AREA_FULL 3086 #undef ERROR_LF_ID_IN_USE 3087 #undef ERROR_MOU_NOT_INITIALIZED 3088 #undef ERROR_MOUINITREAL_DONE 3089 #undef ERROR_DOSSUB_CORRUPTED 3090 #undef ERROR_MOUSE_CALLER_NOT_SUBSYS 3091 #undef ERROR_ARITHMETIC_OVERFLOW 3092 #undef ERROR_TMR_NO_DEVICE 3093 #undef ERROR_TMR_INVALID_TIME 3094 #undef ERROR_PVW_INVALID_ENTITY 3095 #undef ERROR_PVW_INVALID_ENTITY_TYPE 3096 #undef ERROR_PVW_INVALID_SPEC 3097 #undef ERROR_PVW_INVALID_RANGE_TYPE 3098 #undef ERROR_PVW_INVALID_COUNTER_BLK 3099 #undef ERROR_PVW_INVALID_TEXT_BLK 3100 #undef ERROR_PRF_NOT_INITIALIZED 3101 #undef ERROR_PRF_ALREADY_INITIALIZED 3102 #undef ERROR_PRF_NOT_STARTED 3103 #undef ERROR_PRF_ALREADY_STARTED 3104 #undef ERROR_PRF_TIMER_OUT_OF_RANGE 3105 #undef ERROR_PRF_TIMER_RESET 3106 #undef ERROR_VDD_LOCK_USEAGE_DENIED 3107 #undef ERROR_TIMEOUT 3108 #undef ERROR_VDM_DOWN 3109 #undef ERROR_VDM_LIMIT 3110 #undef ERROR_VDD_NOT_FOUND 3111 #undef ERROR_INVALID_CALLER 3112 #undef ERROR_PID_MISMATCH 3113 #undef ERROR_INVALID_VDD_HANDLE 3114 #undef ERROR_VLPT_NO_SPOOLER 3115 #undef ERROR_VCOM_DEVICE_BUSY 3116 #undef ERROR_VLPT_DEVICE_BUSY 3117 #undef ERROR_NESTING_TOO_DEEP 3118 #undef ERROR_VDD_MISSING 3119 #undef ERROR_BIDI_INVALID_LENGTH 3120 #undef ERROR_BIDI_INVALID_INCREMENT 3121 #undef ERROR_BIDI_INVALID_COMBINATION 3122 #undef ERROR_BIDI_INVALID_RESERVED 3123 #undef ERROR_BIDI_INVALID_EFFECT 3124 #undef ERROR_BIDI_INVALID_CSDREC 3125 #undef ERROR_BIDI_INVALID_CSDSTATE 3126 #undef ERROR_BIDI_INVALID_LEVEL 3127 #undef ERROR_BIDI_INVALID_TYPE_SUPPORT 3128 #undef ERROR_BIDI_INVALID_ORIENTATION 3129 #undef ERROR_BIDI_INVALID_NUM_SHAPE 3130 #undef ERROR_BIDI_INVALID_CSD 3131 #undef ERROR_BIDI_NO_SUPPORT 3132 #undef ERROR_IMP_INVALID_PARM 3133 #undef ERROR_IMP_INVALID_LENGTH 3134 #undef ERROR_MON_BAD_BUFFER 3135 #undef ERROR_MODULE_CORRUPTED 3136 #undef ERROR_SM_OUTOF_SWAPFILE 3137 #undef ERROR_LF_TIMEOUT 3138 #undef ERROR_LF_SUSPEND_SUCCESS 3139 #undef ERROR_LF_RESUME_SUCCESS 3140 #undef ERROR_LF_REDIRECT_SUCCESS 3141 #undef ERROR_LF_REDIRECT_FAILURE 3142 #undef ERROR_SWAPPER_NOT_ACTIVE 3143 #undef ERROR_INVALID_SWAPID 3144 #undef ERROR_IOERR_SWAP_FILE 3145 #undef ERROR_SWAP_TABLE_FULL 3146 #undef ERROR_SWAP_FILE_FULL 3147 #undef ERROR_CANT_INIT_SWAPPER 3148 #undef ERROR_SWAPPER_ALREADY_INIT 3149 #undef ERROR_PMM_INSUFFICIENT_MEMORY 3150 #undef ERROR_PMM_INVALID_FLAGS 3151 #undef ERROR_PMM_INVALID_ADDRESS 3152 #undef ERROR_PMM_LOCK_FAILED 3153 #undef ERROR_PMM_UNLOCK_FAILED 3154 #undef ERROR_PMM_MOVE_INCOMPLETE 3155 #undef ERROR_UCOM_DRIVE_RENAMED 3156 #undef ERROR_UCOM_FILENAME_TRUNCATED 3157 #undef ERROR_UCOM_BUFFER_LENGTH 3158 #undef ERROR_MON_CHAIN_HANDLE 3159 #undef ERROR_MON_NOT_REGISTERED 3160 #undef ERROR_SMG_ALREADY_TOP 3161 #undef ERROR_PMM_ARENA_MODIFIED 3162 #undef ERROR_SMG_PRINTER_OPEN 3163 #undef ERROR_PMM_SET_FLAGS_FAILED 3164 #undef ERROR_INVALID_DOS_DD 3165 #undef ERROR_BLOCKED 3166 #undef ERROR_NOBLOCK 3167 #undef ERROR_INSTANCE_SHARED 3168 #undef ERROR_NO_OBJECT 3169 #undef ERROR_PARTIAL_ATTACH 3170 #undef ERROR_INCACHE 3171 #undef ERROR_SWAP_IO_PROBLEMS 3172 #undef ERROR_CROSSES_OBJECT_BOUNDARY 3173 #undef ERROR_LONGLOCK 3174 #undef ERROR_SHORTLOCK 3175 #undef ERROR_UVIRTLOCK 3176 #undef ERROR_ALIASLOCK 3177 #undef ERROR_ALIAS 3178 #undef ERROR_NO_MORE_HANDLES 3179 #undef ERROR_SCAN_TERMINATED 3180 #undef ERROR_TERMINATOR_NOT_FOUND 3181 #undef ERROR_NOT_DIRECT_CHILD 3182 #undef ERROR_DELAY_FREE 3183 #undef ERROR_GUARDPAGE 3184 #undef ERROR_SWAPERROR 3185 #undef ERROR_LDRERROR 3186 #undef ERROR_NOMEMORY 3187 #undef ERROR_NOACCESS 3188 #undef ERROR_NO_DLL_TERM 3189 #undef ERROR_CPSIO_CODE_PAGE_INVALID 3190 #undef ERROR_CPSIO_NO_SPOOLER 3191 #undef ERROR_CPSIO_FONT_ID_INVALID 3192 #undef ERROR_CPSIO_INTERNAL_ERROR 3193 #undef ERROR_CPSIO_INVALID_PTR_NAME 3194 #undef ERROR_CPSIO_NOT_ACTIVE 3195 #undef ERROR_CPSIO_PID_FULL 3196 #undef ERROR_CPSIO_PID_NOT_FOUND 3197 #undef ERROR_CPSIO_READ_CTL_SEQ 3198 #undef ERROR_CPSIO_READ_FNT_DEF 3199 #undef ERROR_CPSIO_WRITE_ERROR 3200 #undef ERROR_CPSIO_WRITE_FULL_ERROR 3201 #undef ERROR_CPSIO_WRITE_HANDLE_BAD 3202 #undef ERROR_CPSIO_SWIT_LOAD 3203 #undef ERROR_CPSIO_INV_COMMAND 3204 #undef ERROR_CPSIO_NO_FONT_SWIT 3205 #undef ERROR_ENTRY_IS_CALLGATE 3206 #undef ERROR_USER_DEFINED_BASE 3207 #undef ERROR_I24_WRITE_PROTECT 3208 #undef ERROR_I24_BAD_UNIT 3209 #undef ERROR_I24_NOT_READY 3210 #undef ERROR_I24_BAD_COMMAND 3211 #undef ERROR_I24_CRC 3212 #undef ERROR_I24_BAD_LENGTH 3213 #undef ERROR_I24_SEEK 3214 #undef ERROR_I24_NOT_DOS_DISK 3215 #undef ERROR_I24_SECTOR_NOT_FOUND 3216 #undef ERROR_I24_OUT_OF_PAPER 3217 #undef ERROR_I24_WRITE_FAULT 3218 #undef ERROR_I24_READ_FAULT 3219 #undef ERROR_I24_GEN_FAILURE 3220 #undef ERROR_I24_DISK_CHANGE 3221 #undef ERROR_I24_WRONG_DISK 3222 #undef ERROR_I24_UNCERTAIN_MEDIA 3223 #undef ERROR_I24_CHAR_CALL_INTERRUPTED 3224 #undef ERROR_I24_NO_MONITOR_SUPPORT 3225 #undef ERROR_I24_INVALID_PARAMETER 3226 #undef ERROR_I24_DEVICE_IN_USE 3227 #undef ERROR_I24_QUIET_INIT_FAIL 1984 3228 #undef _PANOSE 1985 3229 #undef PANOSE … … 1990 3234 #undef FATTRS 1991 3235 #undef PFATTRS 3236 #undef PAG_READ 3237 #undef PAG_WRITE 3238 #undef PAG_EXECUTE 3239 #undef PAG_GUARD 3240 #undef PAG_COMMIT 3241 #undef PAG_DECOMMIT 3242 #undef OBJ_TILE 3243 #undef OBJ_PROTECTED 3244 #undef OBJ_GETTABLE 3245 #undef OBJ_GIVEABLE 3246 #undef OBJ_ANY 3247 #undef OBJ_SELMAPALL 3248 #undef PAG_DEFAULT 3249 #undef PAG_SHARED 3250 #undef PAG_FREE 3251 #undef PAG_BASE 3252 #undef PAG_NPOUT 3253 #undef PAG_PRESENT 3254 #undef PAG_NPIN 3255 #undef PAG_PRESMASK 3256 #undef PAG_INVALID 3257 #undef PAG_RESIDENT 3258 #undef PAG_SWAPPABLE 3259 #undef PAG_DISCARDABLE 3260 #undef PAG_TYPEMASK 3261 #undef fPERM 3262 #undef fSHARE 3263 #undef fALLOC 3264 #undef fALLOCSHR 3265 #undef fSET 1992 3266 #undef HFILE 1993 3267 #undef PHFILE … … 2117 3391 #undef LISTIOL 2118 3392 #undef PLISTIOL 3393 #undef ERROR_OCCURRED 2119 3394 #undef _DCBINFO 2120 3395 #undef DCBINFO … … 3642 4917 #undef LINFOSEG 3643 4918 #undef PLINFOSEG 4919 #undef OBJ_LOCATION 4920 #undef OBJ_FORK 4921 #undef DosAllocMem 4922 #undef DosAllocSharedMem 3644 4923 3645 4924 #endif /* __OS2WRAP2_H__ */ 4925
Note:
See TracChangeset
for help on using the changeset viewer.