home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
program3
/
error2.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-11-23
|
22KB
|
310 lines
{********************************************************}
{ }
{ FILE NAME: ERROR2.H }
{ }
{ COPYRIGHT: IBM Corp., 1987-1990 }
{ }
{ REVISION LEVEL: 1.3 }
{ }
{ WHAT THIS FILE DOES: }
{ This file contains equates associating error codes }
{ returned from system function calls. The equates }
{ in this file start at 303. You must include }
{ ERROR.H for return codes under 303. }
{ }
{ WHAT YOU NEED TO USE THIS FILE: }
{ }
{ IN YOUR SOURCE PROGRAM: }
{ }
{ #include <ERROR2.H> }
{ }
{********************************************************}
{| Version: 1.00
| Original translation: Peter Singer (PSi)
}
Unit Error2;
Interface
CONST
ERROR_INVALID_PROCID = 303; { invalid process id }
ERROR_INVALID_PDELTA = 304; { invalid priority delta }
ERROR_NOT_DESCENDANT = 305; { not descendant }
ERROR_NOT_SESSION_MANAGER = 306; { requestor not session manager }
ERROR_INVALID_PCLASS = 307; { invalid p class }
ERROR_INVALID_SCOPE = 308; { invalid scope }
ERROR_INVALID_THREADID = 309; { invalid thread id }
ERROR_DOSSUB_SHRINK = 310; { can't shrink - MspSet }
ERROR_DOSSUB_NOMEM = 311; { no memory - MspAlloc }
ERROR_DOSSUB_OVERLAP = 312; { overlap - MspFree }
ERROR_DOSSUB_BADSIZE = 313; { bad size parameter - MspAlloc or MspFree }
ERROR_DOSSUB_BADFLAG = 314; { bad flag parameter - MspSet }
ERROR_DOSSUB_BADSELECTOR = 315; { invalid MspSegment Selector }
ERROR_MR_MSG_TOO_LONG = 316; { message too long for buffer }
ERROR_MR_MID_NOT_FOUND = 317; { message id number not found }
ERROR_MR_UN_ACC_MSGF = 318; { unable to access message file }
ERROR_MR_INV_MSGF_FORMAT = 319; { invalid message file format }
ERROR_MR_INV_IVCOUNT = 320; { invalid insertion variable count }
ERROR_MR_UN_PERFORM = 321; { unable to perform function }
ERROR_TS_WAKEUP = 322; { unable to wake up }
ERROR_TS_SEMHANDLE = 323; { user passed invalid system semaphore }
ERROR_TS_NOTIMER = 324; { no times available }
ERROR_TS_HANDLE = 326; { invalid timer handle }
ERROR_TS_DATETIME = 327; { date or time invalid }
ERROR_SYS_INTERNAL = 328; { internal system error }
ERROR_QUE_CURRENT_NAME = 329; { current name does not exist }
ERROR_QUE_PROC_NOT_OWNED = 330; { current process does not own queue }
ERROR_QUE_PROC_OWNED = 331; { current process owns queue }
ERROR_QUE_DUPLICATE = 332; { duplicate name }
ERROR_QUE_ELEMENT_NOT_EXIST = 333; { element does not exist }
ERROR_QUE_NO_MEMORY = 334; { inadequate memory }
ERROR_QUE_INVALID_NAME = 335; { invalid name }
ERROR_QUE_INVALID_PRIORITY = 336; { invalid priority parameter }
ERROR_QUE_INVALID_HANDLE = 337; { invalid queue handle }
ERROR_QUE_LINK_NOT_FOUND = 338; { link not found }
ERROR_QUE_MEMORY_ERROR = 339; { memory error }
ERROR_QUE_PREV_AT_END = 340; { previous element was at end of queue }
ERROR_QUE_PROC_NO_ACCESS = 341; { process does not have access to queues }
ERROR_QUE_EMPTY = 342; { queue is empty }
ERROR_QUE_NAME_NOT_EXIST = 343; { queue name does not exist }
ERROR_QUE_NOT_INITIALIZED = 344; { queues not initialized }
ERROR_QUE_UNABLE_TO_ACCESS = 345; { unable to access queues }
ERROR_QUE_UNABLE_TO_ADD = 346; { unable to add new queue }
ERROR_QUE_UNABLE_TO_INIT = 347; { unable to initialize queues }
ERROR_VIO_INVALID_MASK = 349; { invalid replacement mask }
ERROR_VIO_PTR = 350; { invalid pointer to parameter }
ERROR_VIO_APTR = 351; { invalid pointer to attribute }
ERROR_VIO_RPTR = 352; { invalid pointer to row }
ERROR_VIO_CPTR = 353; { invalid pointer to column }
ERROR_VIO_LPTR = 354; { invalid pointer to length }
ERROR_VIO_MODE = 355; { unsupported screen mode }
ERROR_VIO_WIDTH = 356; { invalid cursor width value }
ERROR_VIO_ATTR = 357; { invalid cursor attribute value }
ERROR_VIO_ROW = 358; { invalid row value }
ERROR_VIO_COL = 359; { invalid column value }
ERROR_VIO_TOPROW = 360; { invalid toprow value }
ERROR_VIO_BOTROW = 361; { invalid botrow value }
ERROR_VIO_RIGHTCOL = 362; { invalid right column value }
ERROR_VIO_LEFTCOL = 363; { invalid left column value }
ERROR_SCS_CALL = 364; { call issued by other than sm }
ERROR_SCS_VALUE = 365; { value is not for save or restore }
ERROR_VIO_WAIT_FLAG = 366; { invalid wait flag setting }
ERROR_VIO_UNLOCK = 367; { screen not previously locked }
ERROR_SGS_NOT_SESSION_MGR = 368; { caller not session manager }
ERROR_SMG_INVALID_SGID = 369; { invalid screen group id }
ERROR_SMG_INVALID_SESSION_ID = 369; { invalid session id }
ERROR_SMG_NOSG = 370; { all screen groups in use }
ERROR_SMG_NO_SESSIONS = 370; { no sessions available }
ERROR_SMG_GRP_NOT_FOUND = 371; { screen group not found }
ERROR_SMG_SESSION_NOT_FOUND = 371; { session not found }
ERROR_SMG_SET_TITLE = 372; { title set by shell or parent cant be changed }
ERROR_KBD_PARAMETER = 373; { invalid parameter to kbd }
ERROR_KBD_NO_DEVICE = 374; { out of system handles }
ERROR_KBD_INVALID_IOWAIT = 375; { invalid i/o wait specified }
ERROR_KBD_INVALID_LENGTH = 376; { invalid length for keyboard }
ERROR_KBD_INVALID_ECHO_MASK = 377; { invalid echo mode mask }
ERROR_KBD_INVALID_INPUT_MASK = 378; { invalid input mode mask }
ERROR_MON_INVALID_PARMS = 379; { invalid parameters to dos mon }
ERROR_MON_INVALID_DEVNAME = 380; { invalid device name string }
ERROR_MON_INVALID_HANDLE = 381; { invalid device handle }
ERROR_MON_BUFFER_TOO_SMALL = 382; { buffer too small }
ERROR_MON_BUFFER_EMPTY = 383; { buffer is empty }
ERROR_MON_DATA_TOO_LARGE = 384; { data record too large }
ERROR_MOUSE_NO_DEVICE = 385; { no mouse device attached }
ERROR_MOUSE_INV_HANDLE = 386; { mouse device closed (invalid device handle) }
ERROR_MOUSE_INV_PARMS = 387; { parameters invalid or out of range }
ERROR_MOUSE_CANT_RESET = 388;