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