--- pmsdk/include/bseerr.h 2018/08/09 12:28:13 1.1 +++ pmsdk/include/bseerr.h 2018/08/09 12:28:37 1.1.1.2 @@ -4,8 +4,7 @@ * * This file includes the error codes for Base OS/2 applications. * -* Copyright (c) 1987 Microsoft Corporation -* Copyright (c) 1987 IBM Corporation +* Copyright (c) 1987,1989 Microsoft Corporation * * =========================================================================== * @@ -145,6 +144,11 @@ #define ERROR_UNCERTAIN_MEDIA 163 #define ERROR_MAX_THRDS_REACHED 164 #define ERROR_MONITORS_NOT_SUPPORTED 165 +#define ERROR_UNC_DRIVER_NOT_INSTALLED 166 +#define ERROR_LOCK_FAILED 167 +#define ERROR_SWAPIO_FAILED 168 +#define ERROR_SWAPIN_FAILED 169 +#define ERROR_BUSY 170 #define ERROR_INVALID_SEGMENT_NUMBER 180 #define ERROR_INVALID_CALLGATE 181 @@ -183,79 +187,13 @@ #define ERROR_TOO_MANY_MODULES 214 #define ERROR_NESTING_NOT_ALLOWED 215 -#define ERROR_USER_DEFINED_BASE 0xF000 - -#define ERROR_I24_WRITE_PROTECT 0 -#define ERROR_I24_BAD_UNIT 1 -#define ERROR_I24_NOT_READY 2 -#define ERROR_I24_BAD_COMMAND 3 -#define ERROR_I24_CRC 4 -#define ERROR_I24_BAD_LENGTH 5 -#define ERROR_I24_SEEK 6 -#define ERROR_I24_NOT_DOS_DISK 7 -#define ERROR_I24_SECTOR_NOT_FOUND 8 -#define ERROR_I24_OUT_OF_PAPER 9 -#define ERROR_I24_WRITE_FAULT 10 -#define ERROR_I24_READ_FAULT 11 -#define ERROR_I24_GEN_FAILURE 12 -#define ERROR_I24_DISK_CHANGE 13 -#define ERROR_I24_WRONG_DISK 14 -#define ERROR_I24_UNCERTAIN_MEDIA 15 -#define ERROR_I24_CHAR_CALL_INTERRUPTED 16 -#define ERROR_I24_NO_MONITOR_SUPPORT 17 -#define ERROR_I24_INVALID_PARAMETER 18 - -#define ALLOWED_FAIL 0x0001 -#define ALLOWED_ABORT 0x0002 -#define ALLOWED_RETRY 0x0004 -#define ALLOWED_IGNORE 0x0008 - -#define I24_OPERATION 0x01 -#define I24_AREA 0x06 -#define I24_CLASS 0x80 - -/* Values for error CLASS */ - -#define ERRCLASS_OUTRES 1 -#define ERRCLASS_TEMPSIT 2 -#define ERRCLASS_AUTH 3 -#define ERRCLASS_INTRN 4 -#define ERRCLASS_HRDFAIL 5 -#define ERRCLASS_SYSFAIL 6 -#define ERRCLASS_APPERR 7 -#define ERRCLASS_NOTFND 8 -#define ERRCLASS_BADFMT 9 -#define ERRCLASS_LOCKED 10 -#define ERRCLASS_MEDIA 11 -#define ERRCLASS_ALREADY 12 -#define ERRCLASS_UNK 13 -#define ERRCLASS_CANT 14 -#define ERRCLASS_TIME 15 - -/* Values for error ACTION */ +#define ERROR_BAD_PIPE 230 +#define ERROR_PIPE_BUSY 231 +#define ERROR_NO_DATA 232 +#define ERROR_PIPE_NOT_CONNECTED 233 +#define ERROR_MORE_DATA 234 -#define ERRACT_RETRY 1 -#define ERRACT_DLYRET 2 -#define ERRACT_USER 3 -#define ERRACT_ABORT 4 -#define ERRACT_PANIC 5 -#define ERRACT_IGNORE 6 -#define ERRACT_INTRET 7 - -/* Values for error LOCUS */ - -#define ERRLOC_UNK 1 -#define ERRLOC_DISK 2 -#define ERRLOC_NET 3 -#define ERRLOC_SERDEV 4 -#define ERRLOC_MEM 5 - -/* Abnormal termination codes */ - -#define TC_NORMAL 0 -#define TC_HARDERR 1 -#define TC_GP_TRAP 2 -#define TC_SIGNAL 3 +#define ERROR_VC_DISCONNECTED 240 #define ERROR_INVALID_PROCID 303 #define ERROR_INVALID_PDELTA 304 @@ -447,10 +385,99 @@ #define ERROR_ZERO_SELECTORS_REQUESTED 488 #define ERROR_NOT_ENOUGH_SELECTORS_AVA 489 #define ERROR_INVALID_SELECTOR 490 - -/* New Equates For OS/2 1.1 */ #define ERROR_SMG_INVALID_PROGRAM_TYPE 491 #define ERROR_SMG_INVALID_PGM_CONTROL 492 +#define ERROR_SMG_INVALID_INHERIT_OPT 493 +#define ERROR_VIO_EXTENDED_SG 494 +#define ERROR_VIO_NOT_PRES_MGR_SG 495 +#define ERROR_VIO_SHIELD_OWNED 496 +#define ERROR_VIO_NO_MORE_HANDLES 497 +#define ERROR_VIO_SEE_ERROR_LOG 498 +#define ERROR_VIO_ASSOCIATED_DC 499 +#define ERROR_KBD_NO_CONSOLE 500 +#define ERROR_MOUSE_NO_CONSOLE 501 +#define ERROR_MOUSE_INVALID_HANDLE 502 +#define ERROR_SMG_INVALID_DEBUG_PARMS 503 +#define ERROR_KBD_EXTENDED_SG 504 +#define ERROR_MOU_EXTENDED_SG 505 +#define ERROR_SMG_INVALID_ICON_FILE 506 + + +#define ERROR_USER_DEFINED_BASE 0xF000 + +#define ERROR_I24_WRITE_PROTECT 0 +#define ERROR_I24_BAD_UNIT 1 +#define ERROR_I24_NOT_READY 2 +#define ERROR_I24_BAD_COMMAND 3 +#define ERROR_I24_CRC 4 +#define ERROR_I24_BAD_LENGTH 5 +#define ERROR_I24_SEEK 6 +#define ERROR_I24_NOT_DOS_DISK 7 +#define ERROR_I24_SECTOR_NOT_FOUND 8 +#define ERROR_I24_OUT_OF_PAPER 9 +#define ERROR_I24_WRITE_FAULT 10 +#define ERROR_I24_READ_FAULT 11 +#define ERROR_I24_GEN_FAILURE 12 +#define ERROR_I24_DISK_CHANGE 13 +#define ERROR_I24_WRONG_DISK 15 +#define ERROR_I24_UNCERTAIN_MEDIA 16 +#define ERROR_I24_CHAR_CALL_INTERRUPTED 17 +#define ERROR_I24_NO_MONITOR_SUPPORT 18 +#define ERROR_I24_INVALID_PARAMETER 19 + +#define ALLOWED_FAIL 0x0001 +#define ALLOWED_ABORT 0x0002 +#define ALLOWED_RETRY 0x0004 +#define ALLOWED_IGNORE 0x0008 +#define ALLOWED_DISPATCH 0x8000 + +#define I24_OPERATION 0x01 +#define I24_AREA 0x06 +#define I24_CLASS 0x80 + +/* Values for error CLASS */ + +#define ERRCLASS_OUTRES 1 +#define ERRCLASS_TEMPSIT 2 +#define ERRCLASS_AUTH 3 +#define ERRCLASS_INTRN 4 +#define ERRCLASS_HRDFAIL 5 +#define ERRCLASS_SYSFAIL 6 +#define ERRCLASS_APPERR 7 +#define ERRCLASS_NOTFND 8 +#define ERRCLASS_BADFMT 9 +#define ERRCLASS_LOCKED 10 +#define ERRCLASS_MEDIA 11 +#define ERRCLASS_ALREADY 12 +#define ERRCLASS_UNK 13 +#define ERRCLASS_CANT 14 +#define ERRCLASS_TIME 15 + +/* Values for error ACTION */ + +#define ERRACT_RETRY 1 +#define ERRACT_DLYRET 2 +#define ERRACT_USER 3 +#define ERRACT_ABORT 4 +#define ERRACT_PANIC 5 +#define ERRACT_IGNORE 6 +#define ERRACT_INTRET 7 + +/* Values for error LOCUS */ + +#define ERRLOC_UNK 1 +#define ERRLOC_DISK 2 +#define ERRLOC_NET 3 +#define ERRLOC_SERDEV 4 +#define ERRLOC_MEM 5 + +/* Abnormal termination codes */ + +#define TC_NORMAL 0 +#define TC_HARDERR 1 +#define TC_GP_TRAP 2 +#define TC_SIGNAL 3 + /* */ /* intercomponent error codes (from 8000H or 32768) */