Changeset 2273


Ignore:
Timestamp:
Jul 24, 2005, 10:57:32 AM (20 years ago)
Author:
bird
Message:

Added some missing INCL_DOSERRORS #defines (very odd ones).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/os2emx.h

    • Property cvs2svn:cvs-rev changed from 1.27 to 1.28
    r2272 r2273  
    979979#define ERROR_ENTRY_IS_CALLGATE             65079
    980980
     981#define ERROR_USER_DEFINED_BASE             0xFF00
     982
    981983#endif /* INCL_DOSERRORS */
    982984
     
    984986
    985987#if defined (INCL_DOSERRORS)
     988
     989#define ERROR_I24_WRITE_PROTECT                  0
     990#define ERROR_I24_BAD_UNIT                       1
     991#define ERROR_I24_NOT_READY                      2
     992#define ERROR_I24_BAD_COMMAND                    3
     993#define ERROR_I24_CRC                            4
     994#define ERROR_I24_BAD_LENGTH                     5
     995#define ERROR_I24_SEEK                           6
     996#define ERROR_I24_NOT_DOS_DISK                   7
     997#define ERROR_I24_SECTOR_NOT_FOUND               8
     998#define ERROR_I24_OUT_OF_PAPER                   9
     999#define ERROR_I24_WRITE_FAULT                   10
     1000#define ERROR_I24_READ_FAULT                    11
     1001#define ERROR_I24_GEN_FAILURE                   12
     1002#define ERROR_I24_DISK_CHANGE                   13
     1003#define ERROR_I24_WRONG_DISK                    15
     1004#define ERROR_I24_UNCERTAIN_MEDIA               16
     1005#define ERROR_I24_CHAR_CALL_INTERRUPTED         17
     1006#define ERROR_I24_NO_MONITOR_SUPPORT            18
     1007#define ERROR_I24_INVALID_PARAMETER             19
     1008#define ERROR_I24_DEVICE_IN_USE                 20
     1009#define ERROR_I24_QUIET_INIT_FAIL               21
    9861010
    9871011#define ERRACT_RETRY            1
     
    9931017#define ERRACT_INTRET           7
    9941018
    995 #define ERRCLASS_OUTRES         1
    996 #define ERRCLASS_TEMPSIT        2
    997 #define ERRCLASS_AUTH           3
    998 #define ERRCLASS_INTRN          4
    999 #define ERRCLASS_HRDFAIL        5
    1000 #define ERRCLASS_SYSFAIL        6
    1001 #define ERRCLASS_APPERR         7
    1002 #define ERRCLASS_NOTFND         8
    1003 #define ERRCLASS_BADFMT         9
     1019#define ERRCLASS_OUTRES          1
     1020#define ERRCLASS_TEMPSIT         2
     1021#define ERRCLASS_AUTH            3
     1022#define ERRCLASS_INTRN           4
     1023#define ERRCLASS_HRDFAIL         5
     1024#define ERRCLASS_SYSFAIL         6
     1025#define ERRCLASS_APPERR          7
     1026#define ERRCLASS_NOTFND          8
     1027#define ERRCLASS_BADFMT          9
    10041028#define ERRCLASS_LOCKED         10
    10051029#define ERRCLASS_MEDIA          11
     
    10141038#define ERRLOC_SERDEV           4
    10151039#define ERRLOC_MEM              5
     1040
     1041#define I24_OPERATION           0x01
     1042#define I24_AREA                0x06
     1043#define I24_CLASS               0x80
     1044
     1045#define ALLOWED_FAIL            0x0001
     1046#define ALLOWED_ABORT           0x0002
     1047#define ALLOWED_RETRY           0x0004
     1048#define ALLOWED_IGNORE          0x0008
     1049#define ALLOWED_ACKNOWLEDGE     0x0010
     1050#define ALLOWED_DISPATCH        0x8000
     1051#define ALLOWED_REGDUMP         0x0020
     1052#define ALLOWED_DETACHED        ALLOWED_DISPATCH
     1053#define ALLOWED_RESERVED        ~(ALLOWED_FAIL | ALLOWED_ABORT | ALLOWED_RETRY | ALLOWED_IGNORE | ALLOWED_ACKNOWLEDGE)
     1054
     1055#define TC_NORMAL               0
     1056#define TC_HARDERR              1
     1057#define TC_GP_TRAP              2
     1058#define TC_SIGNAL               3
     1059#define TC_XCPT                 4
    10161060
    10171061#endif /* INCL_DOSERRORS */
     
    28722916#define TC_KILLPROCESS          3
    28732917#define TC_EXCEPTION            4
    2874 
    28752918
    28762919typedef struct _RESULTCODES
Note: See TracChangeset for help on using the changeset viewer.