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