Annotation of os2sdk/include/error2.h, revision 1.1.1.1

1.1       root        1: /**********************************************************/
                      2: /*                                                        */
                      3: /* FILE NAME: ERROR2.H                                    */
                      4: /*                                                        */
                      5: /* REVISION LEVEL: 1.0                                    */
                      6: /*                                                        */
                      7: /* WHAT THIS FILE DOES:                                   */
                      8: /*     This file contains equates associating error codes */
                      9: /*     returned from system function calls.  The equates  */
                     10: /*     in this file start at 303.  You must include       */
                     11: /*     ERROR.H    for return codes under 303.             */
                     12: /*                                                        */
                     13: /* WHAT YOU NEED TO USE THIS FILE:                        */
                     14: /*                                                        */
                     15: /*     IN YOUR SOURCE PROGRAM:                            */
                     16: /*                                                        */
                     17: /*         #include <ERROR2.H>                            */
                     18: /*                                                        */
                     19: /**********************************************************/
                     20: 
                     21: #define ERROR_INVALID_PROCID            303       /* invalid process id */
                     22: #define ERROR_INVALID_PDELTA            304       /* invalid priority delta */
                     23: #define ERROR_NOT_DESCENDANT            305       /* not descendant */
                     24: #define ERROR_NOT_SESSION_MANAGER       306       /* requestor not session manager */
                     25: #define ERROR_INVALID_PCLASS            307       /* invalid p class */
                     26: #define ERROR_INVALID_SCOPE             308       /* invalid scope */
                     27: #define ERROR_INVALID_THREADID          309       /* invalid thread id */
                     28: #define ERROR_DOSSUB_SHRINK             310       /* can't shrink - MspSet */
                     29: #define ERROR_DOSSUB_NOMEM              311       /* no memory - MspAlloc */
                     30: #define ERROR_DOSSUB_OVERLAP            312       /* overlap - MspFree */
                     31: #define ERROR_DOSSUB_BADSIZE            313       /* bad size parameter - MspAlloc or MspFree */
                     32: #define ERROR_DOSSUB_BADFLAG            314       /* bad flag parameter - MspSet */
                     33: #define ERROR_DOSSUB_BADSELECTOR        315       /* invalid MspSegment Selector */
                     34: #define ERROR_MR_MSG_TOO_LONG           316       /* message too long for buffer */
                     35: #define ERROR_MR_MID_NOT_FOUND          317       /* message id number not found */
                     36: #define ERROR_MR_UN_ACC_MSGF            318       /* unable to access message file */
                     37: #define ERROR_MR_INV_MSGF_FORMAT        319       /* invalid message file format */
                     38: #define ERROR_MR_INV_IVCOUNT            320       /* invalid insertion variable count */
                     39: #define ERROR_MR_UN_PERFORM             321       /* unable to perform function */
                     40: #define ERROR_TS_WAKEUP                 322       /* unable to wake up */
                     41: #define ERROR_TS_SEMHANDLE              323       /* user passed invalid system semaphore */
                     42: #define ERROR_TS_NOTIMER                324       /* no times available */
                     43: #define ERROR_TS_HANDLE                 326       /* invalid timer handle */
                     44: #define ERROR_TS_DATETIME               327       /* date or time invalid */
                     45: #define ERROR_SYS_INTERNAL              328       /* internal system error */
                     46: #define ERROR_QUE_CURRENT_NAME          329       /* current name does not exist */
                     47: #define ERROR_QUE_PROC_NOT_OWNED        330       /* current process does not own queue */
                     48: #define ERROR_QUE_PROC_OWNED            331       /* current process owns queue */
                     49: #define ERROR_QUE_DUPLICATE             332       /* duplicate name */
                     50: #define ERROR_QUE_ELEMENT_NOT_EXIST     333       /* element does not exist */
                     51: #define ERROR_QUE_NO_MEMORY             334       /* inadequate memory */
                     52: #define ERROR_QUE_INVALID_NAME          335       /* invalid name */
                     53: #define ERROR_QUE_INVALID_PRIORITY      336       /* invalid priority parameter */
                     54: #define ERROR_QUE_INVALID_HANDLE        337       /* invalid queue handle */
                     55: #define ERROR_QUE_LINK_NOT_FOUND        338       /* link not found */
                     56: #define ERROR_QUE_MEMORY_ERROR          339       /* memory error */
                     57: #define ERROR_QUE_PREV_AT_END           340       /* previous element was at end of queue */
                     58: #define ERROR_QUE_PROC_NO_ACCESS        341       /* process does not have access to queues */
                     59: #define ERROR_QUE_EMPTY                 342       /* queue is empty */
                     60: #define ERROR_QUE_NAME_NOT_EXIST        343       /* queue name does not exist */
                     61: #define ERROR_QUE_NOT_INITIALIZED       344       /* queues not initialized */
                     62: #define ERROR_QUE_UNABLE_TO_ACCESS      345       /* unable to access queues */
                     63: #define ERROR_QUE_UNABLE_TO_ADD         346       /* unable to add new queue */
                     64: #define ERROR_QUE_UNABLE_TO_INIT        347       /* unable to initialize queues */
                     65: #define ERROR_VIO_INVALID_MASK          349       /* invalid replacement mask */
                     66: #define ERROR_VIO_PTR                   350       /* invalid pointer to parameter */
                     67: #define ERROR_VIO_APTR                  351       /* invalid pointer to attribute */
                     68: #define ERROR_VIO_RPTR                  352       /* invalid pointer to row */
                     69: #define ERROR_VIO_CPTR                  353       /* invalid pointer to column */
                     70: #define ERROR_VIO_LPTR                  354       /* invalid pointer to length */
                     71: #define ERROR_VIO_MODE                  355       /* unsupported screen mode */
                     72: #define ERROR_VIO_WIDTH                 356       /* invalid cursor width value */
                     73: #define ERROR_VIO_ATTR                  357       /* invalid cursor attribute value */
                     74: #define ERROR_VIO_ROW                   358       /* invalid row value */
                     75: #define ERROR_VIO_COL                   359       /* invalid column value */
                     76: #define ERROR_VIO_TOPROW                360       /* invalid toprow value */
                     77: #define ERROR_VIO_BOTROW                361       /* invalid botrow value */
                     78: #define ERROR_VIO_RIGHTCOL              362       /* invalid right column value */
                     79: #define ERROR_VIO_LEFTCOL               363       /* invalid left column value */
                     80: #define ERROR_SCS_CALL                  364       /* call issued by other than sm */
                     81: #define ERROR_SCS_VALUE                 365       /* value is not for save or restore */
                     82: #define ERROR_VIO_WAIT_FLAG             366       /* invalid wait flag setting */
                     83: #define ERROR_VIO_UNLOCK                367       /* screen not previously locked */
                     84: #define ERROR_SGS_NOT_SESSION_MGR       368       /* caller not session manager */
                     85: #define ERROR_SMG_INVALID_SGID          369       /* invalid screen group id */
                     86: #define ERROR_SMG_INVALID_SESSION_ID    369       /* invalid session id */
                     87: #define ERROR_SMG_NOSG                  370       /* all screen groups in use */
                     88: #define ERROR_SMG_NO_SESSIONS           370       /* no sessions available */
                     89: #define ERROR_SMG_GRP_NOT_FOUND         371       /* screen group not found */
                     90: #define ERROR_SMG_SESSION_NOT_FOUND     371       /* session not found */
                     91: #define ERROR_SMG_SET_TITLE             372       /* title set by shell or parent cant be changed */
                     92: #define ERROR_KBD_PARAMETER             373       /* invalid parameter to kbd */
                     93: #define ERROR_KBD_NO_DEVICE             374       /* out of system handles */
                     94: #define ERROR_KBD_INVALID_IOWAIT        375       /* invalid i/o wait specified */
                     95: #define ERROR_KBD_INVALID_LENGTH        376       /* invalid length for keyboard */
                     96: #define ERROR_KBD_INVALID_ECHO_MASK     377       /* invalid echo mode mask */
                     97: #define ERROR_KBD_INVALID_INPUT_MASK    378       /* invalid input mode mask */
                     98: #define ERROR_MON_INVALID_PARMS         379       /* invalid parameters to dos mon */
                     99: #define ERROR_MON_INVALID_DEVNAME       380       /* invalid device name string */
                    100: #define ERROR_MON_INVALID_HANDLE        381       /* invalid device handle */
                    101: #define ERROR_MON_BUFFER_TOO_SMALL      382       /* buffer too small */
                    102: #define ERROR_MON_BUFFER_EMPTY          383       /* buffer is empty */
                    103: #define ERROR_MON_DATA_TOO_LARGE        384       /* data record too large */
                    104: #define ERROR_MOUSE_NO_DEVICE           385       /* no mouse device attached */
                    105: #define ERROR_MOUSE_INV_HANDLE          386       /* mouse device closed (invalid device handle) */
                    106: #define ERROR_MOUSE_INV_PARMS           387       /* parameters invalid or out of range */
                    107: #define ERROR_MOUSE_CANT_RESET          388       /* function assigned and cannot be reset */
                    108: #define ERROR_MOUSE_DISPLAY_PARMS       389       /* parameters invalid for display mode */
                    109: #define ERROR_MOUSE_INV_MODULE          390       /* module not found */
                    110: #define ERROR_MOUSE_INV_ENTRY_PT        391       /* entry point not valid */
                    111: #define ERROR_MOUSE_INV_MASK            392       /* function mask invalid */
                    112: #define NO_ERROR_MOUSE_NO_DATA          393       /* no mouse data */
                    113: #define NO_ERROR_MOUSE_PTR_DRAWN        394       /* pointer drawn */
                    114: #define ERROR_INVALID_FREQUENCY         395       /* invalid frequency for beep */
                    115: #define ERROR_NLS_NO_COUNTRY_FILE       396       /* can't find country.sys */
                    116: #define ERROR_NLS_OPEN_FAILED           397       /* can't open country.sys */
                    117: #define ERROR_NLS_NO_CTRY_CODE          398       /* country code not found */
                    118: #define ERROR_NO_COUNTRY_OR_CODEPAGE    398       /* country code not found */
                    119: #define ERROR_NLS_TABLE_TRUNCATED       399       /* table truncated, buffer too small */
                    120: #define ERROR_NLS_BAD_TYPE              400       /* selector type does not exist */
                    121: #define ERROR_NLS_TYPE_NOT_FOUND        401       /* selector type not in file */
                    122: #define ERROR_VIO_SMG_ONLY              402       /* valid from session manager only */
                    123: #define ERROR_VIO_INVALID_ASCIIZ        403       /* invalid asciiz length */
                    124: #define ERROR_VIO_DEREGISTER            404       /* vio deregister disallowed */
                    125: #define ERROR_VIO_NO_POPUP              405       /* popup not allocated */
                    126: #define ERROR_VIO_EXISTING_POPUP        406       /* popup on screen (no wait) */
                    127: #define ERROR_KBD_SMG_ONLY              407       /* valid from session manager only */
                    128: #define ERROR_KBD_INVALID_ASCIIZ        408       /* invalid asciiz length */
                    129: #define ERROR_KBD_INVALID_MASK          409       /* invalid replacement mask */
                    130: #define ERROR_KBD_REGISTER              410       /* kbdregister disallowed */
                    131: #define ERROR_KBD_DEREGISTER            411       /* kbdderegister disalloed */
                    132: #define ERROR_MOUSE_SMG_ONLY            412       /* valid from session manager only */
                    133: #define ERROR_MOUSE_INVALID_ASCIIZ      413       /* invalid asciiz length */
                    134: #define ERROR_MOUSE_INVALID_MASK        414       /* invalid replacement mask */
                    135: #define ERROR_MOUSE_REGISTER            415       /* mouse register disallowed */
                    136: #define ERROR_MOUSE_DEREGISTER          416       /* mouse deregister disallowed */
                    137: #define ERROR_SMG_BAD_ACTION            417       /* invalid action specified */
                    138: #define ERROR_SMG_INVALID_CALL          418       /* init called more than once */
                    139: #define ERROR_SCS_SG_NOTFOUND           419       /* new screen group # */
                    140: #define ERROR_SCS_NOT_SHELL             420       /* caller is not shell */
                    141: #define ERROR_VIO_INVALID_PARMS         421       /* invalid parms passed in */
                    142: #define ERROR_VIO_FUNCTION_OWNED        422       /* save/restore already owned */
                    143: #define ERROR_VIO_RETURN                423       /* non-destruct return (undo) */
                    144: #define ERROR_SCS_INVALID_FUNCTION      424       /* not valid request for caller */
                    145: #define ERROR_SCS_NOT_SESSION_MGR       425       /* caller not session manager */
                    146: #define ERROR_VIO_REGISTER              426       /* VIO register disallowed */
                    147: #define ERROR_VIO_NO_MODE_THREAD        427       /* No mode restore thread in SG */
                    148: #define ERROR_VIO_NO_SAVE_RESTORE_THD   428       /* No save/rest thread in SG */
                    149: #define ERROR_VIO_IN_BG                 429       /* Physical selector requested in background */
                    150: #define ERROR_VIO_ILLEGAL_DURING_POPUP  430       /* Function not allowed during popup */
                    151: #define ERROR_SMG_NOT_BASESHELL         431       /* caller is not the base shell */
                    152: #define ERROR_SMG_BAD_STATUSREQ         432       /* invalid status requested */
                    153: #define ERROR_QUE_INVALID_WAIT          433       /* nowait parameter out of bounds */
                    154: #define ERROR_VIO_LOCK                  434       /* error returned from scrlock */
                    155: #define ERROR_MOUSE_INVALID_IOWAIT      435       /* invalid parameters for IO wait */
                    156: #define ERROR_VIO_INVALID_HANDLE        436       /* invalid vio handle */
                    157: #define ERROR_VIO_ILLEGAL_DURING_LOCK   437       /* Function not allowed during screen lock */
                    158: #define ERROR_VIO_INVALID_LENGTH        438       /* invalid vio length */
                    159: #define ERROR_KBD_INVALID_HANDLE        439       /* invalid kbd handle */
                    160: #define ERROR_KBD_NO_MORE_HANDLE        440       /* ran out of handles */
                    161: #define ERROR_KBD_CANNOT_CREATE_KCB     441       /* unable to create kcb */
                    162: #define ERROR_KBD_CODEPAGE_LOAD_INCOMPL 442       /* unsuccessful codepage load */
                    163: #define ERROR_KBD_INVALID_CODEPAGE_ID   443       /* invalid codepage id */
                    164: #define ERROR_KBD_NO_CODEPAGE_SUPPORT   444       /* no codepage support */
                    165: #define ERROR_KBD_FOCUS_REQUIRED        445       /* keyboard focus required */
                    166: #define ERROR_KBD_FOCUS_ALREADY_ACTIVE  446       /* keyboard focus exists */
                    167: #define ERROR_KBD_KEYBOARD_BUSY         447       /* keyboard busy */
                    168: #define ERROR_KBD_INVALID_CODEPAGE      448       /* invalid codepage */
                    169: #define ERROR_KBD_UNABLE_TO_FOCUS       449       /* focus attempt failed */
                    170: #define ERROR_SMG_SESSION_NON_SELECT    450       /* session is not selectable */
                    171: #define ERROR_SMG_SESSION_NOT_FOREGRND  451       /* parent/child session not foreground */
                    172: #define ERROR_SMG_SESSION_NOT_PARENT    452       /* not parent of requested child */
                    173: #define ERROR_SMG_INVALID_START_MODE    453       /* invalid session start mode */
                    174: #define ERROR_SMG_INVALID_RELATED_OPT   454       /* invalid session start related option */
                    175: #define ERROR_SMG_INVALID_BOND_OPTION   455       /* invalid session bond option */
                    176: #define ERROR_SMG_INVALID_SELECT_OPT    456       /* invalid session select option */
                    177: #define ERROR_SMG_START_IN_BACKGROUND   457       /* session started in background */
                    178: #define ERROR_SMG_INVALID_STOP_OPTION   458       /* invalid session stop option */
                    179: #define ERROR_SMG_BAD_RESERVE           459       /* reserved parameters not zero */
                    180: #define ERROR_SMG_PROCESS_NOT_PARENT    460       /* session parent process already exists */
                    181: #define ERROR_SMG_INVALID_DATA_LENGTH   461       /* invalid data length */
                    182: #define ERROR_SMG_NOT_BOUND             462       /* parent not bound */
                    183: #define ERROR_SMG_RETRY_SUB_ALLOC       463       /* retry request block allocation */
                    184: #define ERROR_KBD_DETACHED              464       /* this call disallawed for detached pid */
                    185: #define ERROR_VIO_DETACHED              465       /* this call disallawed for detached pid */
                    186: #define ERROR_MOU_DETACHED              466       /* this call disallawed for detached pid */
                    187: #define ERROR_VIO_FONT                  467       /* no font available to support mode */
                    188: #define ERROR_VIO_USER_FONT             468       /* user font active */
                    189: #define ERROR_VIO_BAD_CP                469       /* invalid code page specified */
                    190: #define ERROR_VIO_NO_CP                 470       /* system displays don't support code page */
                    191: #define ERROR_VIO_NA_CP                 471       /* current displays doesn't support code page */
                    192: #define ERROR_INVALID_CODE_PAGE         472       /* invalid code page */
                    193: #define ERROR_CPLIST_TOO_SMALL          473       /* code page list is too small */
                    194: #define ERROR_CP_NOT_MOVED              474       /* code page not moved */
                    195: #define ERROR_MODE_SWITCH_INIT          475       /* mode switch init error */
                    196: #define ERROR_CODE_PAGE_NOT_FOUND       476       /* code page not found */
                    197: #define ERROR_UNEXPECTED_SLOT_RETURNED  477       /* internal error */
                    198: #define ERROR_SMG_INVALID_TRACE_OPTION  478       /* invalid start session trace indicator */
                    199: #define ERROR_VIO_INTERNAL_RESOURCE     479       /* vio internal resource error */
                    200: #define ERROR_VIO_SHELL_INIT            480       /* vio shell init error */
                    201: #define ERROR_SMG_NO_HARD_ERRORS        481       /* no session manager hard errors */
                    202: #define ERROR_CP_SWITCH_INCOMPLETE      482       /* dossetcp unable to set kbd/vio cp */
                    203: #define ERROR_VIO_TRANSPARENT_POPUP     483       /* error during vio popup */
                    204: #define ERROR_CRITSEC_OVERFLOW          484       /* critical section overflow */
                    205: #define ERROR_CRITSEC_UNDERFLOW         485       /* critical section underflow */
                    206: #define ERROR_VIO_BAD_RESERVE           486       /* reserved parameter is not zero */
                    207: #define ERROR_INVALID_ADDRESS           487       /* bad physical address */
                    208: #define ERROR_ZERO_SELECTORS_REQUESTED  488       /* must request at least on selector */
                    209: #define ERROR_NOT_ENOUGH_SELECTORS_AVA  489       /* not enought GDT selectors to satisfy request */
                    210: #define ERROR_INVALID_SELECTOR          490       /* not a GDT selector */
                    211: 
                    212: /* */
                    213: /* intercomponent error codes (from 8000H or 32768) */
                    214: /* */
                    215: #define ERROR_SWAPPER_NOT_ACTIVE        32768     /* swapper is not active */
                    216: #define ERROR_INVALID_SWAPID            32769     /* invalid swap identifier */
                    217: #define ERROR_IOERR_SWAP_FILE           32770     /* i/o error on swap file */
                    218: #define ERROR_SWAP_TABLE_FULL           32771     /* swap control table is full */
                    219: #define ERROR_SWAP_FILE_FULL            32772     /* swap file is full */
                    220: #define ERROR_CANT_INIT_SWAPPER         32773     /* cannot initialize swapper */
                    221: #define ERROR_SWAPPER_ALREADY_INIT      32774     /* swapper already initialized */
                    222: #define ERROR_PMM_INSUFFICIENT_MEMORY   32775     /* insufficient memory */
                    223: #define ERROR_PMM_INVALID_FLAGS         32776     /* invalid flags for phys. mem. */
                    224: #define ERROR_PMM_INVALID_ADDRESS       32777     /* invalid address of phys. mem. */
                    225: #define ERROR_PMM_LOCK_FAILED           32778     /* lock of storage failed */
                    226: #define ERROR_PMM_UNLOCK_FAILED         32779     /* unlock of storage failed */
                    227: #define ERROR_PMM_MOVE_INCOMPLETE       32780     /* move not completed */
                    228: #define ERROR_UCOM_DRIVE_RENAMED        32781     /* drive name was renamed */
                    229: #define ERROR_UCOM_FILENAME_TRUNCATED   32782     /* file name was truncated */
                    230: #define ERROR_UCOM_BUFFER_LENGTH        32783     /* bad buffer length */
                    231: #define ERROR_MON_CHAIN_HANDLE          32784     /* invalid chain handle - mon dh */
                    232: #define ERROR_MON_NOT_REGISTERED        32785     /* monitor not registered */
                    233: #define ERROR_SMG_ALREADY_TOP           32786     /* specified screen group is top */
                    234: #define ERROR_PMM_ARENA_MODIFIED        32787     /* arena modified - phys mem */
                    235: #define ERROR_SMG_PRINTER_OPEN          32788     /* printer open error on prtsc */
                    236: #define ERROR_PMM_SET_FLAGS_FAILED      32789     /* update to arena header flags failed */
                    237: #define ERROR_INVALID_DOS_DD            32790     /* invalid DOS mode device driver */
                    238: #define ERROR_CPSIO_CODE_PAGE_INVALID   65026     /* code page is not available */
                    239: #define ERROR_CPSIO_NO_SPOOLER          65027     /* spooler not started */
                    240: #define ERROR_CPSIO_FONT_ID_INVALID     65028     /* font id is not avail (verify) */
                    241: #define ERROR_CPSIO_INTERNAL_ERROR      65033     /* error caused by switcher internal error */
                    242: #define ERROR_CPSIO_INVALID_PTR_NAME    65034     /* error caused by invalid printer name input */
                    243: #define ERROR_CPSIO_NOT_ACTIVE          65037     /* got code page req - cp switcher not initialized */
                    244: #define ERROR_CPSIO_PID_FULL            65039     /* pid table full- cannot activate another entry */
                    245: #define ERROR_CPSIO_PID_NOT_FOUND       65040     /* received request for pid not in table */
                    246: #define ERROR_CPSIO_READ_CTL_SEQ        65043     /* error reading font file control sequence section */
                    247: #define ERROR_CPSIO_READ_FNT_DEF        65045     /* error reading font file font definition block */
                    248: #define ERROR_CPSIO_WRITE_ERROR         65047     /* error writing to temp spool file */
                    249: #define ERROR_CPSIO_WRITE_FULL_ERROR    65048     /* disk full error writing temp spool file */
                    250: #define ERROR_CPSIO_WRITE_HANDLE_BAD    65049     /* spool file handle bad */
                    251: #define ERROR_CPSIO_SWIT_LOAD           65074     /* switcher load error */
                    252: #define ERROR_CPSIO_INV_COMMAND         65077     /* invalid spool command */
                    253: #define ERROR_CPSIO_NO_FONT_SWIT        65078     /* no font switch active */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.