1 ------------------------------------------------------------------------------
3 -- GNAT COMPILER COMPONENTS --
5 -- I N T E R F A C E S . O S 2 L I B . E R R O R S --
10 -- Copyright (C) 1993,1994,1995 Free Software Foundation, Inc. --
12 -- GNAT is free software; you can redistribute it and/or modify it under --
13 -- terms of the GNU General Public License as published by the Free Soft- --
14 -- ware Foundation; either version 2, or (at your option) any later ver- --
15 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
16 -- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
17 -- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
18 -- for more details. You should have received a copy of the GNU General --
19 -- Public License distributed with GNAT; see file COPYING. If not, write --
20 -- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
21 -- MA 02111-1307, USA. --
23 -- As a special exception, if other files instantiate generics from this --
24 -- unit, or you link this unit with other files to produce an executable, --
25 -- this unit does not by itself cause the resulting executable to be --
26 -- covered by the GNU General Public License. This exception does not --
27 -- however invalidate any other reasons why the executable file might be --
28 -- covered by the GNU Public License. --
30 -- GNAT was originally developed by the GNAT team at New York University. --
31 -- It is now maintained by Ada Core Technologies Inc (http://www.gnat.com). --
33 ------------------------------------------------------------------------------
35 -- Definition of values for OS/2 error returns
37 package Interfaces
.OS2Lib
.Errors
is
38 pragma Preelaborate
(Errors
);
40 NO_ERROR
: constant := 0;
41 ERROR_INVALID_FUNCTION
: constant := 1;
42 ERROR_FILE_NOT_FOUND
: constant := 2;
43 ERROR_PATH_NOT_FOUND
: constant := 3;
44 ERROR_TOO_MANY_OPEN_FILES
: constant := 4;
45 ERROR_ACCESS_DENIED
: constant := 5;
46 ERROR_INVALID_HANDLE
: constant := 6;
47 ERROR_ARENA_TRASHED
: constant := 7;
48 ERROR_NOT_ENOUGH_MEMORY
: constant := 8;
49 ERROR_INVALID_BLOCK
: constant := 9;
50 ERROR_BAD_ENVIRONMENT
: constant := 10;
51 ERROR_BAD_FORMAT
: constant := 11;
52 ERROR_INVALID_ACCESS
: constant := 12;
53 ERROR_INVALID_DATA
: constant := 13;
54 ERROR_INVALID_DRIVE
: constant := 15;
55 ERROR_CURRENT_DIRECTORY
: constant := 16;
56 ERROR_NOT_SAME_DEVICE
: constant := 17;
57 ERROR_NO_MORE_FILES
: constant := 18;
58 ERROR_WRITE_PROTECT
: constant := 19;
59 ERROR_BAD_UNIT
: constant := 20;
60 ERROR_NOT_READY
: constant := 21;
61 ERROR_BAD_COMMAND
: constant := 22;
62 ERROR_CRC
: constant := 23;
63 ERROR_BAD_LENGTH
: constant := 24;
64 ERROR_SEEK
: constant := 25;
65 ERROR_NOT_DOS_DISK
: constant := 26;
66 ERROR_SECTOR_NOT_FOUND
: constant := 27;
67 ERROR_OUT_OF_PAPER
: constant := 28;
68 ERROR_WRITE_FAULT
: constant := 29;
69 ERROR_READ_FAULT
: constant := 30;
70 ERROR_GEN_FAILURE
: constant := 31;
71 ERROR_SHARING_VIOLATION
: constant := 32;
72 ERROR_LOCK_VIOLATION
: constant := 33;
73 ERROR_WRONG_DISK
: constant := 34;
74 ERROR_FCB_UNAVAILABLE
: constant := 35;
75 ERROR_SHARING_BUFFER_EXCEEDED
: constant := 36;
76 ERROR_CODE_PAGE_MISMATCHED
: constant := 37;
77 ERROR_HANDLE_EOF
: constant := 38;
78 ERROR_HANDLE_DISK_FULL
: constant := 39;
79 ERROR_NOT_SUPPORTED
: constant := 50;
80 ERROR_REM_NOT_LIST
: constant := 51;
81 ERROR_DUP_NAME
: constant := 52;
82 ERROR_BAD_NETPATH
: constant := 53;
83 ERROR_NETWORK_BUSY
: constant := 54;
84 ERROR_DEV_NOT_EXIST
: constant := 55;
85 ERROR_TOO_MANY_CMDS
: constant := 56;
86 ERROR_ADAP_HDW_ERR
: constant := 57;
87 ERROR_BAD_NET_RESP
: constant := 58;
88 ERROR_UNEXP_NET_ERR
: constant := 59;
89 ERROR_BAD_REM_ADAP
: constant := 60;
90 ERROR_PRINTQ_FULL
: constant := 61;
91 ERROR_NO_SPOOL_SPACE
: constant := 62;
92 ERROR_PRINT_CANCELLED
: constant := 63;
93 ERROR_NETNAME_DELETED
: constant := 64;
94 ERROR_NETWORK_ACCESS_DENIED
: constant := 65;
95 ERROR_BAD_DEV_TYPE
: constant := 66;
96 ERROR_BAD_NET_NAME
: constant := 67;
97 ERROR_TOO_MANY_NAMES
: constant := 68;
98 ERROR_TOO_MANY_SESS
: constant := 69;
99 ERROR_SHARING_PAUSED
: constant := 70;
100 ERROR_REQ_NOT_ACCEP
: constant := 71;
101 ERROR_REDIR_PAUSED
: constant := 72;
102 ERROR_SBCS_ATT_WRITE_PROT
: constant := 73;
103 ERROR_SBCS_GENERAL_FAILURE
: constant := 74;
104 ERROR_XGA_OUT_MEMORY
: constant := 75;
105 ERROR_FILE_EXISTS
: constant := 80;
106 ERROR_DUP_FCB
: constant := 81;
107 ERROR_CANNOT_MAKE
: constant := 82;
108 ERROR_FAIL_I24
: constant := 83;
109 ERROR_OUT_OF_STRUCTURES
: constant := 84;
110 ERROR_ALREADY_ASSIGNED
: constant := 85;
111 ERROR_INVALID_PASSWORD
: constant := 86;
112 ERROR_INVALID_PARAMETER
: constant := 87;
113 ERROR_NET_WRITE_FAULT
: constant := 88;
114 ERROR_NO_PROC_SLOTS
: constant := 89;
115 ERROR_NOT_FROZEN
: constant := 90;
116 ERROR_SYS_COMP_NOT_LOADED
: constant := 90;
117 ERR_TSTOVFL
: constant := 91;
118 ERR_TSTDUP
: constant := 92;
119 ERROR_NO_ITEMS
: constant := 93;
120 ERROR_INTERRUPT
: constant := 95;
121 ERROR_DEVICE_IN_USE
: constant := 99;
122 ERROR_TOO_MANY_SEMAPHORES
: constant := 100;
123 ERROR_EXCL_SEM_ALREADY_OWNED
: constant := 101;
124 ERROR_SEM_IS_SET
: constant := 102;
125 ERROR_TOO_MANY_SEM_REQUESTS
: constant := 103;
126 ERROR_INVALID_AT_INTERRUPT_TIME
: constant := 104;
127 ERROR_SEM_OWNER_DIED
: constant := 105;
128 ERROR_SEM_USER_LIMIT
: constant := 106;
129 ERROR_DISK_CHANGE
: constant := 107;
130 ERROR_DRIVE_LOCKED
: constant := 108;
131 ERROR_BROKEN_PIPE
: constant := 109;
132 ERROR_OPEN_FAILED
: constant := 110;
133 ERROR_BUFFER_OVERFLOW
: constant := 111;
134 ERROR_DISK_FULL
: constant := 112;
135 ERROR_NO_MORE_SEARCH_HANDLES
: constant := 113;
136 ERROR_INVALID_TARGET_HANDLE
: constant := 114;
137 ERROR_PROTECTION_VIOLATION
: constant := 115;
138 ERROR_VIOKBD_REQUEST
: constant := 116;
139 ERROR_INVALID_CATEGORY
: constant := 117;
140 ERROR_INVALID_VERIFY_SWITCH
: constant := 118;
141 ERROR_BAD_DRIVER_LEVEL
: constant := 119;
142 ERROR_CALL_NOT_IMPLEMENTED
: constant := 120;
143 ERROR_SEM_TIMEOUT
: constant := 121;
144 ERROR_INSUFFICIENT_BUFFER
: constant := 122;
145 ERROR_INVALID_NAME
: constant := 123;
146 ERROR_INVALID_LEVEL
: constant := 124;
147 ERROR_NO_VOLUME_LABEL
: constant := 125;
148 ERROR_MOD_NOT_FOUND
: constant := 126;
149 ERROR_PROC_NOT_FOUND
: constant := 127;
150 ERROR_WAIT_NO_CHILDREN
: constant := 128;
151 ERROR_CHILD_NOT_COMPLETE
: constant := 129;
152 ERROR_DIRECT_ACCESS_HANDLE
: constant := 130;
153 ERROR_NEGATIVE_SEEK
: constant := 131;
154 ERROR_SEEK_ON_DEVICE
: constant := 132;
155 ERROR_IS_JOIN_TARGET
: constant := 133;
156 ERROR_IS_JOINED
: constant := 134;
157 ERROR_IS_SUBSTED
: constant := 135;
158 ERROR_NOT_JOINED
: constant := 136;
159 ERROR_NOT_SUBSTED
: constant := 137;
160 ERROR_JOIN_TO_JOIN
: constant := 138;
161 ERROR_SUBST_TO_SUBST
: constant := 139;
162 ERROR_JOIN_TO_SUBST
: constant := 140;
163 ERROR_SUBST_TO_JOIN
: constant := 141;
164 ERROR_BUSY_DRIVE
: constant := 142;
165 ERROR_SAME_DRIVE
: constant := 143;
166 ERROR_DIR_NOT_ROOT
: constant := 144;
167 ERROR_DIR_NOT_EMPTY
: constant := 145;
168 ERROR_IS_SUBST_PATH
: constant := 146;
169 ERROR_IS_JOIN_PATH
: constant := 147;
170 ERROR_PATH_BUSY
: constant := 148;
171 ERROR_IS_SUBST_TARGET
: constant := 149;
172 ERROR_SYSTEM_TRACE
: constant := 150;
173 ERROR_INVALID_EVENT_COUNT
: constant := 151;
174 ERROR_TOO_MANY_MUXWAITERS
: constant := 152;
175 ERROR_INVALID_LIST_FORMAT
: constant := 153;
176 ERROR_LABEL_TOO_LONG
: constant := 154;
177 ERROR_TOO_MANY_TCBS
: constant := 155;
178 ERROR_SIGNAL_REFUSED
: constant := 156;
179 ERROR_DISCARDED
: constant := 157;
180 ERROR_NOT_LOCKED
: constant := 158;
181 ERROR_BAD_THREADID_ADDR
: constant := 159;
182 ERROR_BAD_ARGUMENTS
: constant := 160;
183 ERROR_BAD_PATHNAME
: constant := 161;
184 ERROR_SIGNAL_PENDING
: constant := 162;
185 ERROR_UNCERTAIN_MEDIA
: constant := 163;
186 ERROR_MAX_THRDS_REACHED
: constant := 164;
187 ERROR_MONITORS_NOT_SUPPORTED
: constant := 165;
188 ERROR_UNC_DRIVER_NOT_INSTALLED
: constant := 166;
189 ERROR_LOCK_FAILED
: constant := 167;
190 ERROR_SWAPIO_FAILED
: constant := 168;
191 ERROR_SWAPIN_FAILED
: constant := 169;
192 ERROR_BUSY
: constant := 170;
193 ERROR_CANCEL_VIOLATION
: constant := 173;
194 ERROR_ATOMIC_LOCK_NOT_SUPPORTED
: constant := 174;
195 ERROR_READ_LOCKS_NOT_SUPPORTED
: constant := 175;
196 ERROR_INVALID_SEGMENT_NUMBER
: constant := 180;
197 ERROR_INVALID_CALLGATE
: constant := 181;
198 ERROR_INVALID_ORDINAL
: constant := 182;
199 ERROR_ALREADY_EXISTS
: constant := 183;
200 ERROR_NO_CHILD_PROCESS
: constant := 184;
201 ERROR_CHILD_ALIVE_NOWAIT
: constant := 185;
202 ERROR_INVALID_FLAG_NUMBER
: constant := 186;
203 ERROR_SEM_NOT_FOUND
: constant := 187;
204 ERROR_INVALID_STARTING_CODESEG
: constant := 188;
205 ERROR_INVALID_STACKSEG
: constant := 189;
206 ERROR_INVALID_MODULETYPE
: constant := 190;
207 ERROR_INVALID_EXE_SIGNATURE
: constant := 191;
208 ERROR_EXE_MARKED_INVALID
: constant := 192;
209 ERROR_BAD_EXE_FORMAT
: constant := 193;
210 ERROR_ITERATED_DATA_EXCEEDS_64k
: constant := 194;
211 ERROR_INVALID_MINALLOCSIZE
: constant := 195;
212 ERROR_DYNLINK_FROM_INVALID_RING
: constant := 196;
213 ERROR_IOPL_NOT_ENABLED
: constant := 197;
214 ERROR_INVALID_SEGDPL
: constant := 198;
215 ERROR_AUTODATASEG_EXCEEDS_64k
: constant := 199;
216 ERROR_RING2SEG_MUST_BE_MOVABLE
: constant := 200;
217 ERROR_RELOC_CHAIN_XEEDS_SEGLIM
: constant := 201;
218 ERROR_INFLOOP_IN_RELOC_CHAIN
: constant := 202;
219 ERROR_ENVVAR_NOT_FOUND
: constant := 203;
220 ERROR_NOT_CURRENT_CTRY
: constant := 204;
221 ERROR_NO_SIGNAL_SENT
: constant := 205;
222 ERROR_FILENAME_EXCED_RANGE
: constant := 206;
223 ERROR_RING2_STACK_IN_USE
: constant := 207;
224 ERROR_META_EXPANSION_TOO_LONG
: constant := 208;
225 ERROR_INVALID_SIGNAL_NUMBER
: constant := 209;
226 ERROR_THREAD_1_INACTIVE
: constant := 210;
227 ERROR_INFO_NOT_AVAIL
: constant := 211;
228 ERROR_LOCKED
: constant := 212;
229 ERROR_BAD_DYNALINK
: constant := 213;
230 ERROR_TOO_MANY_MODULES
: constant := 214;
231 ERROR_NESTING_NOT_ALLOWED
: constant := 215;
232 ERROR_CANNOT_SHRINK
: constant := 216;
233 ERROR_ZOMBIE_PROCESS
: constant := 217;
234 ERROR_STACK_IN_HIGH_MEMORY
: constant := 218;
235 ERROR_INVALID_EXITROUTINE_RING
: constant := 219;
236 ERROR_GETBUF_FAILED
: constant := 220;
237 ERROR_FLUSHBUF_FAILED
: constant := 221;
238 ERROR_TRANSFER_TOO_LONG
: constant := 222;
239 ERROR_FORCENOSWAP_FAILED
: constant := 223;
240 ERROR_SMG_NO_TARGET_WINDOW
: constant := 224;
241 ERROR_NO_CHILDREN
: constant := 228;
242 ERROR_INVALID_SCREEN_GROUP
: constant := 229;
243 ERROR_BAD_PIPE
: constant := 230;
244 ERROR_PIPE_BUSY
: constant := 231;
245 ERROR_NO_DATA
: constant := 232;
246 ERROR_PIPE_NOT_CONNECTED
: constant := 233;
247 ERROR_MORE_DATA
: constant := 234;
248 ERROR_VC_DISCONNECTED
: constant := 240;
249 ERROR_CIRCULARITY_REQUESTED
: constant := 250;
250 ERROR_DIRECTORY_IN_CDS
: constant := 251;
251 ERROR_INVALID_FSD_NAME
: constant := 252;
252 ERROR_INVALID_PATH
: constant := 253;
253 ERROR_INVALID_EA_NAME
: constant := 254;
254 ERROR_EA_LIST_INCONSISTENT
: constant := 255;
255 ERROR_EA_LIST_TOO_LONG
: constant := 256;
256 ERROR_NO_META_MATCH
: constant := 257;
257 ERROR_FINDNOTIFY_TIMEOUT
: constant := 258;
258 ERROR_NO_MORE_ITEMS
: constant := 259;
259 ERROR_SEARCH_STRUC_REUSED
: constant := 260;
260 ERROR_CHAR_NOT_FOUND
: constant := 261;
261 ERROR_TOO_MUCH_STACK
: constant := 262;
262 ERROR_INVALID_ATTR
: constant := 263;
263 ERROR_INVALID_STARTING_RING
: constant := 264;
264 ERROR_INVALID_DLL_INIT_RING
: constant := 265;
265 ERROR_CANNOT_COPY
: constant := 266;
266 ERROR_DIRECTORY
: constant := 267;
267 ERROR_OPLOCKED_FILE
: constant := 268;
268 ERROR_OPLOCK_THREAD_EXISTS
: constant := 269;
269 ERROR_VOLUME_CHANGED
: constant := 270;
270 ERROR_FINDNOTIFY_HANDLE_IN_USE
: constant := 271;
271 ERROR_FINDNOTIFY_HANDLE_CLOSED
: constant := 272;
272 ERROR_NOTIFY_OBJECT_REMOVED
: constant := 273;
273 ERROR_ALREADY_SHUTDOWN
: constant := 274;
274 ERROR_EAS_DIDNT_FIT
: constant := 275;
275 ERROR_EA_FILE_CORRUPT
: constant := 276;
276 ERROR_EA_TABLE_FULL
: constant := 277;
277 ERROR_INVALID_EA_HANDLE
: constant := 278;
278 ERROR_NO_CLUSTER
: constant := 279;
279 ERROR_CREATE_EA_FILE
: constant := 280;
280 ERROR_CANNOT_OPEN_EA_FILE
: constant := 281;
281 ERROR_EAS_NOT_SUPPORTED
: constant := 282;
282 ERROR_NEED_EAS_FOUND
: constant := 283;
283 ERROR_DUPLICATE_HANDLE
: constant := 284;
284 ERROR_DUPLICATE_NAME
: constant := 285;
285 ERROR_EMPTY_MUXWAIT
: constant := 286;
286 ERROR_MUTEX_OWNED
: constant := 287;
287 ERROR_NOT_OWNER
: constant := 288;
288 ERROR_PARAM_TOO_SMALL
: constant := 289;
289 ERROR_TOO_MANY_HANDLES
: constant := 290;
290 ERROR_TOO_MANY_OPENS
: constant := 291;
291 ERROR_WRONG_TYPE
: constant := 292;
292 ERROR_UNUSED_CODE
: constant := 293;
293 ERROR_THREAD_NOT_TERMINATED
: constant := 294;
294 ERROR_INIT_ROUTINE_FAILED
: constant := 295;
295 ERROR_MODULE_IN_USE
: constant := 296;
296 ERROR_NOT_ENOUGH_WATCHPOINTS
: constant := 297;
297 ERROR_TOO_MANY_POSTS
: constant := 298;
298 ERROR_ALREADY_POSTED
: constant := 299;
299 ERROR_ALREADY_RESET
: constant := 300;
300 ERROR_SEM_BUSY
: constant := 301;
301 ERROR_INVALID_PROCID
: constant := 303;
302 ERROR_INVALID_PDELTA
: constant := 304;
303 ERROR_NOT_DESCENDANT
: constant := 305;
304 ERROR_NOT_SESSION_MANAGER
: constant := 306;
305 ERROR_INVALID_PCLASS
: constant := 307;
306 ERROR_INVALID_SCOPE
: constant := 308;
307 ERROR_INVALID_THREADID
: constant := 309;
308 ERROR_DOSSUB_SHRINK
: constant := 310;
309 ERROR_DOSSUB_NOMEM
: constant := 311;
310 ERROR_DOSSUB_OVERLAP
: constant := 312;
311 ERROR_DOSSUB_BADSIZE
: constant := 313;
312 ERROR_DOSSUB_BADFLAG
: constant := 314;
313 ERROR_DOSSUB_BADSELECTOR
: constant := 315;
314 ERROR_MR_MSG_TOO_LONG
: constant := 316;
315 MGS_MR_MSG_TOO_LONG
: constant := 316;
316 ERROR_MR_MID_NOT_FOUND
: constant := 317;
317 ERROR_MR_UN_ACC_MSGF
: constant := 318;
318 ERROR_MR_INV_MSGF_FORMAT
: constant := 319;
319 ERROR_MR_INV_IVCOUNT
: constant := 320;
320 ERROR_MR_UN_PERFORM
: constant := 321;
321 ERROR_TS_WAKEUP
: constant := 322;
322 ERROR_TS_SEMHANDLE
: constant := 323;
323 ERROR_TS_NOTIMER
: constant := 324;
324 ERROR_TS_HANDLE
: constant := 326;
325 ERROR_TS_DATETIME
: constant := 327;
326 ERROR_SYS_INTERNAL
: constant := 328;
327 ERROR_QUE_CURRENT_NAME
: constant := 329;
328 ERROR_QUE_PROC_NOT_OWNED
: constant := 330;
329 ERROR_QUE_PROC_OWNED
: constant := 331;
330 ERROR_QUE_DUPLICATE
: constant := 332;
331 ERROR_QUE_ELEMENT_NOT_EXIST
: constant := 333;
332 ERROR_QUE_NO_MEMORY
: constant := 334;
333 ERROR_QUE_INVALID_NAME
: constant := 335;
334 ERROR_QUE_INVALID_PRIORITY
: constant := 336;
335 ERROR_QUE_INVALID_HANDLE
: constant := 337;
336 ERROR_QUE_LINK_NOT_FOUND
: constant := 338;
337 ERROR_QUE_MEMORY_ERROR
: constant := 339;
338 ERROR_QUE_PREV_AT_END
: constant := 340;
339 ERROR_QUE_PROC_NO_ACCESS
: constant := 341;
340 ERROR_QUE_EMPTY
: constant := 342;
341 ERROR_QUE_NAME_NOT_EXIST
: constant := 343;
342 ERROR_QUE_NOT_INITIALIZED
: constant := 344;
343 ERROR_QUE_UNABLE_TO_ACCESS
: constant := 345;
344 ERROR_QUE_UNABLE_TO_ADD
: constant := 346;
345 ERROR_QUE_UNABLE_TO_INIT
: constant := 347;
346 ERROR_VIO_INVALID_MASK
: constant := 349;
347 ERROR_VIO_PTR
: constant := 350;
348 ERROR_VIO_APTR
: constant := 351;
349 ERROR_VIO_RPTR
: constant := 352;
350 ERROR_VIO_CPTR
: constant := 353;
351 ERROR_VIO_LPTR
: constant := 354;
352 ERROR_VIO_MODE
: constant := 355;
353 ERROR_VIO_WIDTH
: constant := 356;
354 ERROR_VIO_ATTR
: constant := 357;
355 ERROR_VIO_ROW
: constant := 358;
356 ERROR_VIO_COL
: constant := 359;
357 ERROR_VIO_TOPROW
: constant := 360;
358 ERROR_VIO_BOTROW
: constant := 361;
359 ERROR_VIO_RIGHTCOL
: constant := 362;
360 ERROR_VIO_LEFTCOL
: constant := 363;
361 ERROR_SCS_CALL
: constant := 364;
362 ERROR_SCS_VALUE
: constant := 365;
363 ERROR_VIO_WAIT_FLAG
: constant := 366;
364 ERROR_VIO_UNLOCK
: constant := 367;
365 ERROR_SGS_NOT_SESSION_MGR
: constant := 368;
366 ERROR_SMG_INVALID_SGID
: constant := 369;
367 ERROR_SMG_INVALID_SESSION_ID
: constant := 369;
368 ERROR_SMG_NOSG
: constant := 370;
369 ERROR_SMG_NO_SESSIONS
: constant := 370;
370 ERROR_SMG_GRP_NOT_FOUND
: constant := 371;
371 ERROR_SMG_SESSION_NOT_FOUND
: constant := 371;
372 ERROR_SMG_SET_TITLE
: constant := 372;
373 ERROR_KBD_PARAMETER
: constant := 373;
374 ERROR_KBD_NO_DEVICE
: constant := 374;
375 ERROR_KBD_INVALID_IOWAIT
: constant := 375;
376 ERROR_KBD_INVALID_LENGTH
: constant := 376;
377 ERROR_KBD_INVALID_ECHO_MASK
: constant := 377;
378 ERROR_KBD_INVALID_INPUT_MASK
: constant := 378;
379 ERROR_MON_INVALID_PARMS
: constant := 379;
380 ERROR_MON_INVALID_DEVNAME
: constant := 380;
381 ERROR_MON_INVALID_HANDLE
: constant := 381;
382 ERROR_MON_BUFFER_TOO_SMALL
: constant := 382;
383 ERROR_MON_BUFFER_EMPTY
: constant := 383;
384 ERROR_MON_DATA_TOO_LARGE
: constant := 384;
385 ERROR_MOUSE_NO_DEVICE
: constant := 385;
386 ERROR_MOUSE_INV_HANDLE
: constant := 386;
387 ERROR_MOUSE_INV_PARMS
: constant := 387;
388 ERROR_MOUSE_CANT_RESET
: constant := 388;
389 ERROR_MOUSE_DISPLAY_PARMS
: constant := 389;
390 ERROR_MOUSE_INV_MODULE
: constant := 390;
391 ERROR_MOUSE_INV_ENTRY_PT
: constant := 391;
392 ERROR_MOUSE_INV_MASK
: constant := 392;
393 NO_ERROR_MOUSE_NO_DATA
: constant := 393;
394 NO_ERROR_MOUSE_PTR_DRAWN
: constant := 394;
395 ERROR_INVALID_FREQUENCY
: constant := 395;
396 ERROR_NLS_NO_COUNTRY_FILE
: constant := 396;
397 ERROR_NLS_OPEN_FAILED
: constant := 397;
398 ERROR_NLS_NO_CTRY_CODE
: constant := 398;
399 ERROR_NO_COUNTRY_OR_CODEPAGE
: constant := 398;
400 ERROR_NLS_TABLE_TRUNCATED
: constant := 399;
401 ERROR_NLS_BAD_TYPE
: constant := 400;
402 ERROR_NLS_TYPE_NOT_FOUND
: constant := 401;
403 ERROR_VIO_SMG_ONLY
: constant := 402;
404 ERROR_VIO_INVALID_ASCIIZ
: constant := 403;
405 ERROR_VIO_DEREGISTER
: constant := 404;
406 ERROR_VIO_NO_POPUP
: constant := 405;
407 ERROR_VIO_EXISTING_POPUP
: constant := 406;
408 ERROR_KBD_SMG_ONLY
: constant := 407;
409 ERROR_KBD_INVALID_ASCIIZ
: constant := 408;
410 ERROR_KBD_INVALID_MASK
: constant := 409;
411 ERROR_KBD_REGISTER
: constant := 410;
412 ERROR_KBD_DEREGISTER
: constant := 411;
413 ERROR_MOUSE_SMG_ONLY
: constant := 412;
414 ERROR_MOUSE_INVALID_ASCIIZ
: constant := 413;
415 ERROR_MOUSE_INVALID_MASK
: constant := 414;
416 ERROR_MOUSE_REGISTER
: constant := 415;
417 ERROR_MOUSE_DEREGISTER
: constant := 416;
418 ERROR_SMG_BAD_ACTION
: constant := 417;
419 ERROR_SMG_INVALID_CALL
: constant := 418;
420 ERROR_SCS_SG_NOTFOUND
: constant := 419;
421 ERROR_SCS_NOT_SHELL
: constant := 420;
422 ERROR_VIO_INVALID_PARMS
: constant := 421;
423 ERROR_VIO_FUNCTION_OWNED
: constant := 422;
424 ERROR_VIO_RETURN
: constant := 423;
425 ERROR_SCS_INVALID_FUNCTION
: constant := 424;
426 ERROR_SCS_NOT_SESSION_MGR
: constant := 425;
427 ERROR_VIO_REGISTER
: constant := 426;
428 ERROR_VIO_NO_MODE_THREAD
: constant := 427;
429 ERROR_VIO_NO_SAVE_RESTORE_THD
: constant := 428;
430 ERROR_VIO_IN_BG
: constant := 429;
431 ERROR_VIO_ILLEGAL_DURING_POPUP
: constant := 430;
432 ERROR_SMG_NOT_BASESHELL
: constant := 431;
433 ERROR_SMG_BAD_STATUSREQ
: constant := 432;
434 ERROR_QUE_INVALID_WAIT
: constant := 433;
435 ERROR_VIO_LOCK
: constant := 434;
436 ERROR_MOUSE_INVALID_IOWAIT
: constant := 435;
437 ERROR_VIO_INVALID_HANDLE
: constant := 436;
438 ERROR_VIO_ILLEGAL_DURING_LOCK
: constant := 437;
439 ERROR_VIO_INVALID_LENGTH
: constant := 438;
440 ERROR_KBD_INVALID_HANDLE
: constant := 439;
441 ERROR_KBD_NO_MORE_HANDLE
: constant := 440;
442 ERROR_KBD_CANNOT_CREATE_KCB
: constant := 441;
443 ERROR_KBD_CODEPAGE_LOAD_INCOMPL
: constant := 442;
444 ERROR_KBD_INVALID_CODEPAGE_ID
: constant := 443;
445 ERROR_KBD_NO_CODEPAGE_SUPPORT
: constant := 444;
446 ERROR_KBD_FOCUS_REQUIRED
: constant := 445;
447 ERROR_KBD_FOCUS_ALREADY_ACTIVE
: constant := 446;
448 ERROR_KBD_KEYBOARD_BUSY
: constant := 447;
449 ERROR_KBD_INVALID_CODEPAGE
: constant := 448;
450 ERROR_KBD_UNABLE_TO_FOCUS
: constant := 449;
451 ERROR_SMG_SESSION_NON_SELECT
: constant := 450;
452 ERROR_SMG_SESSION_NOT_FOREGRND
: constant := 451;
453 ERROR_SMG_SESSION_NOT_PARENT
: constant := 452;
454 ERROR_SMG_INVALID_START_MODE
: constant := 453;
455 ERROR_SMG_INVALID_RELATED_OPT
: constant := 454;
456 ERROR_SMG_INVALID_BOND_OPTION
: constant := 455;
457 ERROR_SMG_INVALID_SELECT_OPT
: constant := 456;
458 ERROR_SMG_START_IN_BACKGROUND
: constant := 457;
459 ERROR_SMG_INVALID_STOP_OPTION
: constant := 458;
460 ERROR_SMG_BAD_RESERVE
: constant := 459;
461 ERROR_SMG_PROCESS_NOT_PARENT
: constant := 460;
462 ERROR_SMG_INVALID_DATA_LENGTH
: constant := 461;
463 ERROR_SMG_NOT_BOUND
: constant := 462;
464 ERROR_SMG_RETRY_SUB_ALLOC
: constant := 463;
465 ERROR_KBD_DETACHED
: constant := 464;
466 ERROR_VIO_DETACHED
: constant := 465;
467 ERROR_MOU_DETACHED
: constant := 466;
468 ERROR_VIO_FONT
: constant := 467;
469 ERROR_VIO_USER_FONT
: constant := 468;
470 ERROR_VIO_BAD_CP
: constant := 469;
471 ERROR_VIO_NO_CP
: constant := 470;
472 ERROR_VIO_NA_CP
: constant := 471;
473 ERROR_INVALID_CODE_PAGE
: constant := 472;
474 ERROR_CPLIST_TOO_SMALL
: constant := 473;
475 ERROR_CP_NOT_MOVED
: constant := 474;
476 ERROR_MODE_SWITCH_INIT
: constant := 475;
477 ERROR_CODE_PAGE_NOT_FOUND
: constant := 476;
478 ERROR_UNEXPECTED_SLOT_RETURNED
: constant := 477;
479 ERROR_SMG_INVALID_TRACE_OPTION
: constant := 478;
480 ERROR_VIO_INTERNAL_RESOURCE
: constant := 479;
481 ERROR_VIO_SHELL_INIT
: constant := 480;
482 ERROR_SMG_NO_HARD_ERRORS
: constant := 481;
483 ERROR_CP_SWITCH_INCOMPLETE
: constant := 482;
484 ERROR_VIO_TRANSPARENT_POPUP
: constant := 483;
485 ERROR_CRITSEC_OVERFLOW
: constant := 484;
486 ERROR_CRITSEC_UNDERFLOW
: constant := 485;
487 ERROR_VIO_BAD_RESERVE
: constant := 486;
488 ERROR_INVALID_ADDRESS
: constant := 487;
489 ERROR_ZERO_SELECTORS_REQUESTED
: constant := 488;
490 ERROR_NOT_ENOUGH_SELECTORS_AVA
: constant := 489;
491 ERROR_INVALID_SELECTOR
: constant := 490;
492 ERROR_SMG_INVALID_PROGRAM_TYPE
: constant := 491;
493 ERROR_SMG_INVALID_PGM_CONTROL
: constant := 492;
494 ERROR_SMG_INVALID_INHERIT_OPT
: constant := 493;
495 ERROR_VIO_EXTENDED_SG
: constant := 494;
496 ERROR_VIO_NOT_PRES_MGR_SG
: constant := 495;
497 ERROR_VIO_SHIELD_OWNED
: constant := 496;
498 ERROR_VIO_NO_MORE_HANDLES
: constant := 497;
499 ERROR_VIO_SEE_ERROR_LOG
: constant := 498;
500 ERROR_VIO_ASSOCIATED_DC
: constant := 499;
501 ERROR_KBD_NO_CONSOLE
: constant := 500;
502 ERROR_MOUSE_NO_CONSOLE
: constant := 501;
503 ERROR_MOUSE_INVALID_HANDLE
: constant := 502;
504 ERROR_SMG_INVALID_DEBUG_PARMS
: constant := 503;
505 ERROR_KBD_EXTENDED_SG
: constant := 504;
506 ERROR_MOU_EXTENDED_SG
: constant := 505;
507 ERROR_SMG_INVALID_ICON_FILE
: constant := 506;
508 ERROR_TRC_PID_NON_EXISTENT
: constant := 507;
509 ERROR_TRC_COUNT_ACTIVE
: constant := 508;
510 ERROR_TRC_SUSPENDED_BY_COUNT
: constant := 509;
511 ERROR_TRC_COUNT_INACTIVE
: constant := 510;
512 ERROR_TRC_COUNT_REACHED
: constant := 511;
513 ERROR_NO_MC_TRACE
: constant := 512;
514 ERROR_MC_TRACE
: constant := 513;
515 ERROR_TRC_COUNT_ZERO
: constant := 514;
516 ERROR_SMG_TOO_MANY_DDS
: constant := 515;
517 ERROR_SMG_INVALID_NOTIFICATION
: constant := 516;
518 ERROR_LF_INVALID_FUNCTION
: constant := 517;
519 ERROR_LF_NOT_AVAIL
: constant := 518;
520 ERROR_LF_SUSPENDED
: constant := 519;
521 ERROR_LF_BUF_TOO_SMALL
: constant := 520;
522 ERROR_LF_BUFFER_CORRUPTED
: constant := 521;
523 ERROR_LF_BUFFER_FULL
: constant := 521;
524 ERROR_LF_INVALID_DAEMON
: constant := 522;
525 ERROR_LF_INVALID_RECORD
: constant := 522;
526 ERROR_LF_INVALID_TEMPL
: constant := 523;
527 ERROR_LF_INVALID_SERVICE
: constant := 523;
528 ERROR_LF_GENERAL_FAILURE
: constant := 524;
529 ERROR_LF_INVALID_ID
: constant := 525;
530 ERROR_LF_INVALID_HANDLE
: constant := 526;
531 ERROR_LF_NO_ID_AVAIL
: constant := 527;
532 ERROR_LF_TEMPLATE_AREA_FULL
: constant := 528;
533 ERROR_LF_ID_IN_USE
: constant := 529;
534 ERROR_MOU_NOT_INITIALIZED
: constant := 530;
535 ERROR_MOUINITREAL_DONE
: constant := 531;
536 ERROR_DOSSUB_CORRUPTED
: constant := 532;
537 ERROR_MOUSE_CALLER_NOT_SUBSYS
: constant := 533;
538 ERROR_ARITHMETIC_OVERFLOW
: constant := 534;
539 ERROR_TMR_NO_DEVICE
: constant := 535;
540 ERROR_TMR_INVALID_TIME
: constant := 536;
541 ERROR_PVW_INVALID_ENTITY
: constant := 537;
542 ERROR_PVW_INVALID_ENTITY_TYPE
: constant := 538;
543 ERROR_PVW_INVALID_SPEC
: constant := 539;
544 ERROR_PVW_INVALID_RANGE_TYPE
: constant := 540;
545 ERROR_PVW_INVALID_COUNTER_BLK
: constant := 541;
546 ERROR_PVW_INVALID_TEXT_BLK
: constant := 542;
547 ERROR_PRF_NOT_INITIALIZED
: constant := 543;
548 ERROR_PRF_ALREADY_INITIALIZED
: constant := 544;
549 ERROR_PRF_NOT_STARTED
: constant := 545;
550 ERROR_PRF_ALREADY_STARTED
: constant := 546;
551 ERROR_PRF_TIMER_OUT_OF_RANGE
: constant := 547;
552 ERROR_PRF_TIMER_RESET
: constant := 548;
553 ERROR_VDD_LOCK_USEAGE_DENIED
: constant := 639;
554 ERROR_TIMEOUT
: constant := 640;
555 ERROR_VDM_DOWN
: constant := 641;
556 ERROR_VDM_LIMIT
: constant := 642;
557 ERROR_VDD_NOT_FOUND
: constant := 643;
558 ERROR_INVALID_CALLER
: constant := 644;
559 ERROR_PID_MISMATCH
: constant := 645;
560 ERROR_INVALID_VDD_HANDLE
: constant := 646;
561 ERROR_VLPT_NO_SPOOLER
: constant := 647;
562 ERROR_VCOM_DEVICE_BUSY
: constant := 648;
563 ERROR_VLPT_DEVICE_BUSY
: constant := 649;
564 ERROR_NESTING_TOO_DEEP
: constant := 650;
565 ERROR_VDD_MISSING
: constant := 651;
566 ERROR_BIDI_INVALID_LENGTH
: constant := 671;
567 ERROR_BIDI_INVALID_INCREMENT
: constant := 672;
568 ERROR_BIDI_INVALID_COMBINATION
: constant := 673;
569 ERROR_BIDI_INVALID_RESERVED
: constant := 674;
570 ERROR_BIDI_INVALID_EFFECT
: constant := 675;
571 ERROR_BIDI_INVALID_CSDREC
: constant := 676;
572 ERROR_BIDI_INVALID_CSDSTATE
: constant := 677;
573 ERROR_BIDI_INVALID_LEVEL
: constant := 678;
574 ERROR_BIDI_INVALID_TYPE_SUPPORT
: constant := 679;
575 ERROR_BIDI_INVALID_ORIENTATION
: constant := 680;
576 ERROR_BIDI_INVALID_NUM_SHAPE
: constant := 681;
577 ERROR_BIDI_INVALID_CSD
: constant := 682;
578 ERROR_BIDI_NO_SUPPORT
: constant := 683;
579 NO_ERROR_BIDI_RW_INCOMPLETE
: constant := 684;
580 ERROR_IMP_INVALID_PARM
: constant := 691;
581 ERROR_IMP_INVALID_LENGTH
: constant := 692;
582 MSG_HPFS_DISK_ERROR_WARN
: constant := 693;
583 ERROR_MON_BAD_BUFFER
: constant := 730;
584 ERROR_MODULE_CORRUPTED
: constant := 731;
585 ERROR_SM_OUTOF_SWAPFILE
: constant := 1477;
586 ERROR_LF_TIMEOUT
: constant := 2055;
587 ERROR_LF_SUSPEND_SUCCESS
: constant := 2057;
588 ERROR_LF_RESUME_SUCCESS
: constant := 2058;
589 ERROR_LF_REDIRECT_SUCCESS
: constant := 2059;
590 ERROR_LF_REDIRECT_FAILURE
: constant := 2060;
591 ERROR_SWAPPER_NOT_ACTIVE
: constant := 32768;
592 ERROR_INVALID_SWAPID
: constant := 32769;
593 ERROR_IOERR_SWAP_FILE
: constant := 32770;
594 ERROR_SWAP_TABLE_FULL
: constant := 32771;
595 ERROR_SWAP_FILE_FULL
: constant := 32772;
596 ERROR_CANT_INIT_SWAPPER
: constant := 32773;
597 ERROR_SWAPPER_ALREADY_INIT
: constant := 32774;
598 ERROR_PMM_INSUFFICIENT_MEMORY
: constant := 32775;
599 ERROR_PMM_INVALID_FLAGS
: constant := 32776;
600 ERROR_PMM_INVALID_ADDRESS
: constant := 32777;
601 ERROR_PMM_LOCK_FAILED
: constant := 32778;
602 ERROR_PMM_UNLOCK_FAILED
: constant := 32779;
603 ERROR_PMM_MOVE_INCOMPLETE
: constant := 32780;
604 ERROR_UCOM_DRIVE_RENAMED
: constant := 32781;
605 ERROR_UCOM_FILENAME_TRUNCATED
: constant := 32782;
606 ERROR_UCOM_BUFFER_LENGTH
: constant := 32783;
607 ERROR_MON_CHAIN_HANDLE
: constant := 32784;
608 ERROR_MON_NOT_REGISTERED
: constant := 32785;
609 ERROR_SMG_ALREADY_TOP
: constant := 32786;
610 ERROR_PMM_ARENA_MODIFIED
: constant := 32787;
611 ERROR_SMG_PRINTER_OPEN
: constant := 32788;
612 ERROR_PMM_SET_FLAGS_FAILED
: constant := 32789;
613 ERROR_INVALID_DOS_DD
: constant := 32790;
614 ERROR_BLOCKED
: constant := 32791;
615 ERROR_NOBLOCK
: constant := 32792;
616 ERROR_INSTANCE_SHARED
: constant := 32793;
617 ERROR_NO_OBJECT
: constant := 32794;
618 ERROR_PARTIAL_ATTACH
: constant := 32795;
619 ERROR_INCACHE
: constant := 32796;
620 ERROR_SWAP_IO_PROBLEMS
: constant := 32797;
621 ERROR_CROSSES_OBJECT_BOUNDARY
: constant := 32798;
622 ERROR_LONGLOCK
: constant := 32799;
623 ERROR_SHORTLOCK
: constant := 32800;
624 ERROR_UVIRTLOCK
: constant := 32801;
625 ERROR_ALIASLOCK
: constant := 32802;
626 ERROR_ALIAS
: constant := 32803;
627 ERROR_NO_MORE_HANDLES
: constant := 32804;
628 ERROR_SCAN_TERMINATED
: constant := 32805;
629 ERROR_TERMINATOR_NOT_FOUND
: constant := 32806;
630 ERROR_NOT_DIRECT_CHILD
: constant := 32807;
631 ERROR_DELAY_FREE
: constant := 32808;
632 ERROR_GUARDPAGE
: constant := 32809;
633 ERROR_SWAPERROR
: constant := 32900;
634 ERROR_LDRERROR
: constant := 32901;
635 ERROR_NOMEMORY
: constant := 32902;
636 ERROR_NOACCESS
: constant := 32903;
637 ERROR_NO_DLL_TERM
: constant := 32904;
638 ERROR_CPSIO_CODE_PAGE_INVALID
: constant := 65026;
639 ERROR_CPSIO_NO_SPOOLER
: constant := 65027;
640 ERROR_CPSIO_FONT_ID_INVALID
: constant := 65028;
641 ERROR_CPSIO_INTERNAL_ERROR
: constant := 65033;
642 ERROR_CPSIO_INVALID_PTR_NAME
: constant := 65034;
643 ERROR_CPSIO_NOT_ACTIVE
: constant := 65037;
644 ERROR_CPSIO_PID_FULL
: constant := 65039;
645 ERROR_CPSIO_PID_NOT_FOUND
: constant := 65040;
646 ERROR_CPSIO_READ_CTL_SEQ
: constant := 65043;
647 ERROR_CPSIO_READ_FNT_DEF
: constant := 65045;
648 ERROR_CPSIO_WRITE_ERROR
: constant := 65047;
649 ERROR_CPSIO_WRITE_FULL_ERROR
: constant := 65048;
650 ERROR_CPSIO_WRITE_HANDLE_BAD
: constant := 65049;
651 ERROR_CPSIO_SWIT_LOAD
: constant := 65074;
652 ERROR_CPSIO_INV_COMMAND
: constant := 65077;
653 ERROR_CPSIO_NO_FONT_SWIT
: constant := 65078;
654 ERROR_ENTRY_IS_CALLGATE
: constant := 65079;
656 end Interfaces
.OS2Lib
.Errors
;