Annotation of os2sdk/include/error2.inc, revision 1.1

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