home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource1
/
program3
/
isperror.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-11-23
|
26KB
|
588 lines
{| Unit: IsPerror
| Version: 1.00
| translated from file isperror.H
| Original translation: Peter Sawatzki (ps)
| Contributing:
| (fill in)
|
| change history:
| Date: Ver: Author:
| 11/20/93 1.00 ps original translation by ps
}
Unit isperror;
Interface
Uses
Os2Def;
{********************************************************************\
*
* Module Name: ISPERROR.H
*
* OS/2 Dialog Manager error constants for user applications.
*
\********************************************************************}
{ Dialog Manager Error Constants }
Const
DMERR_BASE_ERROR_CLASS = 100000 ;
DMERR_INFORMATIONAL = 0 ;
DMERR_LOW_WARNING = 400000 ;
DMERR_HIGH_WARNING = 800000 ;
DMERR_PROGRAMMER_ERROR = 1200000 ;
DMERR_RESOURCE_FAILURE = 1600000 ;
DMERR_SEVERE_ERROR = 2000000 ;
{ ISPCI/ISPCI2 Error Constants }
DMERR_INVALID_HWND = 1200100 ;
DMERR_UPPERCASE = 1200101 ;
DMERR_UPPERCASE_BUFFER = 1200102 ;
DMERR_UPPERCASE_VERB = 1200103 ;
DMERR_UNEXPECTED_PAREN = 1200104 ;
DMERR_BUF_TOO_LONG = 1200105 ;
DMERR_INVALID_SERVICE_PARM = 1200106 ;
DMERR_TOO_MANY_PARMS = 1200107 ;
DMERR_SUBFIELD = 1200108 ;
DMERR_INVALID_KEYWORD = 1200109 ;
DMERR_SUBFIELD_MISSING = 1200110 ;
DMERR_PARM_MISSING = 1200111 ;
DMERR_POSITIONAL_MISSING = 1200112 ;
DMERR_INVALID_PARM_LENGTH = 1200113 ;
DMERR_LIST_FOUND = 1200114 ;
DMERR_NAME_LIST = 1200115 ;
DMERR_KEYWORD_CONFLICT = 1200116 ;
DMERR_CMD_SERVICE = 1200117 ;
DMERR_STRING_END = 1200118 ;
DMERR_END_BUFFER_FOUND = 1200119 ;
DMERR_SUBSCRIPT_INVALID = 1200120 ;
DMERR_ISPCI2_CALL = 1200121 ;
DMERR_GET_SUBSTITUTE_VAR = 1200122 ;
DMERR_MORE_PARMS = 1200123 ;
DMERR_ISPCI_CALL = 1200124 ;
DMERR_BUFFER_EXCEEDS_MAX = 1200125 ;
DMERR_SERVICE_NOT_FOUND = 1200126 ;
DMERR_SERVICE_NAME_LENGTH = 1200127 ;
DMERR_BUFFER_EMPTY = 1200128 ;
DMERR_UNEXPECTED_LIST_FOUND = 1200129 ;
DMERR_PARM_TOO_LONG = 1200130 ;
DMERR_POSITIONAL_NOT_FOUND = 1200131 ;
DMERR_NO_POSITIONAL_FOUND = 1200132 ;
DMERR_NULL_PARM = 1200133 ;
DMERR_END_BUFF_BEFORE_END_LIST = 1200134 ;
DMERR_KEYWORD_NOT_IN_TABLE = 1200135 ;
DMERR_INVALID_KEYWORD_LENGTH = 1200136 ;
DMERR_INVALID_SUB_KEYWORD = 1200137 ;
DMERR_SUBFIELD_NOT_NUMERIC = 1200138 ;
DMERR_REQUIRED_SUBFIELD_MISSING = 1200139 ;
DMERR_CONVERTING_NUMERIC_PARM = 1200140 ;
DMERR_NUMERIC_PARM_RANGE = 1200141 ;
DMERR_KEYWORD_TABLE_NOT_FOUND = 1600100 ;
{ Dialog Manager Controls Error Constants }
DMERR_LOAD_APPL_CMD_TABLE = 505 ;
CMERR_DEFAULT_KEY_TABLE_ENTRY = 400500 ;
CMERR_MATCHING_COMMAND_INDEX = 400501 ;
CMERR_NO_COMMAND_FOR_KEY = 400502 ;
DMERR_COMMAND_STACK_EMPTY = 400503 ;
CMERR_PS_INVALID_VALUE = 400504 ;
CMERR_DUPLICATE_LF_MOD_ROWS = 400505 ;
CMERR_OUT_OF_BOUNDS_POS = 800500 ;
CMERR_QUERY_ZPANELID = 800501 ;
CMERR_QUERY_ZFKA = 800502 ;
CMERR_UA_DO_ACTION = 800505 ;
CMERR_UM_DO_CMD_ACTION = 800506 ;
CMERR_UX_DO_XLATE = 800507 ;
CMERR_UK_DO_CHECK = 800508 ;
CMERR_EXECUTING_SCROLL = 800509 ;
CMERR_LMARGIN_EXCEEDS_RMARGIN = 800510 ;
CMERR_FONT_NOT_AVAILABLE = 800511 ;
CMERR_OVERFLOW_LF_MOD_ROWS = 800523 ;
CMERR_USER_DATA_FAILED_XLAT = 800524 ;
CMERR_VAR_DATA_TOO_BIG = 800525 ;
CMERR_SETTING_POOL_VARIABLE_8 = 800526 ;
CMERR_GETTING_POOL_VARIABLE_8 = 800527 ;
CMERR_INVALID_CMDACT_TYPE = 1200502 ;
CMERR_DOING_EXT_CMDACT = 1200505 ;
CMERR_DOING_INT_CMDACT = 1200508 ;
CMERR_INIT_USER_ACTION = 1200520 ;
CMERR_INIT_USER_CHECK = 1200521 ;
CMERR_INIT_USER_CONTROL = 1200522 ;
CMERR_INIT_USER_CMD_ACTION = 1200523 ;
CMERR_INIT_USER_XLATE = 1200524 ;
CMERR_USER_ACTION_NOT_REG = 1200525 ;
CMERR_USER_CHECK_NOT_REG = 1200526 ;
CMERR_USER_CONTROL_NOT_REG = 1200527 ;
CMERR_USER_CMD_ACTION_NOT_REG = 1200528 ;
CMERR_USER_VAR_ACCESS_NOT_REG = 1200529 ;
CMERR_USER_XLATE_NOT_REG = 1200530 ;
CMERR_FOCUS_DEST_WND_UNDEFINED = 1200532 ;
CMERR_FLD_CANNOT_TAKE_FOCUS = 1200533 ;
CMERR_ACCEPTING_FOCUS = 1200535 ;
CMERR_LF_NUM_OF_ROWS_OUT_RANGE = 1200537 ;
CMERR_TOP_ROW_OUT_OF_RANGE = 1200539 ;
CMERR_LC_OUTPUT_ONLY_FIELD = 1200540 ;
CMERR_LF_MOD_ROW_INVALID = 1200542 ;
CMERR_SL_NUMROWS_OUT_OF_RANGE = 1200543 ;
CMERR_SL_SELECTED_ROWS_RANGE = 1200544 ;
CMERR_SL_TOP_ROW_OUT_OF_RANGE = 1200545 ;
CMERR_LOAD_INFO_FONTS = 1200546 ;
CMERR_TEXT_LONGER_THAN_WND_MAX = 1200547 ;
CMERR_GET_COMMAND_AREA_TEXT = 1200549 ;
CMERR_SETTING_POOL_VARIABLE_12 = 1200550 ;
CMERR_INIT_USER_VARIABLE = 1200553 ;
CMERR_GETTING_POOL_VARIABLE_12 = 1200554 ;
CMERR_PS_NO_MATCH_ON_OUTPUT = 1200555 ;
CMERR_VAR_LENGTH_EXCEEDS_BUFFER = 1200556 ;
CMERR_INVALID_MSG_PARM_SIZE = 1200557 ;
CMERR_ALLOC_AB_TEXT = 1600500 ;
CMERR_GETTING_MEM_CMDACT_STRING = 1600501 ;
CMERR_SYSTEM_CMD_TABLE_WNDHDL = 1600502 ;
CMERR_SCROLLING_BACKWARD = 1600504 ;
CMERR_SCROLLING_FORWARD = 1600505 ;
CMERR_SCROLLING_LEFT = 1600506 ;
CMERR_SCROLLING_RIGHT = 1600507 ;
CMERR_SET_LF_EDIT_CTL_NAME = 1600508 ;
CMERR_SHOW_PANEL = 1600509 ;
CMERR_POPPING_CMD_STACK = 1600510 ;
CMERR_SETTING_POP_CMDSTR = 1600511 ;
CMERR_SETTING_ZVERB = 1600512 ;
CMERR_SETTING_ZCMD = 1600513 ;
CMERR_CANCELING_PANEL = 1600514 ;
CMERR_SETTING_REMAIN_CMDS = 1600515 ;
CMERR_EXECUTE_ENTER = 1600516 ;
CMERR_ENTERING_PANEL = 1600517 ;
CMERR_EXITING_PANEL = 1600518 ;
CMERR_SETTING_ZPANELID = 1600519 ;
CMERR_SETTING_ZFKA = 1600520 ;
CMERR_CHANGING_FKA_FORM = 1600521 ;
CMERR_SHOW_PANELID = 1600522 ;
CMERR_PASSTHRU = 1600523 ;
CMERR_SETVERB = 1600524 ;
CMERR_PUSH_CMD_STRING = 1600525 ;
CMERR_SETTING_CMD_TEXT = 1600526 ;
CMERR_REFRESHING_AVAILVAR = 1600527 ;
CMERR_REFRESHING_SKIPVAR = 1600528 ;
CMERR_KEYTBL_ENTRY_UNKNOWN = 1600531 ;
CMERR_REFRESHING_CMDACT_STRING = 1600532 ;
CMERR_PASSING_EXTERNAL_CMD = 1600533 ;
CMERR_PASSING_INTERNAL_CMD = 1600534 ;
CMERR_PASSING_KEY_TABLE_ENTRY = 1600535 ;
CMERR_EXECUTING_ALIAS = 1600536 ;
CMERR_EXTERNAL_CMD = 1600537 ;
CMERR_CHILD_NOT_KNOWN = 1600538 ;
CMERR_GETTING_MEM_ACTION_PARM1 = 1600539 ;
CMERR_GETTING_MEM_ACTION_PARM2 = 1600540 ;
CMERR_GETTING_MEM_VARIABLE_STR = 1600541 ;
DMERR_ALLOC_COMMAND_POOL = 1600542 ;
DMERR_GET_GBL_INSTANCE_MEM = 1600543 ;
DMERR_GET_INSTANCE_MEM = 1600544 ;
DMERR_GET_APPL_DATA_ENTRY_MEM = 1600545 ;
DMERR_REMAIN_CMD_STRING_MEM = 1600546 ;
DMERR_GET_CMD_STACK_NODE_MEM = 1600547 ;
DMERR_GET_CMD_STACK_MEM = 1600548 ;
CMERR_PASSING_EXT_CMD_STRING = 1600549 ;
CMERR_SETTING_SET_VAR = 1600550 ;
CMERR_NOTIFY_SETVAR_CHG = 1600551 ;
CMERR_SETTING_TOGGLE_VAR = 1600552 ;
CMERR_NOTIFY_TOGVAR_CHG = 1600553 ;
CMERR_QUERY_CMD_TABLE_WNDHDL = 1600554 ;
CMERR_LOAD