VirtualBox

source: vbox/trunk/include/iprt/err.h

Last change on this file was 106321, checked in by vboxsync, 5 weeks ago

Windows installers: Big revamp for removing all DIFxApp-related / DIFxApi-related code and build dependencies for the host and guest installers. bugref:10762

This implements an own framework (VBoxWinDrvInst and VBoxWinDrvStore) for installing Windows drivers and querying / handling the Windows driver store,
along with testcases for the Windows guest and host installers.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 138.2 KB
Line 
1/** @file
2 * IPRT - Status Codes.
3 */
4
5/*
6 * Copyright (C) 2006-2024 Oracle and/or its affiliates.
7 *
8 * This file is part of VirtualBox base platform packages, as
9 * available from https://www.virtualbox.org.
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation, in version 3 of the
14 * License.
15 *
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, see <https://www.gnu.org/licenses>.
23 *
24 * The contents of this file may alternatively be used under the terms
25 * of the Common Development and Distribution License Version 1.0
26 * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
27 * in the VirtualBox distribution, in which case the provisions of the
28 * CDDL are applicable instead of those of the GPL.
29 *
30 * You may elect to license modified versions of this file under the
31 * terms and conditions of either the GPL or the CDDL or both.
32 *
33 * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
34 */
35
36#ifndef IPRT_INCLUDED_err_h
37#define IPRT_INCLUDED_err_h
38#ifndef RT_WITHOUT_PRAGMA_ONCE
39# pragma once
40#endif
41
42#include <iprt/errcore.h>
43
44
45/** @defgroup grp_rt_err RTErr - Status Codes
46 * @ingroup grp_rt
47 *
48 * The IPRT status codes are in two ranges: {0..999} and {22000..32766}. The
49 * IPRT users are free to use the range {1000..21999}. See RTERR_RANGE1_FIRST,
50 * RTERR_RANGE1_LAST, RTERR_RANGE2_FIRST, RTERR_RANGE2_LAST, RTERR_USER_FIRST
51 * and RTERR_USER_LAST.
52 *
53 * @{
54 */
55
56/** @name Status Code Ranges
57 * @{ */
58/** The first status code in the primary IPRT range. */
59#define RTERR_RANGE1_FIRST 0
60/** The last status code in the primary IPRT range. */
61#define RTERR_RANGE1_LAST 999
62
63/** The first status code in the secondary IPRT range. */
64#define RTERR_RANGE2_FIRST 22000
65/** The last status code in the secondary IPRT range. */
66#define RTERR_RANGE2_LAST 32766
67
68/** The first status code in the user range. */
69#define RTERR_USER_FIRST 1000
70/** The last status code in the user range. */
71#define RTERR_USER_LAST 21999
72/** @} */
73
74
75/* SED-START */
76
77/** Success. */
78#define VINF_SUCCESS 0
79
80/** @name Misc. Status Codes
81 * @{
82 */
83/** General failure - DON'T USE THIS!!! */
84#define VERR_GENERAL_FAILURE (-1)
85/** Invalid parameter. */
86#define VERR_INVALID_PARAMETER (-2)
87/** Invalid parameter. */
88#define VWRN_INVALID_PARAMETER 2
89/** Invalid magic or cookie. */
90#define VERR_INVALID_MAGIC (-3)
91/** Invalid magic or cookie. */
92#define VWRN_INVALID_MAGIC 3
93/** Invalid handle. */
94#define VERR_INVALID_HANDLE (-4)
95/** Invalid handle. */
96#define VWRN_INVALID_HANDLE 4
97/** Failed to lock the address range. */
98#define VERR_LOCK_FAILED (-5)
99/** Invalid memory pointer. */
100#define VERR_INVALID_POINTER (-6)
101/** Failed to patch the IDT. */
102#define VERR_IDT_FAILED (-7)
103/** Memory allocation failed. */
104#define VERR_NO_MEMORY (-8)
105/** Already loaded. */
106#define VERR_ALREADY_LOADED (-9)
107/** Permission denied. */
108#define VERR_PERMISSION_DENIED (-10)
109/** Permission denied. */
110#define VINF_PERMISSION_DENIED 10
111/** Version mismatch. */
112#define VERR_VERSION_MISMATCH (-11)
113/** The request function is not implemented. */
114#define VERR_NOT_IMPLEMENTED (-12)
115/** The request function is not implemented. */
116#define VINF_NOT_IMPLEMENTED 12
117/** Invalid flags was given. */
118#define VERR_INVALID_FLAGS (-13)
119
120/** Not equal. */
121#define VERR_NOT_EQUAL (-18)
122/** The specified path does not point at a symbolic link. */
123#define VERR_NOT_SYMLINK (-19)
124/** Failed to allocate temporary memory. */
125#define VERR_NO_TMP_MEMORY (-20)
126/** Invalid file mode mask (RTFMODE). */
127#define VERR_INVALID_FMODE (-21)
128/** Incorrect call order. */
129#define VERR_WRONG_ORDER (-22)
130/** There is no TLS (thread local storage) available for storing the current thread. */
131#define VERR_NO_TLS_FOR_SELF (-23)
132/** Failed to set the TLS (thread local storage) entry which points to our thread structure. */
133#define VERR_FAILED_TO_SET_SELF_TLS (-24)
134/** Not able to allocate contiguous memory. */
135#define VERR_NO_CONT_MEMORY (-26)
136/** No memory available for page table or page directory. */
137#define VERR_NO_PAGE_MEMORY (-27)
138/** Already initialized. */
139#define VINF_ALREADY_INITIALIZED 28
140/** Already initialized. */
141#define VERR_ALREADY_INITIALIZED (-28)
142/** The specified thread is dead. */
143#define VERR_THREAD_IS_DEAD (-29)
144/** The specified thread is not waitable. */
145#define VERR_THREAD_NOT_WAITABLE (-30)
146/** Pagetable not present. */
147#define VERR_PAGE_TABLE_NOT_PRESENT (-31)
148/** Invalid context.
149 * Typically an API was used by the wrong thread. */
150#define VERR_INVALID_CONTEXT (-32)
151/** The per process timer is busy. */
152#define VERR_TIMER_BUSY (-33)
153/** Address conflict. */
154#define VERR_ADDRESS_CONFLICT (-34)
155/** Unresolved (unknown) host platform error. */
156#define VERR_UNRESOLVED_ERROR (-35)
157/** Invalid function. */
158#define VERR_INVALID_FUNCTION (-36)
159/** Not supported. */
160#define VERR_NOT_SUPPORTED (-37)
161/** Not supported. */
162#define VINF_NOT_SUPPORTED 37
163/** Access denied. */
164#define VERR_ACCESS_DENIED (-38)
165/** Call interrupted. */
166#define VERR_INTERRUPTED (-39)
167/** Call interrupted. */
168#define VINF_INTERRUPTED 39
169/** Timeout. */
170#define VERR_TIMEOUT (-40)
171/** Timeout. */
172#define VINF_TIMEOUT 40
173/** Buffer too small to save result. */
174#define VERR_BUFFER_OVERFLOW (-41)
175/** Buffer too small to save result. */
176#define VINF_BUFFER_OVERFLOW 41
177/** Data size overflow. */
178#define VERR_TOO_MUCH_DATA (-42)
179/** Max threads number reached. */
180#define VERR_MAX_THRDS_REACHED (-43)
181/** Max process number reached. */
182#define VERR_MAX_PROCS_REACHED (-44)
183/** The recipient process has refused the signal. */
184#define VERR_SIGNAL_REFUSED (-45)
185/** A signal is already pending. */
186#define VERR_SIGNAL_PENDING (-46)
187/** The signal being posted is not correct. */
188#define VERR_SIGNAL_INVALID (-47)
189/** The state changed.
190 * This is a generic error message and needs a context to make sense. */
191#define VERR_STATE_CHANGED (-48)
192/** Warning, the state changed.
193 * This is a generic error message and needs a context to make sense. */
194#define VWRN_STATE_CHANGED 48
195/** Error while parsing UUID string */
196#define VERR_INVALID_UUID_FORMAT (-49)
197/** The specified process was not found. */
198#define VERR_PROCESS_NOT_FOUND (-50)
199/** The process specified to a non-block wait had not exited. */
200#define VERR_PROCESS_RUNNING (-51)
201/** Retry the operation. */
202#define VERR_TRY_AGAIN (-52)
203/** Retry the operation. */
204#define VINF_TRY_AGAIN 52
205/** Generic parse error. */
206#define VERR_PARSE_ERROR (-53)
207/** Value out of range. */
208#define VERR_OUT_OF_RANGE (-54)
209/** A numeric conversion encountered a value which was too big for the target. */
210#define VERR_NUMBER_TOO_BIG (-55)
211/** A numeric conversion encountered a value which was too big for the target. */
212#define VWRN_NUMBER_TOO_BIG 55
213/** The number being converted (string) contained no digits. */
214#define VERR_NO_DIGITS (-56)
215/** The number being converted (string) contained no digits. */
216#define VWRN_NO_DIGITS 56
217/** Encountered a '-' during conversion to an unsigned value. */
218#define VERR_NEGATIVE_UNSIGNED (-57)
219/** Encountered a '-' during conversion to an unsigned value. */
220#define VWRN_NEGATIVE_UNSIGNED 57
221/** Error while characters translation (unicode and so). */
222#define VERR_NO_TRANSLATION (-58)
223/** Error while characters translation (unicode and so). */
224#define VWRN_NO_TRANSLATION 58
225/** Encountered unicode code point which is reserved for use as endian indicator (0xffff or 0xfffe). */
226#define VERR_CODE_POINT_ENDIAN_INDICATOR (-59)
227/** Encountered unicode code point in the surrogate range (0xd800 to 0xdfff). */
228#define VERR_CODE_POINT_SURROGATE (-60)
229/** A string claiming to be UTF-8 is incorrectly encoded. */
230#define VERR_INVALID_UTF8_ENCODING (-61)
231/** A string claiming to be in UTF-16 is incorrectly encoded. */
232#define VERR_INVALID_UTF16_ENCODING (-62)
233/** Encountered a unicode code point which cannot be represented as UTF-16. */
234#define VERR_CANT_RECODE_AS_UTF16 (-63)
235/** Got an out of memory condition trying to allocate a string. */
236#define VERR_NO_STR_MEMORY (-64)
237/** Got an out of memory condition trying to allocate a UTF-16 (/UCS-2) string. */
238#define VERR_NO_UTF16_MEMORY (-65)
239/** Get an out of memory condition trying to allocate a code point array. */
240#define VERR_NO_CODE_POINT_MEMORY (-66)
241/** Can't free the memory because it's used in mapping. */
242#define VERR_MEMORY_BUSY (-67)
243/** The timer can't be started because it's already active. */
244#define VERR_TIMER_ACTIVE (-68)
245/** The timer can't be stopped because it's already suspended. */
246#define VERR_TIMER_SUSPENDED (-69)
247/** The operation was cancelled by the user (copy) or another thread (local ipc). */
248#define VERR_CANCELLED (-70)
249/** Failed to initialize a memory object.
250 * Exactly what this means is OS specific. */
251#define VERR_MEMOBJ_INIT_FAILED (-71)
252/** Out of memory condition when allocating memory with low physical backing. */
253#define VERR_NO_LOW_MEMORY (-72)
254/** Out of memory condition when allocating physical memory (without mapping). */
255#define VERR_NO_PHYS_MEMORY (-73)
256/** The address (virtual or physical) is too big. */
257#define VERR_ADDRESS_TOO_BIG (-74)
258/** Failed to map a memory object. */
259#define VERR_MAP_FAILED (-75)
260/** Trailing characters. */
261#define VERR_TRAILING_CHARS (-76)
262/** Trailing characters. */
263#define VWRN_TRAILING_CHARS 76
264/** Trailing spaces. */
265#define VERR_TRAILING_SPACES (-77)
266/** Trailing spaces. */
267#define VWRN_TRAILING_SPACES 77
268/** Generic not found error. */
269#define VERR_NOT_FOUND (-78)
270/** Generic not found warning. */
271#define VWRN_NOT_FOUND 78
272/** Generic invalid state error. */
273#define VERR_INVALID_STATE (-79)
274/** Generic invalid state warning. */
275#define VWRN_INVALID_STATE 79
276/** Generic out of resources error. */
277#define VERR_OUT_OF_RESOURCES (-80)
278/** Generic out of resources warning. */
279#define VWRN_OUT_OF_RESOURCES 80
280/** No more handles available, too many open handles. */
281#define VERR_NO_MORE_HANDLES (-81)
282/** Preemption is disabled.
283 * The requested operation can only be performed when preemption is enabled. */
284#define VERR_PREEMPT_DISABLED (-82)
285/** End of string. */
286#define VERR_END_OF_STRING (-83)
287/** End of string. */
288#define VINF_END_OF_STRING 83
289/** A page count is out of range. */
290#define VERR_PAGE_COUNT_OUT_OF_RANGE (-84)
291/** Generic object destroyed status. */
292#define VERR_OBJECT_DESTROYED (-85)
293/** Generic object was destroyed by the call status. */
294#define VINF_OBJECT_DESTROYED 85
295/** Generic dangling objects status. */
296#define VERR_DANGLING_OBJECTS (-86)
297/** Generic dangling objects status. */
298#define VWRN_DANGLING_OBJECTS 86
299/** Invalid Base64 encoding. */
300#define VERR_INVALID_BASE64_ENCODING (-87)
301/** Return instigated by a callback or similar. */
302#define VERR_CALLBACK_RETURN (-88)
303/** Return instigated by a callback or similar. */
304#define VINF_CALLBACK_RETURN 88
305/** Authentication failure. */
306#define VERR_AUTHENTICATION_FAILURE (-89)
307/** Not a power of two. */
308#define VERR_NOT_POWER_OF_TWO (-90)
309/** Status code, typically given as a parameter, that isn't supposed to be used. */
310#define VERR_IGNORED (-91)
311/** Concurrent access to the object is not allowed. */
312#define VERR_CONCURRENT_ACCESS (-92)
313/** The caller does not have a reference to the object.
314 * This status is used when two threads is caught sharing the same object
315 * reference. */
316#define VERR_CALLER_NO_REFERENCE (-93)
317/** Generic no change error. */
318#define VERR_NO_CHANGE (-95)
319/** Generic no change info. */
320#define VINF_NO_CHANGE 95
321/** Out of memory condition when allocating executable memory. */
322#define VERR_NO_EXEC_MEMORY (-96)
323/** The alignment is not supported. */
324#define VERR_UNSUPPORTED_ALIGNMENT (-97)
325/** The alignment is not really supported, however we got lucky with this
326 * allocation. */
327#define VINF_UNSUPPORTED_ALIGNMENT 97
328/** Duplicate something. */
329#define VERR_DUPLICATE (-98)
330/** Something is missing. */
331#define VERR_MISSING (-99)
332/** An unexpected (/unknown) exception was caught. */
333#define VERR_UNEXPECTED_EXCEPTION (-22400)
334/** Buffer underflow. */
335#define VERR_BUFFER_UNDERFLOW (-22401)
336/** Buffer underflow. */
337#define VINF_BUFFER_UNDERFLOW 22401
338/** Uneven input. */
339#define VERR_UNEVEN_INPUT (-22402)
340/** Something is not available or not working properly. */
341#define VERR_NOT_AVAILABLE (-22403)
342/** The RTPROC_FLAGS_DETACHED flag isn't supported. */
343#define VERR_PROC_DETACH_NOT_SUPPORTED (-22404)
344/** An account is restricted in a certain way. */
345#define VERR_ACCOUNT_RESTRICTED (-22405)
346/** An account is restricted in a certain way. */
347#define VINF_ACCOUNT_RESTRICTED 22405
348/** Not able satisfy all the requirements of the request. */
349#define VERR_UNABLE_TO_SATISFY_REQUIREMENTS (-22406)
350/** Not able satisfy all the requirements of the request. */
351#define VWRN_UNABLE_TO_SATISFY_REQUIREMENTS 22406
352/** The requested allocation is too big. */
353#define VERR_ALLOCATION_TOO_BIG (-22407)
354/** Mismatch. */
355#define VERR_MISMATCH (-22408)
356/** Wrong type. */
357#define VERR_WRONG_TYPE (-22409)
358/** Wrong type. */
359#define VWRN_WRONG_TYPE (22409)
360/** This indicates that the process does not have sufficient privileges to
361 * perform the operation. */
362#define VERR_PRIVILEGE_NOT_HELD (-22410)
363/** Process does not have the trusted code base (TCB) privilege needed for user
364 * authentication or/and process creation as a given user. TCB is also called
365 * 'Act as part of the operating system'. */
366#define VERR_PROC_TCB_PRIV_NOT_HELD (-22411)
367/** Process does not have the assign primary token (APT) privilege needed
368 * for creating process as a given user. APT is also called 'Replace a process
369 * level token'. */
370#define VERR_PROC_APT_PRIV_NOT_HELD (-22412)
371/** Process does not have the increase quota (IQ) privilege needed for
372 * creating a process as a given user. IQ is also called 'Increase quotas'. */
373#define VERR_PROC_IQ_PRIV_NOT_HELD (-22413)
374/** The system has too many CPUs. */
375#define VERR_MP_TOO_MANY_CPUS (-22414)
376/** Wrong parameter count. */
377#define VERR_WRONG_PARAMETER_COUNT (-22415)
378/** Wrong parameter type. */
379#define VERR_WRONG_PARAMETER_TYPE (-22416)
380/** Invalid client ID. */
381#define VERR_INVALID_CLIENT_ID (-22417)
382/** Invalid session ID. */
383#define VERR_INVALID_SESSION_ID (-22418)
384/** Requires process elevation (UAC). */
385#define VERR_PROC_ELEVATION_REQUIRED (-22419)
386/** Incompatible configuration requested. */
387#define VERR_INCOMPATIBLE_CONFIG (-22420)
388/** String is not terminated within the buffer bounds. */
389#define VERR_NO_STRING_TERMINATOR (-22421)
390/** Empty string. */
391#define VERR_EMPTY_STRING (-22422)
392/** Too many references to an object. */
393#define VERR_TOO_MANY_REFERENCES (-22423)
394/** Returned by RTThreadQueryTerminationStatus to indicate that the thread is
395 * (or should be) terminating. */
396#define VINF_THREAD_IS_TERMINATING (22424)
397/** The thread is terminating. */
398#define VERR_THREAD_IS_TERMINATING (-22424)
399/** Unable to translate one or more of the arguments to the codeset the child
400 * process is expected to use. */
401#define VERR_PROC_NO_ARG_TRANSLATION (-22425)
402/** Floating pointer underflow. */
403#define VERR_FLOAT_UNDERFLOW (-22426)
404/** Floating pointer underflow. */
405#define VWRN_FLOAT_UNDERFLOW (22426)
406/** Floating pointer overflow. */
407#define VERR_FLOAT_OVERFLOW (-22427)
408/** Floating pointer overflow. */
409#define VWRN_FLOAT_OVERFLOW (22427)
410/** A reboot is needed. */
411#define VERR_REBOOT_NEEDED (-22428)
412/** A reboot is needed. */
413#define VINF_REBOOT_NEEDED (22428)
414/** Installation has failed. */
415#define VERR_INSTALLATION_FAILED (-22429)
416/** @} */
417
418
419/** @name Common File/Disk/Pipe/etc Status Codes
420 * @{
421 */
422/** Unresolved (unknown) file i/o error. */
423#define VERR_FILE_IO_ERROR (-100)
424/** File/Device open failed. */
425#define VERR_OPEN_FAILED (-101)
426/** File not found. */
427#define VERR_FILE_NOT_FOUND (-102)
428/** Path not found. */
429#define VERR_PATH_NOT_FOUND (-103)
430/** Invalid (malformed) file/path name. */
431#define VERR_INVALID_NAME (-104)
432/** The object in question already exists. */
433#define VERR_ALREADY_EXISTS (-105)
434/** The object in question already exists. */
435#define VWRN_ALREADY_EXISTS 105
436/** Too many open files. */
437#define VERR_TOO_MANY_OPEN_FILES (-106)
438/** Seek error. */
439#define VERR_SEEK (-107)
440/** Seek below file start. */
441#define VERR_NEGATIVE_SEEK (-108)
442/** Trying to seek on device. */
443#define VERR_SEEK_ON_DEVICE (-109)
444/** Reached the end of the file. */
445#define VERR_EOF (-110)
446/** Reached the end of the file. */
447#define VINF_EOF 110
448/** Generic file read error. */
449#define VERR_READ_ERROR (-111)
450/** Generic file write error. */
451#define VERR_WRITE_ERROR (-112)
452/** Write protect error. */
453#define VERR_WRITE_PROTECT (-113)
454/** Sharing violation, file is being used by another process. */
455#define VERR_SHARING_VIOLATION (-114)
456/** Unable to lock a region of a file. */
457#define VERR_FILE_LOCK_FAILED (-115)
458/** File access error, another process has locked a portion of the file. */
459#define VERR_FILE_LOCK_VIOLATION (-116)
460/** File or directory can't be created. */
461#define VERR_CANT_CREATE (-117)
462/** Directory can't be deleted. */
463#define VERR_CANT_DELETE_DIRECTORY (-118)
464/** Can't move file to another disk. */
465#define VERR_NOT_SAME_DEVICE (-119)
466/** The filename or extension is too long. */
467#define VERR_FILENAME_TOO_LONG (-120)
468/** Media not present in drive. */
469#define VERR_MEDIA_NOT_PRESENT (-121)
470/** The type of media was not recognized. Not formatted? */
471#define VERR_MEDIA_NOT_RECOGNIZED (-122)
472/** Can't unlock - region was not locked. */
473#define VERR_FILE_NOT_LOCKED (-123)
474/** Unrecoverable error: lock was lost. */
475#define VERR_FILE_LOCK_LOST (-124)
476/** Can't delete directory with files. */
477#define VERR_DIR_NOT_EMPTY (-125)
478/** A directory operation was attempted on a non-directory object. */
479#define VERR_NOT_A_DIRECTORY (-126)
480/** A non-directory operation was attempted on a directory object. */
481#define VERR_IS_A_DIRECTORY (-127)
482/** Tried to grow a file beyond the limit imposed by the process or the filesystem. */
483#define VERR_FILE_TOO_BIG (-128)
484/** No pending request the aio context has to wait for completion. */
485#define VERR_FILE_AIO_NO_REQUEST (-129)
486/** The request could not be canceled or prepared for another transfer
487 * because it is still in progress. */
488#define VERR_FILE_AIO_IN_PROGRESS (-130)
489/** The request could not be canceled because it already completed. */
490#define VERR_FILE_AIO_COMPLETED (-131)
491/** The I/O context couldn't be destroyed because there are still pending requests. */
492#define VERR_FILE_AIO_BUSY (-132)
493/** The requests couldn't be submitted because that would exceed the capacity of the context. */
494#define VERR_FILE_AIO_LIMIT_EXCEEDED (-133)
495/** The request was canceled. */
496#define VERR_FILE_AIO_CANCELED (-134)
497/** The request wasn't submitted so it can't be canceled. */
498#define VERR_FILE_AIO_NOT_SUBMITTED (-135)
499/** A request was not prepared and thus could not be submitted. */
500#define VERR_FILE_AIO_NOT_PREPARED (-136)
501/** Not all requests could be submitted due to resource shortage. */
502#define VERR_FILE_AIO_INSUFFICIENT_RESSOURCES (-137)
503/** Device or resource is busy. */
504#define VERR_RESOURCE_BUSY (-138)
505/** A file operation was attempted on a non-file object. */
506#define VERR_NOT_A_FILE (-139)
507/** A non-file operation was attempted on a file object. */
508#define VERR_IS_A_FILE (-140)
509/** Unexpected filesystem object type. */
510#define VERR_UNEXPECTED_FS_OBJ_TYPE (-141)
511/** A path does not start with a root specification. */
512#define VERR_PATH_DOES_NOT_START_WITH_ROOT (-142)
513/** A path is relative, expected an absolute path. */
514#define VERR_PATH_IS_RELATIVE (-143)
515/** A path is not relative (start with root), expected an relative path. */
516#define VERR_PATH_IS_NOT_RELATIVE (-144)
517/** Zero length path. */
518#define VERR_PATH_ZERO_LENGTH (-145)
519/** There are not enough events available on the host to create the I/O context.
520 * This exact meaning is host platform dependent. */
521#define VERR_FILE_AIO_INSUFFICIENT_EVENTS (-146)
522/** The native file handle got stale while it was open. Can occur with
523 * files on network shares when the server is unresponsive. */
524#define VERR_STALE_FILE_HANDLE (-147)
525/** @} */
526
527
528/** @name Generic Filesystem I/O Status Codes
529 * @{
530 */
531/** Unresolved (unknown) disk i/o error. */
532#define VERR_DISK_IO_ERROR (-150)
533/** Invalid drive number. */
534#define VERR_INVALID_DRIVE (-151)
535/** Disk is full. */
536#define VERR_DISK_FULL (-152)
537/** Disk was changed. */
538#define VERR_DISK_CHANGE (-153)
539/** Drive is locked. */
540#define VERR_DRIVE_LOCKED (-154)
541/** The specified disk or diskette cannot be accessed. */
542#define VERR_DISK_INVALID_FORMAT (-155)
543/** Too many symbolic links. */
544#define VERR_TOO_MANY_SYMLINKS (-156)
545/** The OS does not support setting the time stamps on a symbolic link. */
546#define VERR_NS_SYMLINK_SET_TIME (-157)
547/** The OS does not support changing the owner of a symbolic link. */
548#define VERR_NS_SYMLINK_CHANGE_OWNER (-158)
549/** Symbolic link not allowed. */
550#define VERR_SYMLINK_NOT_ALLOWED (-159)
551/** Is a symbolic link. */
552#define VERR_IS_A_SYMLINK (-160)
553/** Is a FIFO. */
554#define VERR_IS_A_FIFO (-161)
555/** Is a socket. */
556#define VERR_IS_A_SOCKET (-162)
557/** Is a block device. */
558#define VERR_IS_A_BLOCK_DEVICE (-163)
559/** Is a character device. */
560#define VERR_IS_A_CHAR_DEVICE (-164)
561/** No media in drive. */
562#define VERR_DRIVE_IS_EMPTY (-165)
563/** @} */
564
565
566/** @name Generic Directory Enumeration Status Codes
567 * @{
568 */
569/** Unresolved (unknown) search error. */
570#define VERR_SEARCH_ERROR (-200)
571/** No more files found. */
572#define VERR_NO_MORE_FILES (-201)
573/** No more search handles available. */
574#define VERR_NO_MORE_SEARCH_HANDLES (-202)
575/** RTDirReadEx() failed to retrieve the extra data which was requested. */
576#define VWRN_NO_DIRENT_INFO 203
577/** @} */
578
579
580/** @name Internal Processing Errors
581 * @{
582 */
583/** Internal error - this should never happen. */
584#define VERR_INTERNAL_ERROR (-225)
585/** Internal error no. 2. */
586#define VERR_INTERNAL_ERROR_2 (-226)
587/** Internal error no. 3. */
588#define VERR_INTERNAL_ERROR_3 (-227)
589/** Internal error no. 4. */
590#define VERR_INTERNAL_ERROR_4 (-228)
591/** Internal error no. 5. */
592#define VERR_INTERNAL_ERROR_5 (-229)
593/** Internal error: Unexpected status code. */
594#define VERR_IPE_UNEXPECTED_STATUS (-230)
595/** Internal error: Unexpected status code. */
596#define VERR_IPE_UNEXPECTED_INFO_STATUS (-231)
597/** Internal error: Unexpected status code. */
598#define VERR_IPE_UNEXPECTED_ERROR_STATUS (-232)
599/** Internal error: Uninitialized status code.
600 * @remarks This is used by value elsewhere. */
601#define VERR_IPE_UNINITIALIZED_STATUS (-233)
602/** Internal error: Supposedly unreachable default case in a switch. */
603#define VERR_IPE_NOT_REACHED_DEFAULT_CASE (-234)
604/** @} */
605
606
607/** @name Generic Device I/O Status Codes
608 * @{
609 */
610/** Unresolved (unknown) device i/o error. */
611#define VERR_DEV_IO_ERROR (-250)
612/** Device i/o: Bad unit. */
613#define VERR_IO_BAD_UNIT (-251)
614/** Device i/o: Not ready. */
615#define VERR_IO_NOT_READY (-252)
616/** Device i/o: Bad command. */
617#define VERR_IO_BAD_COMMAND (-253)
618/** Device i/o: CRC error. */
619#define VERR_IO_CRC (-254)
620/** Device i/o: Bad length. */
621#define VERR_IO_BAD_LENGTH (-255)
622/** Device i/o: Sector not found. */
623#define VERR_IO_SECTOR_NOT_FOUND (-256)
624/** Device i/o: General failure. */
625#define VERR_IO_GEN_FAILURE (-257)
626/** @} */
627
628
629/** @name Generic Pipe I/O Status Codes
630 * @{
631 */
632/** Unresolved (unknown) pipe i/o error. */
633#define VERR_PIPE_IO_ERROR (-300)
634/** Broken pipe. */
635#define VERR_BROKEN_PIPE (-301)
636/** Bad pipe. */
637#define VERR_BAD_PIPE (-302)
638/** Pipe is busy. */
639#define VERR_PIPE_BUSY (-303)
640/** No data in pipe. */
641#define VERR_NO_DATA (-304)
642/** Pipe is not connected. */
643#define VERR_PIPE_NOT_CONNECTED (-305)
644/** More data available in pipe. */
645#define VERR_MORE_DATA (-306)
646/** Expected read pipe, got a write pipe instead. */
647#define VERR_PIPE_NOT_READ (-307)
648/** Expected write pipe, got a read pipe instead. */
649#define VERR_PIPE_NOT_WRITE (-308)
650/** @} */
651
652
653/** @name Generic Semaphores Status Codes
654 * @{
655 */
656/** Unresolved (unknown) semaphore error. */
657#define VERR_SEM_ERROR (-350)
658/** Too many semaphores. */
659#define VERR_TOO_MANY_SEMAPHORES (-351)
660/** Exclusive semaphore is owned by another process. */
661#define VERR_EXCL_SEM_ALREADY_OWNED (-352)
662/** The semaphore is set and cannot be closed. */
663#define VERR_SEM_IS_SET (-353)
664/** The semaphore cannot be set again. */
665#define VERR_TOO_MANY_SEM_REQUESTS (-354)
666/** Attempt to release mutex not owned by caller. */
667#define VERR_NOT_OWNER (-355)
668/** The semaphore has been opened too many times. */
669#define VERR_TOO_MANY_OPENS (-356)
670/** The maximum posts for the event semaphore has been reached. */
671#define VERR_TOO_MANY_POSTS (-357)
672/** The event semaphore has already been posted. */
673#define VERR_ALREADY_POSTED (-358)
674/** The event semaphore has already been posted. */
675#define VINF_ALREADY_POSTED (358)
676/** The event semaphore has already been reset. */
677#define VERR_ALREADY_RESET (-359)
678/** The semaphore is in use. */
679#define VERR_SEM_BUSY (-360)
680/** The previous ownership of this semaphore has ended. */
681#define VERR_SEM_OWNER_DIED (-361)
682/** Failed to open semaphore by name - not found. */
683#define VERR_SEM_NOT_FOUND (-362)
684/** Semaphore destroyed while waiting. */
685#define VERR_SEM_DESTROYED (-363)
686/** Nested ownership requests are not permitted for this semaphore type. */
687#define VERR_SEM_NESTED (-364)
688/** The release call only release a semaphore nesting, i.e. the caller is still
689 * holding the semaphore. */
690#define VINF_SEM_NESTED (364)
691/** Deadlock detected. */
692#define VERR_DEADLOCK (-365)
693/** Ping-Pong listen or speak out of turn error. */
694#define VERR_SEM_OUT_OF_TURN (-366)
695/** Tried to take a semaphore in a bad context. */
696#define VERR_SEM_BAD_CONTEXT (-367)
697/** Don't spin for the semaphore, but it is safe to try grab it. */
698#define VINF_SEM_BAD_CONTEXT (367)
699/** Wrong locking order detected. */
700#define VERR_SEM_LV_WRONG_ORDER (-368)
701/** Wrong release order detected. */
702#define VERR_SEM_LV_WRONG_RELEASE_ORDER (-369)
703/** Attempt to recursively enter a non-recursive lock. */
704#define VERR_SEM_LV_NESTED (-370)
705/** Invalid parameters passed to the lock validator. */
706#define VERR_SEM_LV_INVALID_PARAMETER (-371)
707/** The lock validator detected a deadlock. */
708#define VERR_SEM_LV_DEADLOCK (-372)
709/** The lock validator detected an existing deadlock.
710 * The deadlock was not caused by the current operation, but existed already. */
711#define VERR_SEM_LV_EXISTING_DEADLOCK (-373)
712/** Not the lock owner according our records. */
713#define VERR_SEM_LV_NOT_OWNER (-374)
714/** An illegal lock upgrade was attempted. */
715#define VERR_SEM_LV_ILLEGAL_UPGRADE (-375)
716/** The thread is not a valid signaller of the event. */
717#define VERR_SEM_LV_NOT_SIGNALLER (-376)
718/** Internal error in the lock validator or related components. */
719#define VERR_SEM_LV_INTERNAL_ERROR (-377)
720/** @} */
721
722
723/** @name Generic Network I/O Status Codes
724 * @{
725 */
726/** Unresolved (unknown) network error. */
727#define VERR_NET_IO_ERROR (-400)
728/** The network is busy or is out of resources. */
729#define VERR_NET_OUT_OF_RESOURCES (-401)
730/** Net host name not found. */
731#define VERR_NET_HOST_NOT_FOUND (-402)
732/** Network path not found. */
733#define VERR_NET_PATH_NOT_FOUND (-403)
734/** General network printing error. */
735#define VERR_NET_PRINT_ERROR (-404)
736/** The machine is not on the network. */
737#define VERR_NET_NO_NETWORK (-405)
738/** Name is not unique on the network. */
739#define VERR_NET_NOT_UNIQUE_NAME (-406)
740
741/* These are BSD networking error codes - numbers correspond, don't mess! */
742/** Operation in progress. */
743#define VERR_NET_IN_PROGRESS (-436)
744/** Operation already in progress. */
745#define VERR_NET_ALREADY_IN_PROGRESS (-437)
746/** Attempted socket operation with a non-socket handle.
747 * (This includes closed handles.) */
748#define VERR_NET_NOT_SOCKET (-438)
749/** Destination address required. */
750#define VERR_NET_DEST_ADDRESS_REQUIRED (-439)
751/** Message too long. */
752#define VERR_NET_MSG_SIZE (-440)
753/** Protocol wrong type for socket. */
754#define VERR_NET_PROTOCOL_TYPE (-441)
755/** Protocol not available. */
756#define VERR_NET_PROTOCOL_NOT_AVAILABLE (-442)
757/** Protocol not supported. */
758#define VERR_NET_PROTOCOL_NOT_SUPPORTED (-443)
759/** Socket type not supported. */
760#define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED (-444)
761/** Operation not supported. */
762#define VERR_NET_OPERATION_NOT_SUPPORTED (-445)
763/** Protocol family not supported. */
764#define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED (-446)
765/** Address family not supported by protocol family. */
766#define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED (-447)
767/** Address already in use. */
768#define VERR_NET_ADDRESS_IN_USE (-448)
769/** Can't assign requested address. */
770#define VERR_NET_ADDRESS_NOT_AVAILABLE (-449)
771/** Network is down. */
772#define VERR_NET_DOWN (-450)
773/** Network is unreachable. */
774#define VERR_NET_UNREACHABLE (-451)
775/** Network dropped connection on reset. */
776#define VERR_NET_CONNECTION_RESET (-452)
777/** Software caused connection abort. */
778#define VERR_NET_CONNECTION_ABORTED (-453)
779/** Connection reset by peer. */
780#define VERR_NET_CONNECTION_RESET_BY_PEER (-454)
781/** No buffer space available. */
782#define VERR_NET_NO_BUFFER_SPACE (-455)
783/** Socket is already connected. */
784#define VERR_NET_ALREADY_CONNECTED (-456)
785/** Socket is not connected. */
786#define VERR_NET_NOT_CONNECTED (-457)
787/** Can't send after socket shutdown. */
788#define VERR_NET_SHUTDOWN (-458)
789/** Too many references: can't splice. */
790#define VERR_NET_TOO_MANY_REFERENCES (-459)
791/** Too many references: can't splice. */
792#define VERR_NET_CONNECTION_TIMED_OUT (-460)
793/** Connection refused. */
794#define VERR_NET_CONNECTION_REFUSED (-461)
795/* ELOOP is not net. */
796/* ENAMETOOLONG is not net. */
797/** Host is down. */
798#define VERR_NET_HOST_DOWN (-464)
799/** No route to host. */
800#define VERR_NET_HOST_UNREACHABLE (-465)
801/** Protocol error. */
802#define VERR_NET_PROTOCOL_ERROR (-466)
803/** Incomplete packet was submitted by guest. */
804#define VERR_NET_INCOMPLETE_TX_PACKET (-467)
805/** Winsock init error. */
806#define VERR_NET_INIT_FAILED (-468)
807/** Trying to use too new winsock API. */
808#define VERR_NET_NOT_UNSUPPORTED (-469)
809/** @} */
810
811
812/** @name TCP Status Codes
813 * @{
814 */
815/** Stop the TCP server. */
816#define VERR_TCP_SERVER_STOP (-500)
817/** The server was stopped. */
818#define VINF_TCP_SERVER_STOP 500
819/** The TCP server was shut down using RTTcpServerShutdown. */
820#define VERR_TCP_SERVER_SHUTDOWN (-501)
821/** The TCP server was destroyed. */
822#define VERR_TCP_SERVER_DESTROYED (-502)
823/** The TCP server has no client associated with it. */
824#define VINF_TCP_SERVER_NO_CLIENT 503
825/** @} */
826
827
828/** @name UDP Status Codes
829 * @{
830 */
831/** Stop the UDP server. */
832#define VERR_UDP_SERVER_STOP (-520)
833/** The server was stopped. */
834#define VINF_UDP_SERVER_STOP 520
835/** The UDP server was shut down using RTUdpServerShutdown. */
836#define VERR_UDP_SERVER_SHUTDOWN (-521)
837/** The UDP server was destroyed. */
838#define VERR_UDP_SERVER_DESTROYED (-522)
839/** The UDP server has no client associated with it. */
840#define VINF_UDP_SERVER_NO_CLIENT 523
841/** @} */
842
843
844/** @name L4 Specific Status Codes
845 * @{
846 */
847/** Invalid offset in an L4 dataspace */
848#define VERR_L4_INVALID_DS_OFFSET (-550)
849/** IPC error */
850#define VERR_IPC (-551)
851/** Item already used */
852#define VERR_RESOURCE_IN_USE (-552)
853/** Source/destination not found */
854#define VERR_IPC_PROCESS_NOT_FOUND (-553)
855/** Receive timeout */
856#define VERR_IPC_RECEIVE_TIMEOUT (-554)
857/** Send timeout */
858#define VERR_IPC_SEND_TIMEOUT (-555)
859/** Receive cancelled */
860#define VERR_IPC_RECEIVE_CANCELLED (-556)
861/** Send cancelled */
862#define VERR_IPC_SEND_CANCELLED (-557)
863/** Receive aborted */
864#define VERR_IPC_RECEIVE_ABORTED (-558)
865/** Send aborted */
866#define VERR_IPC_SEND_ABORTED (-559)
867/** Couldn't map pages during receive */
868#define VERR_IPC_RECEIVE_MAP_FAILED (-560)
869/** Couldn't map pages during send */
870#define VERR_IPC_SEND_MAP_FAILED (-561)
871/** Send pagefault timeout in receive */
872#define VERR_IPC_RECEIVE_SEND_PF_TIMEOUT (-562)
873/** Send pagefault timeout in send */
874#define VERR_IPC_SEND_SEND_PF_TIMEOUT (-563)
875/** (One) receive buffer was too small, or too few buffers */
876#define VINF_IPC_RECEIVE_MSG_CUT 564
877/** (One) send buffer was too small, or too few buffers */
878#define VINF_IPC_SEND_MSG_CUT 565
879/** Dataspace manager server not found */
880#define VERR_L4_DS_MANAGER_NOT_FOUND (-566)
881/** @} */
882
883
884/** @name Loader Status Codes.
885 * @{
886 */
887/** Invalid executable signature. */
888#define VERR_INVALID_EXE_SIGNATURE (-600)
889/** The iprt loader recognized a ELF image, but doesn't support loading it. */
890#define VERR_ELF_EXE_NOT_SUPPORTED (-601)
891/** The iprt loader recognized a PE image, but doesn't support loading it. */
892#define VERR_PE_EXE_NOT_SUPPORTED (-602)
893/** The iprt loader recognized a LX image, but doesn't support loading it. */
894#define VERR_LX_EXE_NOT_SUPPORTED (-603)
895/** The iprt loader recognized a LE image, but doesn't support loading it. */
896#define VERR_LE_EXE_NOT_SUPPORTED (-604)
897/** The iprt loader recognized a NE image, but doesn't support loading it. */
898#define VERR_NE_EXE_NOT_SUPPORTED (-605)
899/** The iprt loader recognized a MZ image, but doesn't support loading it. */
900#define VERR_MZ_EXE_NOT_SUPPORTED (-606)
901/** The iprt loader recognized an a.out image, but doesn't support loading it. */
902#define VERR_AOUT_EXE_NOT_SUPPORTED (-607)
903/** Bad executable. */
904#define VERR_BAD_EXE_FORMAT (-608)
905/** Symbol (export) not found. */
906#define VERR_SYMBOL_NOT_FOUND (-609)
907/** Module not found. */
908#define VERR_MODULE_NOT_FOUND (-610)
909/** The loader resolved an external symbol to an address to big for the image format. */
910#define VERR_SYMBOL_VALUE_TOO_BIG (-611)
911/** The image is too big. */
912#define VERR_IMAGE_TOO_BIG (-612)
913/** The image base address is to high for this image type. */
914#define VERR_IMAGE_BASE_TOO_HIGH (-614)
915/** Mismatching architecture. */
916#define VERR_LDR_ARCH_MISMATCH (-615)
917/** Mismatch between IPRT and native loader. */
918#define VERR_LDR_MISMATCH_NATIVE (-616)
919/** Failed to resolve an imported (external) symbol. */
920#define VERR_LDR_IMPORTED_SYMBOL_NOT_FOUND (-617)
921/** Generic loader failure. */
922#define VERR_LDR_GENERAL_FAILURE (-618)
923/** Code signing error. */
924#define VERR_LDR_IMAGE_HASH (-619)
925/** The PE loader encountered delayed imports, a feature which hasn't been implemented yet. */
926#define VERR_LDRPE_DELAY_IMPORT (-620)
927/** The PE loader encountered a malformed certificate. */
928#define VERR_LDRPE_CERT_MALFORMED (-621)
929/** The PE loader encountered a certificate with an unsupported type or structure revision. */
930#define VERR_LDRPE_CERT_UNSUPPORTED (-622)
931/** The PE loader doesn't know how to deal with the global pointer data directory entry yet. */
932#define VERR_LDRPE_GLOBALPTR (-623)
933/** The PE loader doesn't support the TLS data directory yet. */
934#define VERR_LDRPE_TLS (-624)
935/** The PE loader doesn't grok the COM descriptor data directory entry. */
936#define VERR_LDRPE_COM_DESCRIPTOR (-625)
937/** The PE loader encountered an unknown load config directory/header size. */
938#define VERR_LDRPE_LOAD_CONFIG_SIZE (-626)
939/** The PE loader encountered a lock prefix table, a feature which hasn't been implemented yet. */
940#define VERR_LDRPE_LOCK_PREFIX_TABLE (-627)
941/** The PE loader encountered some Guard CF stuff in the load config. */
942#define VERR_LDRPE_GUARD_CF_STUFF (-628)
943/** The ELF loader doesn't handle foreign endianness. */
944#define VERR_LDRELF_ODD_ENDIAN (-630)
945/** The ELF image is 'dynamic', the ELF loader can only deal with 'relocatable' images at present. */
946#define VERR_LDRELF_DYN (-631)
947/** The ELF image is 'executable', the ELF loader can only deal with 'relocatable' images at present. */
948#define VERR_LDRELF_EXEC (-632)
949/** The ELF image was created for an unsupported target machine type. */
950#define VERR_LDRELF_MACHINE (-633)
951/** The ELF version is not supported. */
952#define VERR_LDRELF_VERSION (-634)
953/** The ELF loader cannot handle multiple SYMTAB sections. */
954#define VERR_LDRELF_MULTIPLE_SYMTABS (-635)
955/** The ELF loader encountered a relocation type which is not implemented. */
956#define VERR_LDRELF_RELOCATION_NOT_SUPPORTED (-636)
957/** The ELF loader encountered a bad symbol index. */
958#define VERR_LDRELF_INVALID_SYMBOL_INDEX (-637)
959/** The ELF loader encountered an invalid symbol name offset. */
960#define VERR_LDRELF_INVALID_SYMBOL_NAME_OFFSET (-638)
961/** The ELF loader encountered an invalid relocation offset. */
962#define VERR_LDRELF_INVALID_RELOCATION_OFFSET (-639)
963/** The ELF loader didn't find the symbol/string table for the image. */
964#define VERR_LDRELF_NO_SYMBOL_OR_NO_STRING_TABS (-640)
965/** The ELF loader encountered an unterminated string table. */
966#define VERR_LDRELF_UNTERMINATED_STRING_TAB (-641)
967/** Invalid link address. */
968#define VERR_LDR_INVALID_LINK_ADDRESS (-647)
969/** Invalid image relative virtual address. */
970#define VERR_LDR_INVALID_RVA (-648)
971/** Invalid segment:offset address. */
972#define VERR_LDR_INVALID_SEG_OFFSET (-649)
973/** @}*/
974
975/** @name Debug Info Reader Status Codes.
976 * @{
977 */
978/** The module contains no line number information. */
979#define VERR_DBG_NO_LINE_NUMBERS (-650)
980/** The module contains no symbol information. */
981#define VERR_DBG_NO_SYMBOLS (-651)
982/** The specified segment:offset address was invalid. Typically an attempt at
983 * addressing outside the segment boundary. */
984#define VERR_DBG_INVALID_ADDRESS (-652)
985/** Invalid segment index. */
986#define VERR_DBG_INVALID_SEGMENT_INDEX (-653)
987/** Invalid segment offset. */
988#define VERR_DBG_INVALID_SEGMENT_OFFSET (-654)
989/** Invalid image relative virtual address. */
990#define VERR_DBG_INVALID_RVA (-655)
991/** Invalid image relative virtual address. */
992#define VERR_DBG_SPECIAL_SEGMENT (-656)
993/** Address conflict within a module/segment.
994 * Attempted to add a segment, symbol or line number that fully or partially
995 * overlaps with an existing one. */
996#define VERR_DBG_ADDRESS_CONFLICT (-657)
997/** Duplicate symbol within the module.
998 * Attempted to add a symbol which name already exists within the module. */
999#define VERR_DBG_DUPLICATE_SYMBOL (-658)
1000/** The segment index specified when adding a new segment is already in use. */
1001#define VERR_DBG_SEGMENT_INDEX_CONFLICT (-659)
1002/** No line number was found for the specified address/ordinal/whatever. */
1003#define VERR_DBG_LINE_NOT_FOUND (-660)
1004/** The length of the symbol name is out of range.
1005 * This means it is an empty string or that it's greater or equal to
1006 * RTDBG_SYMBOL_NAME_LENGTH. */
1007#define VERR_DBG_SYMBOL_NAME_OUT_OF_RANGE (-661)
1008/** The length of the file name is out of range.
1009 * This means it is an empty string or that it's greater or equal to
1010 * RTDBG_FILE_NAME_LENGTH. */
1011#define VERR_DBG_FILE_NAME_OUT_OF_RANGE (-662)
1012/** The length of the segment name is out of range.
1013 * This means it is an empty string or that it is greater or equal to
1014 * RTDBG_SEGMENT_NAME_LENGTH. */
1015#define VERR_DBG_SEGMENT_NAME_OUT_OF_RANGE (-663)
1016/** The specified address range wraps around. */
1017#define VERR_DBG_ADDRESS_WRAP (-664)
1018/** The file is not a valid NM map file. */
1019#define VERR_DBG_NOT_NM_MAP_FILE (-665)
1020/** The file is not a valid /proc/kallsyms file. */
1021#define VERR_DBG_NOT_LINUX_KALLSYMS (-666)
1022/** No debug module interpreter matching the debug info. */
1023#define VERR_DBG_NO_MATCHING_INTERPRETER (-667)
1024/** Bad DWARF line number header. */
1025#define VERR_DWARF_BAD_LINE_NUMBER_HEADER (-668)
1026/** Unexpected end of DWARF unit. */
1027#define VERR_DWARF_UNEXPECTED_END (-669)
1028/** DWARF LEB value overflows the decoder type. */
1029#define VERR_DWARF_LEB_OVERFLOW (-670)
1030/** Bad DWARF extended line number opcode. */
1031#define VERR_DWARF_BAD_LNE (-671)
1032/** Bad DWARF string. */
1033#define VERR_DWARF_BAD_STRING (-672)
1034/** Bad DWARF position. */
1035#define VERR_DWARF_BAD_POS (-673)
1036/** Bad DWARF info. */
1037#define VERR_DWARF_BAD_INFO (-674)
1038/** Bad DWARF abbreviation data. */
1039#define VERR_DWARF_BAD_ABBREV (-675)
1040/** A DWARF abbreviation was not found. */
1041#define VERR_DWARF_ABBREV_NOT_FOUND (-676)
1042/** Encountered an unknown attribute form. */
1043#define VERR_DWARF_UNKNOWN_FORM (-677)
1044/** Encountered an unexpected attribute form. */
1045#define VERR_DWARF_UNEXPECTED_FORM (-678)
1046/** Unfinished code. */
1047#define VERR_DWARF_TODO (-679)
1048/** Unknown location opcode. */
1049#define VERR_DWARF_UNKNOWN_LOC_OPCODE (-680)
1050/** Expression stack overflow. */
1051#define VERR_DWARF_STACK_OVERFLOW (-681)
1052/** Expression stack underflow. */
1053#define VERR_DWARF_STACK_UNDERFLOW (-682)
1054/** Internal processing error in the DWARF code. */
1055#define VERR_DWARF_IPE (-683)
1056/** Invalid configuration property value. */
1057#define VERR_DBG_CFG_INVALID_VALUE (-684)
1058/** Not an integer property. */
1059#define VERR_DBG_CFG_NOT_UINT_PROP (-685)
1060/** Deferred loading of information failed. */
1061#define VERR_DBG_DEFERRED_LOAD_FAILED (-686)
1062/** Unfinished debug info reader code. */
1063#define VERR_DBG_TODO (-687)
1064/** Found file, but it didn't match the search criteria. */
1065#define VERR_DBG_FILE_MISMATCH (-688)
1066/** Internal processing error in the debug module reader code. */
1067#define VERR_DBG_MOD_IPE (-689)
1068/** The symbol size was adjusted while adding it. */
1069#define VINF_DBG_ADJUSTED_SYM_SIZE 690
1070/** Unable to parse the CodeView debug information. */
1071#define VERR_CV_BAD_FORMAT (-691)
1072/** Unfinished CodeView debug information feature. */
1073#define VERR_CV_TODO (-692)
1074/** Internal processing error the CodeView debug information reader. */
1075#define VERR_CV_IPE (-693)
1076/** No unwind information was found. */
1077#define VERR_DBG_NO_UNWIND_INFO (-694)
1078/** No unwind information for the specified location. */
1079#define VERR_DBG_UNWIND_INFO_NOT_FOUND (-695)
1080/** Malformed unwind information. */
1081#define VERR_DBG_MALFORMED_UNWIND_INFO (-696)
1082/** @} */
1083
1084/** @name Request Packet Status Codes.
1085 * @{
1086 */
1087/** Invalid RT request type.
1088 * For the RTReqAlloc() case, the caller just specified an illegal enmType. For
1089 * all the other occurrences it means indicates corruption, broken logic, or stupid
1090 * interface user. */
1091#define VERR_RT_REQUEST_INVALID_TYPE (-700)
1092/** Invalid RT request state.
1093 * The state of the request packet was not the expected and accepted one(s). Either
1094 * the interface user screwed up, or we've got corruption/broken logic. */
1095#define VERR_RT_REQUEST_STATE (-701)
1096/** Invalid RT request packet.
1097 * One or more of the RT controlled packet members didn't contain the correct
1098 * values. Some thing's broken. */
1099#define VERR_RT_REQUEST_INVALID_PACKAGE (-702)
1100/** The status field has not been updated yet as the request is still
1101 * pending completion. Someone queried the iStatus field before the request
1102 * has been fully processed. */
1103#define VERR_RT_REQUEST_STATUS_STILL_PENDING (-703)
1104/** The request has been freed, don't read the status now.
1105 * Someone is reading the iStatus field of a freed request packet. */
1106#define VERR_RT_REQUEST_STATUS_FREED (-704)
1107/** @} */
1108
1109/** @name Environment Status Code
1110 * @{
1111 */
1112/** The specified environment variable was not found. (RTEnvGetEx) */
1113#define VERR_ENV_VAR_NOT_FOUND (-750)
1114/** The specified environment variable was not found. (RTEnvUnsetEx) */
1115#define VINF_ENV_VAR_NOT_FOUND (750)
1116/** Unable to translate all the variables in the default environment due to
1117 * codeset issues (LANG / LC_ALL / LC_CTYPE). */
1118#define VWRN_ENV_NOT_FULLY_TRANSLATED (751)
1119/** Invalid environment variable name. */
1120#define VERR_ENV_INVALID_VAR_NAME (-752)
1121/** The environment variable is an unset record. */
1122#define VINF_ENV_VAR_UNSET (753)
1123/** The environment variable has been recorded as being unset. */
1124#define VERR_ENV_VAR_UNSET (-753)
1125/** @} */
1126
1127/** @name Multiprocessor Status Codes.
1128 * @{
1129 */
1130/** The specified cpu is offline. */
1131#define VERR_CPU_OFFLINE (-800)
1132/** The specified cpu was not found. */
1133#define VERR_CPU_NOT_FOUND (-801)
1134/** Not all of the requested CPUs showed up in the PFNRTMPWORKER. */
1135#define VERR_NOT_ALL_CPUS_SHOWED (-802)
1136/** Internal processing error in the RTMp code.*/
1137#define VERR_CPU_IPE_1 (-803)
1138/** @} */
1139
1140/** @name RTGetOpt status codes
1141 * @{ */
1142/** RTGetOpt: Command line option not recognized. */
1143#define VERR_GETOPT_UNKNOWN_OPTION (-825)
1144/** RTGetOpt: Command line option needs argument. */
1145#define VERR_GETOPT_REQUIRED_ARGUMENT_MISSING (-826)
1146/** RTGetOpt: Command line option has argument with bad format. */
1147#define VERR_GETOPT_INVALID_ARGUMENT_FORMAT (-827)
1148/** RTGetOpt: Not an option. */
1149#define VINF_GETOPT_NOT_OPTION 828
1150/** RTGetOpt: Command line option needs an index. */
1151#define VERR_GETOPT_INDEX_MISSING (-829)
1152/** @} */
1153
1154/** @name RTCache status codes
1155 * @{ */
1156/** RTCache: cache is full. */
1157#define VERR_CACHE_FULL (-850)
1158/** RTCache: cache is empty. */
1159#define VERR_CACHE_EMPTY (-851)
1160/** @} */
1161
1162/** @name RTMemCache status codes
1163 * @{ */
1164/** Reached the max cache size. */
1165#define VERR_MEM_CACHE_MAX_SIZE (-855)
1166/** @} */
1167
1168/** @name RTS3 status codes
1169 * @{ */
1170/** Access denied error. */
1171#define VERR_S3_ACCESS_DENIED (-875)
1172/** The bucket/key wasn't found. */
1173#define VERR_S3_NOT_FOUND (-876)
1174/** Bucket already exists. */
1175#define VERR_S3_BUCKET_ALREADY_EXISTS (-877)
1176/** Can't delete bucket with keys. */
1177#define VERR_S3_BUCKET_NOT_EMPTY (-878)
1178/** The current operation was canceled. */
1179#define VERR_S3_CANCELED (-879)
1180/** @} */
1181
1182/** @name HTTP status codes
1183 * @{ */
1184/** HTTP Internal Server Error. */
1185#define VERR_HTTP_STATUS_SERVER_ERROR (-884)
1186/** HTTP initialization failed. */
1187#define VERR_HTTP_INIT_FAILED (-885)
1188/** The server has not found anything matching the URI given. */
1189#define VERR_HTTP_NOT_FOUND (-886)
1190/** The request is for something forbidden. Authorization will not help. */
1191#define VERR_HTTP_ACCESS_DENIED (-887)
1192/** The server did not understand the request due to bad syntax. */
1193#define VERR_HTTP_BAD_REQUEST (-888)
1194/** Couldn't connect to the server (proxy?). */
1195#define VERR_HTTP_COULDNT_CONNECT (-889)
1196/** SSL connection error. */
1197#define VERR_HTTP_SSL_CONNECT_ERROR (-890)
1198/** CAcert is missing or has the wrong format. */
1199#define VERR_HTTP_CACERT_WRONG_FORMAT (-891)
1200/** Certificate cannot be authenticated with the given CA certificates. */
1201#define VERR_HTTP_CACERT_CANNOT_AUTHENTICATE (-892)
1202/** The current HTTP request was forcefully aborted */
1203#define VERR_HTTP_ABORTED (-893)
1204/** Request was redirected. */
1205#define VERR_HTTP_REDIRECTED (-894)
1206/** Proxy couldn't be resolved. */
1207#define VERR_HTTP_PROXY_NOT_FOUND (-895)
1208/** The remote host couldn't be resolved. */
1209#define VERR_HTTP_HOST_NOT_FOUND (-896)
1210/** Unexpected cURL error configure the proxy. */
1211#define VERR_HTTP_CURL_PROXY_CONFIG (-897)
1212/** The server does not support the requested function. */
1213#define VERR_HTTP_NOT_SUPPORTED (-898)
1214/** Generic CURL error. */
1215#define VERR_HTTP_CURL_ERROR (-899)
1216/** @} */
1217
1218/** @name RTManifest status codes
1219 * @{ */
1220/** A digest type used in the manifest file isn't supported. */
1221#define VERR_MANIFEST_UNSUPPORTED_DIGEST_TYPE (-900)
1222/** An entry in the manifest file couldn't be interpreted correctly. */
1223#define VERR_MANIFEST_WRONG_FILE_FORMAT (-901)
1224/** A digest doesn't match the corresponding file. */
1225#define VERR_MANIFEST_DIGEST_MISMATCH (-902)
1226/** The file list doesn't match to the content of the manifest file. */
1227#define VERR_MANIFEST_FILE_MISMATCH (-903)
1228/** The specified attribute (name) was not found in the manifest. */
1229#define VERR_MANIFEST_ATTR_NOT_FOUND (-904)
1230/** The attribute type did not match. */
1231#define VERR_MANIFEST_ATTR_TYPE_MISMATCH (-905)
1232/** No attribute of the specified types was found. */
1233#define VERR_MANIFEST_ATTR_TYPE_NOT_FOUND (-906)
1234/** @} */
1235
1236/** @name RTTar status codes
1237 * @{ */
1238/** The checksum of a tar header record doesn't match. */
1239#define VERR_TAR_CHKSUM_MISMATCH (-925)
1240/** The tar end of file record was read. */
1241#define VERR_TAR_END_OF_FILE (-926)
1242/** The tar file ended unexpectedly. */
1243#define VERR_TAR_UNEXPECTED_EOS (-927)
1244/** The tar termination records was encountered without reaching the end of
1245 * the input stream. */
1246#define VERR_TAR_EOS_MORE_INPUT (-928)
1247/** A number tar header field was malformed. */
1248#define VERR_TAR_BAD_NUM_FIELD (-929)
1249/** A numeric tar header field was not terminated correctly. */
1250#define VERR_TAR_BAD_NUM_FIELD_TERM (-930)
1251/** A number tar header field was encoded using base-256 which this
1252 * tar implementation currently does not support. */
1253#define VERR_TAR_BASE_256_NOT_SUPPORTED (-931)
1254/** A number tar header field yielded a value too large for the internal
1255 * variable of the tar interpreter. */
1256#define VERR_TAR_NUM_VALUE_TOO_LARGE (-932)
1257/** The combined minor and major device number type is too small to hold the
1258 * value stored in the tar header. */
1259#define VERR_TAR_DEV_VALUE_TOO_LARGE (-933)
1260/** The mode field in a tar header is bad. */
1261#define VERR_TAR_BAD_MODE_FIELD (-934)
1262/** The mode field should not include the type. */
1263#define VERR_TAR_MODE_WITH_TYPE (-935)
1264/** The size field should be zero for links and symlinks. */
1265#define VERR_TAR_SIZE_NOT_ZERO (-936)
1266/** Encountered an unknown type flag. */
1267#define VERR_TAR_UNKNOWN_TYPE_FLAG (-937)
1268/** The tar header is all zeros. */
1269#define VERR_TAR_ZERO_HEADER (-938)
1270/** Not a uniform standard tape v0.0 archive header. */
1271#define VERR_TAR_NOT_USTAR_V00 (-939)
1272/** The name is empty. */
1273#define VERR_TAR_EMPTY_NAME (-940)
1274/** A non-directory entry has a name ending with a slash. */
1275#define VERR_TAR_NON_DIR_ENDS_WITH_SLASH (-941)
1276/** Encountered an unsupported portable archive exchange (pax) header. */
1277#define VERR_TAR_UNSUPPORTED_PAX_TYPE (-942)
1278/** Encountered an unsupported Solaris Tar extension. */
1279#define VERR_TAR_UNSUPPORTED_SOLARIS_HDR_TYPE (-943)
1280/** Encountered an unsupported GNU Tar extension. */
1281#define VERR_TAR_UNSUPPORTED_GNU_HDR_TYPE (-944)
1282/** Malformed checksum field in the tar header. */
1283#define VERR_TAR_BAD_CHKSUM_FIELD (-945)
1284/** Malformed checksum field in the tar header. */
1285#define VERR_TAR_MALFORMED_GNU_LONGXXXX (-946)
1286/** Too long name or link string. */
1287#define VERR_TAR_NAME_TOO_LONG (-947)
1288/** A directory entry in the archive. */
1289#define VINF_TAR_DIR_PATH (948)
1290/** @} */
1291
1292/** @name RTPoll status codes
1293 * @{ */
1294/** The handle is not pollable. */
1295#define VERR_POLL_HANDLE_NOT_POLLABLE (-950)
1296/** The handle ID is already present in the poll set. */
1297#define VERR_POLL_HANDLE_ID_EXISTS (-951)
1298/** The handle ID was not found in the set. */
1299#define VERR_POLL_HANDLE_ID_NOT_FOUND (-952)
1300/** The poll set is full. */
1301#define VERR_POLL_SET_IS_FULL (-953)
1302/** @} */
1303
1304/** @name Pkzip status codes
1305 * @{ */
1306/** No end of central directory record found. */
1307#define VERR_PKZIP_NO_EOCB (-960)
1308/** Too long name string. */
1309#define VERR_PKZIP_NAME_TOO_LONG (-961)
1310/** Local file header corrupt. */
1311#define VERR_PKZIP_BAD_LF_HEADER (-962)
1312/** Central directory file header corrupt. */
1313#define VERR_PKZIP_BAD_CDF_HEADER (-963)
1314/** Encountered an unknown type flag. */
1315#define VERR_PKZIP_UNKNOWN_TYPE_FLAG (-964)
1316/** Found a ZIP64 Extra Information Field in a ZIP32 file. */
1317#define VERR_PKZIP_ZIP64EX_IN_ZIP32 (-965)
1318/** @} */
1319
1320/** @name RTZip status codes
1321 * @{ */
1322/** Generic zip error. */
1323#define VERR_ZIP_ERROR (-22000)
1324/** The compressed data was corrupted. */
1325#define VERR_ZIP_CORRUPTED (-22001)
1326/** Ran out of memory while compressing or uncompressing. */
1327#define VERR_ZIP_NO_MEMORY (-22002)
1328/** The compression format version is unsupported. */
1329#define VERR_ZIP_UNSUPPORTED_VERSION (-22003)
1330/** The compression method is unsupported. */
1331#define VERR_ZIP_UNSUPPORTED_METHOD (-22004)
1332/** The compressed data started with a bad header. */
1333#define VERR_ZIP_BAD_HEADER (-22005)
1334/** @} */
1335
1336/** @name RTVfs status codes
1337 * @{ */
1338/** The VFS chain specification does not have a valid prefix. */
1339#define VERR_VFS_CHAIN_NO_PREFIX (-22100)
1340/** The VFS chain specification is empty. */
1341#define VERR_VFS_CHAIN_EMPTY (-22101)
1342/** Expected an element. */
1343#define VERR_VFS_CHAIN_EXPECTED_ELEMENT (-22102)
1344/** The VFS object type is not known. */
1345#define VERR_VFS_CHAIN_UNKNOWN_TYPE (-22103)
1346/** Expected a left parentheses. */
1347#define VERR_VFS_CHAIN_EXPECTED_LEFT_PARENTHESES (-22104)
1348/** Expected a right parentheses. */
1349#define VERR_VFS_CHAIN_EXPECTED_RIGHT_PARENTHESES (-22105)
1350/** Expected a provider name. */
1351#define VERR_VFS_CHAIN_EXPECTED_PROVIDER_NAME (-22106)
1352/** Expected an element separator (| or :). */
1353#define VERR_VFS_CHAIN_EXPECTED_SEPARATOR (-22107)
1354/** Leading element separator not permitted. */
1355#define VERR_VFS_CHAIN_LEADING_SEPARATOR (-22108)
1356/** Trailing element separator not permitted. */
1357#define VERR_VFS_CHAIN_TRAILING_SEPARATOR (-22109)
1358/** The provider is only allowed as the first element. */
1359#define VERR_VFS_CHAIN_MUST_BE_FIRST_ELEMENT (-22110)
1360/** The provider cannot be the first element. */
1361#define VERR_VFS_CHAIN_CANNOT_BE_FIRST_ELEMENT (-22111)
1362/** VFS object cast failed. */
1363#define VERR_VFS_CHAIN_CAST_FAILED (-22112)
1364/** Internal error in the VFS chain code. */
1365#define VERR_VFS_CHAIN_IPE (-22113)
1366/** VFS chain element provider not found. */
1367#define VERR_VFS_CHAIN_PROVIDER_NOT_FOUND (-22114)
1368/** VFS chain does not terminate with the desired object type. */
1369#define VERR_VFS_CHAIN_FINAL_TYPE_MISMATCH (-22115)
1370/** VFS chain element takes no arguments. */
1371#define VERR_VFS_CHAIN_NO_ARGS (-22116)
1372/** VFS chain element takes exactly one argument. */
1373#define VERR_VFS_CHAIN_ONE_ARG (-22117)
1374/** VFS chain element expected at most one argument. */
1375#define VERR_VFS_CHAIN_AT_MOST_ONE_ARG (-22118)
1376/** VFS chain element expected at least one argument. */
1377#define VERR_VFS_CHAIN_AT_LEAST_ONE_ARG (-22119)
1378/** VFS chain element takes exactly two arguments. */
1379#define VERR_VFS_CHAIN_TWO_ARGS (-22120)
1380/** VFS chain element expected at least two arguments. */
1381#define VERR_VFS_CHAIN_AT_LEAST_TWO_ARGS (-22121)
1382/** VFS chain element expected at most two arguments. */
1383#define VERR_VFS_CHAIN_AT_MOST_TWO_ARGS (-22122)
1384/** VFS chain element takes exactly three arguments. */
1385#define VERR_VFS_CHAIN_THREE_ARGS (-22123)
1386/** VFS chain element expected at least three arguments. */
1387#define VERR_VFS_CHAIN_AT_LEAST_THREE_ARGS (-22124)
1388/** VFS chain element expected at most three arguments. */
1389#define VERR_VFS_CHAIN_AT_MOST_THREE_ARGS (-22125)
1390/** VFS chain element takes exactly four arguments. */
1391#define VERR_VFS_CHAIN_FOUR_ARGS (-22126)
1392/** VFS chain element expected at least four arguments. */
1393#define VERR_VFS_CHAIN_AT_LEAST_FOUR_ARGS (-22127)
1394/** VFS chain element expected at most four arguments. */
1395#define VERR_VFS_CHAIN_AT_MOST_FOUR_ARGS (-22128)
1396/** VFS chain element takes exactly five arguments. */
1397#define VERR_VFS_CHAIN_FIVE_ARGS (-22129)
1398/** VFS chain element expected at least five arguments. */
1399#define VERR_VFS_CHAIN_AT_LEAST_FIVE_ARGS (-22130)
1400/** VFS chain element expected at most five arguments. */
1401#define VERR_VFS_CHAIN_AT_MOST_FIVE_ARGS (-22131)
1402/** VFS chain element takes exactly six arguments. */
1403#define VERR_VFS_CHAIN_SIX_ARGS (-22132)
1404/** VFS chain element expected at least six arguments. */
1405#define VERR_VFS_CHAIN_AT_LEAST_SIX_ARGS (-22133)
1406/** VFS chain element expected at most six arguments. */
1407#define VERR_VFS_CHAIN_AT_MOST_SIX_ARGS (-22134)
1408/** VFS chain element expected at most six arguments. */
1409#define VERR_VFS_CHAIN_TOO_FEW_ARGS (-22135)
1410/** VFS chain element expected at most six arguments. */
1411#define VERR_VFS_CHAIN_TOO_MANY_ARGS (-22136)
1412/** VFS chain element expected non-empty argument. */
1413#define VERR_VFS_CHAIN_EMPTY_ARG (-22137)
1414/** Invalid argument to VFS chain element. */
1415#define VERR_VFS_CHAIN_INVALID_ARGUMENT (-22138)
1416/** VFS chain element only provides file and I/O stream (ios) objects. */
1417#define VERR_VFS_CHAIN_ONLY_FILE_OR_IOS (-22139)
1418/** VFS chain element only provides I/O stream (ios) objects. */
1419#define VERR_VFS_CHAIN_ONLY_IOS (-22140)
1420/** VFS chain element only provides directory (dir) objects. */
1421#define VERR_VFS_CHAIN_ONLY_DIR (-22141)
1422/** VFS chain element only provides file system stream (fss) objects. */
1423#define VERR_VFS_CHAIN_ONLY_FSS (-22142)
1424/** VFS chain element only provides file system (vfs) objects. */
1425#define VERR_VFS_CHAIN_ONLY_VFS (-22143)
1426/** VFS chain element only provides file, I/O stream (ios), or
1427 * directory (dir) objects. */
1428#define VERR_VFS_CHAIN_ONLY_FILE_OR_IOS_OR_DIR (-22144)
1429/** VFS chain element only provides file, I/O stream (ios), or
1430 * directory (dir) objects. */
1431#define VERR_VFS_CHAIN_ONLY_DIR_OR_VFS (-22145)
1432/** VFS chain element takes a file object as input. */
1433#define VERR_VFS_CHAIN_TAKES_FILE (-22146)
1434/** VFS chain element takes a file or I/O stream (ios) object as input. */
1435#define VERR_VFS_CHAIN_TAKES_FILE_OR_IOS (-22147)
1436/** VFS chain element takes a directory (dir) object as input. */
1437#define VERR_VFS_CHAIN_TAKES_DIR (-22148)
1438/** VFS chain element takes a file system stream (fss) object as input. */
1439#define VERR_VFS_CHAIN_TAKES_FSS (-22149)
1440/** VFS chain element takes a file system (vfs) object as input. */
1441#define VERR_VFS_CHAIN_TAKES_VFS (-22150)
1442/** VFS chain element takes a directory (dir) or file system (vfs)
1443 * object as input. */
1444#define VERR_VFS_CHAIN_TAKES_DIR_OR_VFS (-22151)
1445/** VFS chain element takes a directory (dir), file system stream (fss),
1446 * or file system (vfs) object as input. */
1447#define VERR_VFS_CHAIN_TAKES_DIR_OR_FSS_OR_VFS (-22152)
1448/** VFS chain element only provides a read-only I/O stream, while the chain
1449 * requires write access. */
1450#define VERR_VFS_CHAIN_READ_ONLY_IOS (-22153)
1451/** VFS chain element only provides a read-only I/O stream, while the chain
1452 * read access. */
1453#define VERR_VFS_CHAIN_WRITE_ONLY_IOS (-22154)
1454/** VFS chain only has a single element and it is just a path, need to be
1455 * treated as a normal file system request. */
1456#define VERR_VFS_CHAIN_PATH_ONLY (-22155)
1457/** VFS chain element preceding the final path needs to be a directory, file
1458 * system or file system stream. */
1459#define VERR_VFS_CHAIN_TYPE_MISMATCH_PATH_ONLY (-22156)
1460/** VFS chain doesn't end with a path only element. */
1461#define VERR_VFS_CHAIN_NOT_PATH_ONLY (-22157)
1462/** The path only element at the end of the VFS chain is too short to make out
1463 * the parent directory. */
1464#define VERR_VFS_CHAIN_TOO_SHORT_FOR_PARENT (-22158)
1465/** @} */
1466
1467/** @name RTDvm status codes
1468 * @{ */
1469/** The volume map doesn't contain any valid volume. */
1470#define VERR_DVM_MAP_EMPTY (-22200)
1471/** There is no volume behind the current one. */
1472#define VERR_DVM_MAP_NO_VOLUME (-22201)
1473/** @} */
1474
1475/** @name Logger status codes
1476 * @{ */
1477/** The internal logger revision did not match. */
1478#define VERR_LOG_REVISION_MISMATCH (-22300)
1479/** Logging is disabled or logger instance could not be created. */
1480#define VINF_LOG_DISABLED (22301)
1481/** No logger instance. */
1482#define VINF_LOG_NO_LOGGER (22302)
1483/** @} */
1484
1485/* see above, 22400..22499 is used for misc codes! */
1486
1487/** @name Logger status codes
1488 * @{ */
1489/** Power off is not supported by the hardware or the OS. */
1490#define VERR_SYS_CANNOT_POWER_OFF (-22500)
1491/** The halt action was requested, but the OS may actually power
1492 * off the machine. */
1493#define VINF_SYS_MAY_POWER_OFF (22501)
1494/** Shutdown failed. */
1495#define VERR_SYS_SHUTDOWN_FAILED (-22502)
1496/** Unsupported firmware property. */
1497#define VERR_SYS_UNSUPPORTED_FIRMWARE_PROPERTY (-22503)
1498/** @} */
1499
1500/** @name Filesystem status codes
1501 * @{ */
1502/** Filesystem can't be opened because it is corrupt. */
1503#define VERR_FILESYSTEM_CORRUPT (-22600)
1504/** @} */
1505
1506/** @name RTZipXar status codes.
1507 * @{ */
1508/** Wrong magic value. */
1509#define VERR_XAR_WRONG_MAGIC (-22700)
1510/** Bad header size. */
1511#define VERR_XAR_BAD_HDR_SIZE (-22701)
1512/** Unsupported version. */
1513#define VERR_XAR_UNSUPPORTED_VERSION (-22702)
1514/** Unsupported hashing function. */
1515#define VERR_XAR_UNSUPPORTED_HASH_FUNCTION (-22703)
1516/** The table of content (TOC) is too small and therefore can't be valid. */
1517#define VERR_XAR_TOC_TOO_SMALL (-22704)
1518/** The table of content (TOC) is too big. */
1519#define VERR_XAR_TOC_TOO_BIG (-22705)
1520/** The compressed table of content is too big. */
1521#define VERR_XAR_TOC_TOO_BIG_COMPRESSED (-22706)
1522/** The uncompressed table of content size in the header didn't match what
1523 * ZLib returned. */
1524#define VERR_XAR_TOC_UNCOMP_SIZE_MISMATCH (-22707)
1525/** The table of content string length didn't match the size specified in the
1526 * header. */
1527#define VERR_XAR_TOC_STRLEN_MISMATCH (-22708)
1528/** The table of content isn't valid UTF-8. */
1529#define VERR_XAR_TOC_UTF8_ENCODING (-22709)
1530/** XML error while parsing the table of content. */
1531#define VERR_XAR_TOC_XML_PARSE_ERROR (-22710)
1532/** The table of content XML document does not have a toc element. */
1533#define VERR_XML_TOC_ELEMENT_MISSING (-22711)
1534/** The table of content XML element (toc) has siblings, we expected it to be
1535 * an only child or the root element (xar). */
1536#define VERR_XML_TOC_ELEMENT_HAS_SIBLINGS (-22712)
1537/** The XAR table of content digest doesn't match. */
1538#define VERR_XAR_TOC_DIGEST_MISMATCH (-22713)
1539/** Bad or missing XAR checksum element. */
1540#define VERR_XAR_BAD_CHECKSUM_ELEMENT (-22714)
1541/** The hash function in the header doesn't match the one in the table of
1542 * content. */
1543#define VERR_XAR_HASH_FUNCTION_MISMATCH (-22715)
1544/** Bad digest length encountered in the table of content. */
1545#define VERR_XAR_BAD_DIGEST_LENGTH (-22716)
1546/** The order of elements in the XAR file does not lend it self to expansion
1547 * from via an I/O stream. */
1548#define VERR_XAR_NOT_STREAMBLE_ELEMENT_ORDER (-22717)
1549/** Missing offset element in table of content sub-element. */
1550#define VERR_XAR_MISSING_OFFSET_ELEMENT (-22718)
1551/** Bad offset element in table of content sub-element. */
1552#define VERR_XAR_BAD_OFFSET_ELEMENT (-22719)
1553/** Missing size element in table of content sub-element. */
1554#define VERR_XAR_MISSING_SIZE_ELEMENT (-22720)
1555/** Bad size element in table of content sub-element. */
1556#define VERR_XAR_BAD_SIZE_ELEMENT (-22721)
1557/** Missing length element in table of content sub-element. */
1558#define VERR_XAR_MISSING_LENGTH_ELEMENT (-22722)
1559/** Bad length element in table of content sub-element. */
1560#define VERR_XAR_BAD_LENGTH_ELEMENT (-22723)
1561/** Bad file element in XAR table of content. */
1562#define VERR_XAR_BAD_FILE_ELEMENT (-22724)
1563/** Missing data element for XAR file. */
1564#define VERR_XAR_MISSING_DATA_ELEMENT (-22725)
1565/** Unknown XAR file type value. */
1566#define VERR_XAR_UNKNOWN_FILE_TYPE (-22726)
1567/** Missing encoding element for XAR data stream. */
1568#define VERR_XAR_NO_ENCODING (-22727)
1569/** Bad timestamp for XAR file. */
1570#define VERR_XAR_BAD_FILE_TIMESTAMP (-22728)
1571/** Bad file mode for XAR file. */
1572#define VERR_XAR_BAD_FILE_MODE (-22729)
1573/** Bad file user id for XAR file. */
1574#define VERR_XAR_BAD_FILE_UID (-22730)
1575/** Bad file group id for XAR file. */
1576#define VERR_XAR_BAD_FILE_GID (-22731)
1577/** Bad file inode device number for XAR file. */
1578#define VERR_XAR_BAD_FILE_DEVICE_NO (-22732)
1579/** Bad file inode number for XAR file. */
1580#define VERR_XAR_BAD_FILE_INODE (-22733)
1581/** Invalid name for XAR file. */
1582#define VERR_XAR_INVALID_FILE_NAME (-22734)
1583/** The message digest of the extracted data does not match the one supplied. */
1584#define VERR_XAR_EXTRACTED_HASH_MISMATCH (-22735)
1585/** The extracted data has exceeded the expected size. */
1586#define VERR_XAR_EXTRACTED_SIZE_EXCEEDED (-22736)
1587/** The message digest of the archived data does not match the one supplied. */
1588#define VERR_XAR_ARCHIVED_HASH_MISMATCH (-22737)
1589/** The decompressor completed without using all the input data. */
1590#define VERR_XAR_UNUSED_ARCHIVED_DATA (-22738)
1591/** Expected the archived and extracted XAR data sizes to be the same for
1592 * uncompressed data. */
1593#define VERR_XAR_ARCHIVED_AND_EXTRACTED_SIZES_MISMATCH (-22739)
1594/** @} */
1595
1596/** @name RTX509 status codes
1597 * @{ */
1598/** Error reading a certificate in PEM format from BIO. */
1599#define VERR_X509_READING_CERT_FROM_BIO (-23100)
1600/** Error extracting a public key from the certificate. */
1601#define VERR_X509_EXTRACT_PUBKEY_FROM_CERT (-23101)
1602/** Error extracting RSA from the public key. */
1603#define VERR_X509_EXTRACT_RSA_FROM_PUBLIC_KEY (-23102)
1604/** Signature verification failed. */
1605#define VERR_X509_RSA_VERIFICATION_FUILURE (-23103)
1606/** Basic constraints were not found. */
1607#define VERR_X509_NO_BASIC_CONSTARAINTS (-23104)
1608/** Error getting extensions from the certificate. */
1609#define VERR_X509_GETTING_EXTENSION_FROM_CERT (-23105)
1610/** Error getting a data from the extension. */
1611#define VERR_X509_GETTING_DATA_FROM_EXTENSION (-23106)
1612/** Error formatting an extension. */
1613#define VERR_X509_PRINT_EXTENSION_TO_BIO (-23107)
1614/** X509 certificate verification error. */
1615#define VERR_X509_CERTIFICATE_VERIFICATION_FAILURE (-23108)
1616/** X509 certificate isn't self signed. */
1617#define VERR_X509_NOT_SELFSIGNED_CERTIFICATE (-23109)
1618/** Warning X509 certificate isn't self signed. */
1619#define VINF_X509_NOT_SELFSIGNED_CERTIFICATE 23109
1620/** @} */
1621
1622/** @name RTAsn1 status codes
1623 * @{ */
1624/** Temporary place holder. */
1625#define VERR_ASN1_ERROR (-22800)
1626/** Encountered an ASN.1 string type that is not supported. */
1627#define VERR_ASN1_STRING_TYPE_NOT_IMPLEMENTED (-22801)
1628/** Invalid ASN.1 UTF-8 STRING encoding. */
1629#define VERR_ASN1_INVALID_UTF8_STRING_ENCODING (-22802)
1630/** Invalid ASN.1 NUMERIC STRING encoding. */
1631#define VERR_ASN1_INVALID_NUMERIC_STRING_ENCODING (-22803)
1632/** Invalid ASN.1 PRINTABLE STRING encoding. */
1633#define VERR_ASN1_INVALID_PRINTABLE_STRING_ENCODING (-22804)
1634/** Invalid ASN.1 T61/TELETEX STRING encoding. */
1635#define VERR_ASN1_INVALID_T61_STRING_ENCODING (-22805)
1636/** Invalid ASN.1 VIDEOTEX STRING encoding. */
1637#define VERR_ASN1_INVALID_VIDEOTEX_STRING_ENCODING (-22806)
1638/** Invalid ASN.1 IA5 STRING encoding. */
1639#define VERR_ASN1_INVALID_IA5_STRING_ENCODING (-22807)
1640/** Invalid ASN.1 GRAPHIC STRING encoding. */
1641#define VERR_ASN1_INVALID_GRAPHIC_STRING_ENCODING (-22808)
1642/** Invalid ASN.1 ISO-646/VISIBLE STRING encoding. */
1643#define VERR_ASN1_INVALID_VISIBLE_STRING_ENCODING (-22809)
1644/** Invalid ASN.1 GENERAL STRING encoding. */
1645#define VERR_ASN1_INVALID_GENERAL_STRING_ENCODING (-22810)
1646/** Invalid ASN.1 UNIVERSAL STRING encoding. */
1647#define VERR_ASN1_INVALID_UNIVERSAL_STRING_ENCODING (-22811)
1648/** Invalid ASN.1 BMP STRING encoding. */
1649#define VERR_ASN1_INVALID_BMP_STRING_ENCODING (-22812)
1650/** Invalid ASN.1 OBJECT IDENTIFIER encoding. */
1651#define VERR_ASN1_INVALID_OBJID_ENCODING (-22813)
1652/** A component value of an ASN.1 OBJECT IDENTIFIER is too big for our
1653 * internal representation (32-bits). */
1654#define VERR_ASN1_OBJID_COMPONENT_TOO_BIG (-22814)
1655/** Too many components in an ASN.1 OBJECT IDENTIFIER for our internal
1656 * representation. */
1657#define VERR_ASN1_OBJID_TOO_MANY_COMPONENTS (-22815)
1658/** The dotted-string representation of an ASN.1 OBJECT IDENTIFIER would be too
1659 * long for our internal representation. */
1660#define VERR_ASN1_OBJID_TOO_LONG_STRING_FORM (-22816)
1661/** Invalid dotted string. */
1662#define VERR_ASN1_OBJID_INVALID_DOTTED_STRING (-22817)
1663/** Constructed string type not implemented. */
1664#define VERR_ASN1_CONSTRUCTED_STRING_NOT_IMPL (-22818)
1665/** Expected a different string tag. */
1666#define VERR_ASN1_STRING_TAG_MISMATCH (-22819)
1667/** Expected a different time tag. */
1668#define VERR_ASN1_TIME_TAG_MISMATCH (-22820)
1669/** More unconsumed data available. */
1670#define VINF_ASN1_MORE_DATA (22821)
1671/** RTAsnEncodeWriteHeader return code indicating that nothing was written
1672 * and the content should be skipped as well. */
1673#define VINF_ASN1_NOT_ENCODED (22822)
1674/** Unknown escape sequence encountered in TeletexString. */
1675#define VERR_ASN1_TELETEX_UNKNOWN_ESC_SEQ (-22823)
1676/** Unsupported escape sequence encountered in TeletexString. */
1677#define VERR_ASN1_TELETEX_UNSUPPORTED_ESC_SEQ (-22824)
1678/** Unsupported character set. */
1679#define VERR_ASN1_TELETEX_UNSUPPORTED_CHARSET (-22825)
1680/** ASN.1 object has no virtual method table. */
1681#define VERR_ASN1_NO_VTABLE (-22826)
1682/** ASN.1 object has no pfnCheckSanity method. */
1683#define VERR_ASN1_NO_CHECK_SANITY_METHOD (-22827)
1684/** ASN.1 object is not present */
1685#define VERR_ASN1_NOT_PRESENT (-22828)
1686/** There are unconsumed bytes after decoding an ASN.1 object. */
1687#define VERR_ASN1_CURSOR_NOT_AT_END (-22829)
1688/** Long ASN.1 tag form is not implemented. */
1689#define VERR_ASN1_CURSOR_LONG_TAG (-22830)
1690/** Bad ASN.1 object length encoding. */
1691#define VERR_ASN1_CURSOR_BAD_LENGTH_ENCODING (-22831)
1692/** Indefinite length form is against the rules. */
1693#define VERR_ASN1_CURSOR_ILLEGAL_INDEFINITE_LENGTH (-22832)
1694/** Malformed indefinite length encoding. */
1695#define VERR_ASN1_CURSOR_BAD_INDEFINITE_LENGTH (-22833)
1696/** ASN.1 object length goes beyond the end of the byte stream being decoded. */
1697#define VERR_ASN1_CURSOR_BAD_LENGTH (-22834)
1698/** Not more data in ASN.1 byte stream. */
1699#define VERR_ASN1_CURSOR_NO_MORE_DATA (-22835)
1700/** Too little data in ASN.1 byte stream. */
1701#define VERR_ASN1_CURSOR_TOO_LITTLE_DATA_LEFT (-22836)
1702/** Constructed string is not according to the encoding rules. */
1703#define VERR_ASN1_CURSOR_ILLEGAL_CONSTRUCTED_STRING (-22837)
1704/** Unexpected ASN.1 tag encountered while decoding. */
1705#define VERR_ASN1_CURSOR_TAG_MISMATCH (-22838)
1706/** Unexpected ASN.1 tag class/flag encountered while decoding. */
1707#define VERR_ASN1_CURSOR_TAG_FLAG_CLASS_MISMATCH (-22839)
1708/** ASN.1 bit string object is out of bounds. */
1709#define VERR_ASN1_BITSTRING_OUT_OF_BOUNDS (-22840)
1710/** Bad ASN.1 time object. */
1711#define VERR_ASN1_TIME_BAD_NORMALIZE_INPUT (-22841)
1712/** Failed to normalize ASN.1 time object. */
1713#define VERR_ASN1_TIME_NORMALIZE_ERROR (-22842)
1714/** Normalization of ASN.1 time object didn't work out. */
1715#define VERR_ASN1_TIME_NORMALIZE_MISMATCH (-22843)
1716/** Invalid ASN.1 UTC TIME encoding. */
1717#define VERR_ASN1_INVALID_UTC_TIME_ENCODING (-22844)
1718/** Invalid ASN.1 GENERALIZED TIME encoding. */
1719#define VERR_ASN1_INVALID_GENERALIZED_TIME_ENCODING (-22845)
1720/** Invalid ASN.1 BOOLEAN encoding. */
1721#define VERR_ASN1_INVALID_BOOLEAN_ENCODING (-22846)
1722/** Invalid ASN.1 NULL encoding. */
1723#define VERR_ASN1_INVALID_NULL_ENCODING (-22847)
1724/** Invalid ASN.1 BIT STRING encoding. */
1725#define VERR_ASN1_INVALID_BITSTRING_ENCODING (-22848)
1726/** Unimplemented ASN.1 tag reached the RTAsn1DynType code. */
1727#define VERR_ASN1_DYNTYPE_TAG_NOT_IMPL (-22849)
1728/** ASN.1 tag and flags/class mismatch in RTAsn1DynType code. */
1729#define VERR_ASN1_DYNTYPE_BAD_TAG (-22850)
1730/** Unexpected ASN.1 fake/dummy object. */
1731#define VERR_ASN1_DUMMY_OBJECT (-22851)
1732/** ASN.1 object is too long. */
1733#define VERR_ASN1_TOO_LONG (-22852)
1734/** Expected primitive ASN.1 object. */
1735#define VERR_ASN1_EXPECTED_PRIMITIVE (-22853)
1736/** Expected valid data pointer for ASN.1 object. */
1737#define VERR_ASN1_INVALID_DATA_POINTER (-22854)
1738/** The ASN.1 encoding is too deeply nested for the decoder. */
1739#define VERR_ASN1_TOO_DEEPLY_NESTED (-22855)
1740/** Generic unexpected object ID error. */
1741#define VERR_ASN1_UNEXPECTED_OBJ_ID (-22856)
1742/** Invalid ASN.1 INTEGER encoding. */
1743#define VERR_ASN1_INVALID_INTEGER_ENCODING (-22857)
1744
1745/** ANS.1 internal error 1. */
1746#define VERR_ASN1_INTERNAL_ERROR_1 (-22895)
1747/** ANS.1 internal error 2. */
1748#define VERR_ASN1_INTERNAL_ERROR_2 (-22896)
1749/** ANS.1 internal error 3. */
1750#define VERR_ASN1_INTERNAL_ERROR_3 (-22897)
1751/** ANS.1 internal error 4. */
1752#define VERR_ASN1_INTERNAL_ERROR_4 (-22898)
1753/** ANS.1 internal error 5. */
1754#define VERR_ASN1_INTERNAL_ERROR_5 (-22899)
1755/** @} */
1756
1757/** @name More RTLdr status codes.
1758 * @{ */
1759/** Image Verification Failure: No Authenticode Signature. */
1760#define VERR_LDRVI_NOT_SIGNED (-22900)
1761/** Image Verification Warning: No Authenticode Signature, but on whitelist. */
1762#define VINF_LDRVI_NOT_SIGNED (22900)
1763/** Image Verification Failure: Error reading image headers. */
1764#define VERR_LDRVI_READ_ERROR_HDR (-22901)
1765/** Image Verification Failure: Error reading section headers. */
1766#define VERR_LDRVI_READ_ERROR_SHDRS (-22902)
1767/** Image Verification Failure: Error reading authenticode signature data. */
1768#define VERR_LDRVI_READ_ERROR_SIGNATURE (-22903)
1769/** Image Verification Failure: Error reading file for hashing. */
1770#define VERR_LDRVI_READ_ERROR_HASH (-22904)
1771/** Image Verification Failure: Error determining the file length. */
1772#define VERR_LDRVI_FILE_LENGTH_ERROR (-22905)
1773/** Image Verification Failure: Error allocating memory for state data. */
1774#define VERR_LDRVI_NO_MEMORY_STATE (-22906)
1775/** Image Verification Failure: Error allocating memory for authenticode
1776 * signature data. */
1777#define VERR_LDRVI_NO_MEMORY_SIGNATURE (-22907)
1778/** Image Verification Failure: Error allocating memory for section headers. */
1779#define VERR_LDRVI_NO_MEMORY_SHDRS (-22908)
1780/** Image Verification Failure: Authenticode parsing output. */
1781#define VERR_LDRVI_NO_MEMORY_PARSE_OUTPUT (-22909)
1782/** Image Verification Failure: Invalid security directory entry. */
1783#define VERR_LDRVI_INVALID_SECURITY_DIR_ENTRY (-22910)
1784/** Image Verification Failure: */
1785#define VERR_LDRVI_BAD_CERT_HDR_LENGTH (-22911)
1786/** Image Verification Failure: */
1787#define VERR_LDRVI_BAD_CERT_HDR_REVISION (-22912)
1788/** Image Verification Failure: */
1789#define VERR_LDRVI_BAD_CERT_HDR_TYPE (-22913)
1790/** Image Verification Failure: More than one certificate table entry. */
1791#define VERR_LDRVI_BAD_CERT_MULTIPLE (-22914)
1792
1793/** Image Verification Failure: */
1794#define VERR_LDRVI_BAD_MZ_OFFSET (-22915)
1795/** Image Verification Failure: Invalid section count. */
1796#define VERR_LDRVI_INVALID_SECTION_COUNT (-22916)
1797/** Image Verification Failure: Raw data offsets and sizes are out of range. */
1798#define VERR_LDRVI_SECTION_RAW_DATA_VALUES (-22917)
1799/** Optional header magic and target machine does not match. */
1800#define VERR_LDRVI_MACHINE_OPT_HDR_MAGIC_MISMATCH (-22918)
1801/** Unsupported image target architecture. */
1802#define VERR_LDRVI_UNSUPPORTED_ARCH (-22919)
1803
1804/** Image Verification Failure: Internal error in signature parser. */
1805#define VERR_LDRVI_PARSE_IPE (-22921)
1806/** Generic BER parse error. Will be refined later. */
1807#define VERR_LDRVI_PARSE_BER_ERROR (-22922)
1808
1809/** Expected the signed data content to be the object ID of
1810 * SpcIndirectDataContent, found something else instead. */
1811#define VERR_LDRVI_EXPECTED_INDIRECT_DATA_CONTENT_OID (-22923)
1812/** Page hash table size overflow. */
1813#define VERR_LDRVI_PAGE_HASH_TAB_SIZE_OVERFLOW (-22924)
1814/** Page hash table is too long (covers signature data, i.e. itself). */
1815#define VERR_LDRVI_PAGE_HASH_TAB_TOO_LONG (-22925)
1816/** The page hash table is not strictly ordered by offset. */
1817#define VERR_LDRVI_PAGE_HASH_TAB_NOT_STRICTLY_SORTED (-22926)
1818/** The page hash table hashes data outside the defined and implicit sections. */
1819#define VERR_PAGE_HASH_TAB_HASHES_NON_SECTION_DATA (-22927)
1820/** Page hash mismatch. */
1821#define VERR_LDRVI_PAGE_HASH_MISMATCH (-22928)
1822/** Image hash mismatch. */
1823#define VERR_LDRVI_IMAGE_HASH_MISMATCH (-22929)
1824/** Malformed code signing structure. */
1825#define VERR_LDRVI_BAD_CERT_FORMAT (-22930)
1826
1827/** Cannot resolve symbol because it's a forwarder. */
1828#define VERR_LDR_FORWARDER (-22950)
1829/** The symbol is not a forwarder. */
1830#define VERR_LDR_NOT_FORWARDER (-22951)
1831/** Malformed forwarder entry. */
1832#define VERR_LDR_BAD_FORWARDER (-22952)
1833/** Too long forwarder chain or there is a loop. */
1834#define VERR_LDR_FORWARDER_CHAIN_TOO_LONG (-22953)
1835/** Support for forwarders has not been implemented. */
1836#define VERR_LDR_FORWARDERS_NOT_SUPPORTED (-22954)
1837/** Only native endian Mach-O files are supported. */
1838#define VERR_LDRMACHO_OTHER_ENDIAN_NOT_SUPPORTED (-22955)
1839/** The Mach-O header is bad or contains new and unsupported features. */
1840#define VERR_LDRMACHO_BAD_HEADER (-22956)
1841/** The file type isn't supported. */
1842#define VERR_LDRMACHO_UNSUPPORTED_FILE_TYPE (-22957)
1843/** The machine (cputype / cpusubtype combination) isn't supported. */
1844#define VERR_LDRMACHO_UNSUPPORTED_MACHINE (-22958)
1845/** Bad load command(s). */
1846#define VERR_LDRMACHO_BAD_LOAD_COMMAND (-22959)
1847/** Encountered an unknown load command.*/
1848#define VERR_LDRMACHO_UNKNOWN_LOAD_COMMAND (-22960)
1849/** Encountered a load command that's not implemented.*/
1850#define VERR_LDRMACHO_UNSUPPORTED_LOAD_COMMAND (-22961)
1851/** Bad section. */
1852#define VERR_LDRMACHO_BAD_SECTION (-22962)
1853/** Encountered a section type that's not implemented.*/
1854#define VERR_LDRMACHO_UNSUPPORTED_SECTION (-22963)
1855/** Encountered a init function section. */
1856#define VERR_LDRMACHO_UNSUPPORTED_INIT_SECTION (-22964)
1857/** Encountered a term function section. */
1858#define VERR_LDRMACHO_UNSUPPORTED_TERM_SECTION (-22965)
1859/** Encountered a section type that's not known to the loader. (probably invalid) */
1860#define VERR_LDRMACHO_UNKNOWN_SECTION (-22966)
1861/** The sections aren't ordered by segment as expected by the loader. */
1862#define VERR_LDRMACHO_BAD_SECTION_ORDER (-22967)
1863/** The image is 32-bit and contains 64-bit load commands or vise versa. */
1864#define VERR_LDRMACHO_BIT_MIX (-22968)
1865/** Bad MH_OBJECT file. */
1866#define VERR_LDRMACHO_BAD_OBJECT_FILE (-22969)
1867/** Bad symbol table entry. */
1868#define VERR_LDRMACHO_BAD_SYMBOL (-22970)
1869/** Unsupported fixup type. */
1870#define VERR_LDRMACHO_UNSUPPORTED_FIXUP_TYPE (-22971)
1871/** Both debug and non-debug sections in segment. */
1872#define VERR_LDRMACHO_MIXED_DEBUG_SECTION_FLAGS (-22972)
1873/** The segment bits are non-contiguous in the file. */
1874#define VERR_LDRMACHO_NON_CONT_SEG_BITS (-22973)
1875/** Hit a todo in the mach-o loader. */
1876#define VERR_LDRMACHO_TODO (-22974)
1877/** Bad symbol table size in Mach-O image. */
1878#define VERR_LDRMACHO_BAD_SYMTAB_SIZE (-22975)
1879/** Duplicate segment name. */
1880#define VERR_LDR_DUPLICATE_SEGMENT_NAME (-22976)
1881/** No image UUID. */
1882#define VERR_LDR_NO_IMAGE_UUID (-22977)
1883/** Bad image relocation. */
1884#define VERR_LDR_BAD_FIXUP (-22978)
1885/** Address overflow. */
1886#define VERR_LDR_ADDRESS_OVERFLOW (-22979)
1887/** validation of LX header failed. */
1888#define VERR_LDRLX_BAD_HEADER (-22980)
1889/** validation of the loader section (in the LX header) failed. */
1890#define VERR_LDRLX_BAD_LOADER_SECTION (-22981)
1891/** validation of the fixup section (in the LX header) failed. */
1892#define VERR_LDRLX_BAD_FIXUP_SECTION (-22982)
1893/** validation of the LX object table failed. */
1894#define VERR_LDRLX_BAD_OBJECT_TABLE (-22983)
1895/** A bad page map entry was encountered. */
1896#define VERR_LDRLX_BAD_PAGE_MAP (-22984)
1897/** Bad iterdata (EXEPACK) data. */
1898#define VERR_LDRLX_BAD_ITERDATA (-22985)
1899/** Bad iterdata2 (EXEPACK2) data. */
1900#define VERR_LDRLX_BAD_ITERDATA2 (-22986)
1901/** Bad bundle data. */
1902#define VERR_LDRLX_BAD_BUNDLE (-22987)
1903/** No soname. */
1904#define VERR_LDRLX_NO_SONAME (-22988)
1905/** Bad soname. */
1906#define VERR_LDRLX_BAD_SONAME (-22989)
1907/** Bad forwarder entry. */
1908#define VERR_LDRLX_BAD_FORWARDER (-22990)
1909/** internal fixup chain isn't implemented yet. */
1910#define VERR_LDRLX_NRICHAIN_NOT_SUPPORTED (-22991)
1911/** Import module ordinal is out of bounds. */
1912#define VERR_LDRLX_IMPORT_ORDINAL_OUT_OF_BOUNDS (-22992)
1913/** @} */
1914
1915/** @name RTCrX509 status codes.
1916 * @{ */
1917/** Generic X.509 error. */
1918#define VERR_CR_X509_GENERIC_ERROR (-23000)
1919/** Internal error in the X.509 code. */
1920#define VERR_CR_X509_INTERNAL_ERROR (-23001)
1921/** Internal error in the X.509 certificate path building and verification
1922 * code. */
1923#define VERR_CR_X509_CERTPATHS_INTERNAL_ERROR (-23002)
1924/** Path not verified yet. */
1925#define VERR_CR_X509_NOT_VERIFIED (-23003)
1926/** The certificate path has no trust anchor. */
1927#define VERR_CR_X509_NO_TRUST_ANCHOR (-23004)
1928/** Unknown X.509 certificate signature algorithm. */
1929#define VERR_CR_X509_UNKNOWN_CERT_SIGN_ALGO (-23005)
1930/** Certificate signature algorithm mismatch. */
1931#define VERR_CR_X509_CERT_SIGN_ALGO_MISMATCH (-23006)
1932/** The signature algorithm in the to-be-signed certificate part does not match
1933 * the one associated with the signature. */
1934#define VERR_CR_X509_CERT_TBS_SIGN_ALGO_MISMATCH (-23007)
1935/** Certificate extensions requires certificate version 3 or later. */
1936#define VERR_CR_X509_TBSCERT_EXTS_REQ_V3 (-23008)
1937/** Unique issuer and subject IDs require version certificate 2. */
1938#define VERR_CR_X509_TBSCERT_UNIQUE_IDS_REQ_V2 (-23009)
1939/** Certificate serial number length is out of bounds. */
1940#define VERR_CR_X509_TBSCERT_SERIAL_NUMBER_OUT_OF_BOUNDS (-23010)
1941/** Unsupported X.509 certificate version. */
1942#define VERR_CR_X509_TBSCERT_UNSUPPORTED_VERSION (-23011)
1943/** Public key is too small. */
1944#define VERR_CR_X509_PUBLIC_KEY_TOO_SMALL (-23012)
1945/** Invalid string tag for a X.509 name object. */
1946#define VERR_CR_X509_INVALID_NAME_STRING_TAG (-23013)
1947/** Empty string in X.509 name object. */
1948#define VERR_CR_X509_NAME_EMPTY_STRING (-23014)
1949/** Non-string object inside X.509 name object. */
1950#define VERR_CR_X509_NAME_NOT_STRING (-23015)
1951/** Empty set inside X.509 name. */
1952#define VERR_CR_X509_NAME_EMPTY_SET (-23016)
1953/** Empty sub-string set inside X.509 name. */
1954#define VERR_CR_X509_NAME_EMPTY_SUB_SET (-23017)
1955/** The NotBefore and NotAfter values of an X.509 Validity object seems to
1956 * have been swapped around. */
1957#define VERR_CR_X509_VALIDITY_SWAPPED (-23018)
1958/** Duplicate certificate extension. */
1959#define VERR_CR_X509_TBSCERT_DUPLICATE_EXTENSION (-23019)
1960/** Missing relative distinguished name map entry. */
1961#define VERR_CR_X509_NAME_MISSING_RDN_MAP_ENTRY (-23020)
1962/** Certificate path validator: No trusted certificate paths. */
1963#define VERR_CR_X509_CPV_NO_TRUSTED_PATHS (-23021)
1964/** Certificate path validator: No valid certificate policy. */
1965#define VERR_CR_X509_CPV_NO_VALID_POLICY (-23022)
1966/** Certificate path validator: Unknown critical certificate extension. */
1967#define VERR_CR_X509_CPV_UNKNOWN_CRITICAL_EXTENSION (-23023)
1968/** Certificate path validator: Intermediate certificate is missing the
1969 * KeyCertSign usage flag. */
1970#define VERR_CR_X509_CPV_MISSING_KEY_CERT_SIGN (-23024)
1971/** Certificate path validator: Hit the max certificate path length before
1972 * reaching trust anchor. */
1973#define VERR_CR_X509_CPV_MAX_PATH_LENGTH (-23025)
1974/** Certificate path validator: Intermediate certificate is not marked as a
1975 * certificate authority (CA). */
1976#define VERR_CR_X509_CPV_NOT_CA_CERT (-23026)
1977/** Certificate path validator: Intermediate certificate is not a version 3
1978 * certificate. */
1979#define VERR_CR_X509_CPV_NOT_V3_CERT (-23027)
1980/** Certificate path validator: Invalid policy mapping (to/from anyPolicy). */
1981#define VERR_CR_X509_CPV_INVALID_POLICY_MAPPING (-23028)
1982/** Certificate path validator: Name constraints permits no names. */
1983#define VERR_CR_X509_CPV_NO_PERMITTED_NAMES (-23029)
1984/** Certificate path validator: Name constraints does not permits the
1985 * certificate name. */
1986#define VERR_CR_X509_CPV_NAME_NOT_PERMITTED (-23030)
1987/** Certificate path validator: Name constraints does not permits the
1988 * alternative certificate name. */
1989#define VERR_CR_X509_CPV_ALT_NAME_NOT_PERMITTED (-23031)
1990/** Certificate path validator: Intermediate certificate subject does not
1991 * match child issuer property. */
1992#define VERR_CR_X509_CPV_ISSUER_MISMATCH (-23032)
1993/** Certificate path validator: The certificate is not valid at the
1994 * specified time. */
1995#define VERR_CR_X509_CPV_NOT_VALID_AT_TIME (-23033)
1996/** Certificate path validator: Unexpected choice found in general subtree
1997 * object (name constraints). */
1998#define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_CHOICE (-23034)
1999/** Certificate path validator: Unexpected minimum value found in general
2000 * subtree object (name constraints). */
2001#define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_MIN (-23035)
2002/** Certificate path validator: Unexpected maximum value found in
2003 * general subtree object (name constraints). */
2004#define VERR_CR_X509_CPV_UNEXP_GENERAL_SUBTREE_MAX (-23036)
2005/** Certificate path builder: Encountered bad certificate context. */
2006#define VERR_CR_X509_CPB_BAD_CERT_CTX (-23037)
2007/** OpenSSL d2i_X509 failed. */
2008#define VERR_CR_X509_OSSL_D2I_FAILED (-23090)
2009/** @} */
2010
2011/** @name RTCrPkcs7 status codes.
2012 * @{ */
2013/** Generic PKCS \#7 error. */
2014#define VERR_CR_PKCS7_GENERIC_ERROR (-23300)
2015/** Signed data verification failed because there are zero signer infos. */
2016#define VERR_CR_PKCS7_NO_SIGNER_INFOS (-23301)
2017/** Signed data certificate not found. */
2018#define VERR_CR_PKCS7_SIGNED_DATA_CERT_NOT_FOUND (-23302)
2019/** Signed data verification failed due to key usage issues. */
2020#define VERR_CR_PKCS7_KEY_USAGE_MISMATCH (-23303)
2021/** Signed data verification failed because of missing (or duplicate)
2022 * authenticated content-type attribute. */
2023#define VERR_CR_PKCS7_MISSING_CONTENT_TYPE_ATTRIB (-23304)
2024/** Signed data verification failed because of the authenticated content-type
2025 * attribute did not match. */
2026#define VERR_CR_PKCS7_CONTENT_TYPE_ATTRIB_MISMATCH (-23305)
2027/** Signed data verification failed because of a malformed authenticated
2028 * content-type attribute. */
2029#define VERR_CR_PKCS7_BAD_CONTENT_TYPE_ATTRIB (-23306)
2030/** Signed data verification failed because of missing (or duplicate)
2031 * authenticated message-digest attribute. */
2032#define VERR_CR_PKCS7_MISSING_MESSAGE_DIGEST_ATTRIB (-23307)
2033/** Signed data verification failed because the authenticated message-digest
2034 * attribute did not match. */
2035#define VERR_CR_PKCS7_MESSAGE_DIGEST_ATTRIB_MISMATCH (-23308)
2036/** Signed data verification failed because of a malformed authenticated
2037 * message-digest attribute. */
2038#define VERR_CR_PKCS7_BAD_MESSAGE_DIGEST_ATTRIB (-23309)
2039/** Signature verification failed. */
2040#define VERR_CR_PKCS7_SIGNATURE_VERIFICATION_FAILED (-23310)
2041/** Internal PKCS \#7 error. */
2042#define VERR_CR_PKCS7_INTERNAL_ERROR (-22311)
2043/** OpenSSL d2i_PKCS7 failed. */
2044#define VERR_CR_PKCS7_OSSL_D2I_FAILED (-22312)
2045/** OpenSSL PKCS \#7 verification failed. */
2046#define VERR_CR_PKCS7_OSSL_VERIFY_FAILED (-22313)
2047/** Digest algorithm parameters are not supported by the PKCS \#7 code. */
2048#define VERR_CR_PKCS7_DIGEST_PARAMS_NOT_IMPL (-22314)
2049/** The digest algorithm of a signer info entry was not found in the list of
2050 * digest algorithms in the signed data. */
2051#define VERR_CR_PKCS7_DIGEST_ALGO_NOT_FOUND_IN_LIST (-22315)
2052/** The PKCS \#7 content is not signed data. */
2053#define VERR_CR_PKCS7_NOT_SIGNED_DATA (-22316)
2054/** No digest algorithms listed in PKCS \#7 signed data. */
2055#define VERR_CR_PKCS7_NO_DIGEST_ALGORITHMS (-22317)
2056/** Too many digest algorithms used by PKCS \#7 signed data. This is an
2057 * internal limitation of the code that aims at saving kernel stack space. */
2058#define VERR_CR_PKCS7_TOO_MANY_DIGEST_ALGORITHMS (-22318)
2059/** Error creating digest algorithm calculator. */
2060#define VERR_CR_PKCS7_DIGEST_CREATE_ERROR (-22319)
2061/** Error while calculating a digest for a PKCS \#7 verification operation. */
2062#define VERR_CR_PKCS7_DIGEST_CALC_ERROR (-22320)
2063/** Unsupported PKCS \#7 signed data version. */
2064#define VERR_CR_PKCS7_SIGNED_DATA_VERSION (-22350)
2065/** PKCS \#7 signed data has no digest algorithms listed. */
2066#define VERR_CR_PKCS7_SIGNED_DATA_NO_DIGEST_ALGOS (-22351)
2067/** Unknown digest algorithm used by PKCS \#7 object. */
2068#define VERR_CR_PKCS7_UNKNOWN_DIGEST_ALGORITHM (-22352)
2069/** Expected PKCS \#7 object to ship at least one certificate. */
2070#define VERR_CR_PKCS7_NO_CERTIFICATES (-22353)
2071/** Expected PKCS \#7 object to not contain any CRLs. */
2072#define VERR_CR_PKCS7_EXPECTED_NO_CRLS (-22354)
2073/** Expected PKCS \#7 object to contain exactly on signer info entry. */
2074#define VERR_CR_PKCS7_EXPECTED_ONE_SIGNER_INFO (-22355)
2075/** Unsupported PKCS \#7 signer info version. */
2076#define VERR_CR_PKCS7_SIGNER_INFO_VERSION (-22356)
2077/** PKCS \#7 singer info contains no issuer serial number. */
2078#define VERR_CR_PKCS7_SIGNER_INFO_NO_ISSUER_SERIAL_NO (-22357)
2079/** Expected PKCS \#7 object to ship the signer certificate(s). */
2080#define VERR_CR_PKCS7_SIGNER_CERT_NOT_SHIPPED (-22358)
2081/** The encrypted digest algorithm does not match the one in the certificate. */
2082#define VERR_CR_PKCS7_SIGNER_INFO_DIGEST_ENCRYPT_MISMATCH (-22359)
2083/** The PKCS \#7 content is not data. */
2084#define VERR_CR_PKCS7_NOT_DATA (-22360)
2085/** @} */
2086
2087/** @name RTCrSpc status codes.
2088 * @{ */
2089/** Generic SPC error. */
2090#define VERR_CR_SPC_GENERIC_ERROR (-23400)
2091/** SPC requires there to be exactly one SignerInfo entry. */
2092#define VERR_CR_SPC_NOT_EXACTLY_ONE_SIGNER_INFOS (-23401)
2093/** There shall be exactly one digest algorithm to go with the single
2094 * SingerInfo entry required by SPC. */
2095#define VERR_CR_SPC_NOT_EXACTLY_ONE_DIGEST_ALGO (-23402)
2096/** The digest algorithm in the SignerInfo does not match the one in the
2097 * indirect data. */
2098#define VERR_CR_SPC_SIGNED_IND_DATA_DIGEST_ALGO_MISMATCH (-23403)
2099/** The digest algorithm in the indirect data was not found in the list of
2100 * digest algorithms in the signed data structure. */
2101#define VERR_CR_SPC_IND_DATA_DIGEST_ALGO_NOT_IN_DIGEST_ALGOS (-23404)
2102/** The digest algorithm is not known to us. */
2103#define VERR_CR_SPC_UNKNOWN_DIGEST_ALGO (-23405)
2104/** The indirect data digest size does not match the digest algorithm. */
2105#define VERR_CR_SPC_IND_DATA_DIGEST_SIZE_MISMATCH (-23406)
2106/** Expected PE image data inside indirect data object. */
2107#define VERR_CR_SPC_EXPECTED_PE_IMAGE_DATA (-23407)
2108/** Internal SPC error: The PE image data is missing. */
2109#define VERR_CR_SPC_PEIMAGE_DATA_NOT_PRESENT (-23408)
2110/** Bad SPC object moniker UUID field. */
2111#define VERR_CR_SPC_BAD_MONIKER_UUID (-23409)
2112/** Unknown SPC object moniker UUID. */
2113#define VERR_CR_SPC_UNKNOWN_MONIKER_UUID (-23410)
2114/** Internal SPC error: Bad object moniker choice value. */
2115#define VERR_CR_SPC_BAD_MONIKER_CHOICE (-23411)
2116/** Internal SPC error: Bad object moniker data pointer. */
2117#define VERR_CR_SPC_MONIKER_BAD_DATA (-23412)
2118/** Multiple PE image page hash tables. */
2119#define VERR_CR_SPC_PEIMAGE_MULTIPLE_HASH_TABS (-23413)
2120/** Unknown SPC PE image attribute. */
2121#define VERR_CR_SPC_PEIMAGE_UNKNOWN_ATTRIBUTE (-23414)
2122/** URL not expected in SPC PE image data. */
2123#define VERR_CR_SPC_PEIMAGE_URL_UNEXPECTED (-23415)
2124/** PE image data without any valid content was not expected. */
2125#define VERR_CR_SPC_PEIMAGE_NO_CONTENT (-23416)
2126/** @} */
2127
2128/** @name RTCrPkix status codes.
2129 * @{ */
2130/** Generic PKCS \#7 error. */
2131#define VERR_CR_PKIX_GENERIC_ERROR (-23500)
2132/** Parameters was presented to a signature schema that does not take any. */
2133#define VERR_CR_PKIX_SIGNATURE_TAKES_NO_PARAMETERS (-23501)
2134/** Unknown hash digest type. */
2135#define VERR_CR_PKIX_UNKNOWN_DIGEST_TYPE (-23502)
2136/** Internal error. */
2137#define VERR_CR_PKIX_INTERNAL_ERROR (-23503)
2138/** The hash is too long for the key used when signing/verifying. */
2139#define VERR_CR_PKIX_HASH_TOO_LONG_FOR_KEY (-23504)
2140/** The signature is too long for the scratch buffer. */
2141#define VERR_CR_PKIX_SIGNATURE_TOO_LONG (-23505)
2142/** The signature is greater than or equal to the key. */
2143#define VERR_CR_PKIX_SIGNATURE_GE_KEY (-23506)
2144/** The signature is negative. */
2145#define VERR_CR_PKIX_SIGNATURE_NEGATIVE (-23507)
2146/** Invalid signature length. */
2147#define VERR_CR_PKIX_INVALID_SIGNATURE_LENGTH (-23508)
2148/** PKIX signature no does not match up to the current data. */
2149#define VERR_CR_PKIX_SIGNATURE_MISMATCH (-23509)
2150/** PKIX cipher algorithm parameters are not implemented. */
2151#define VERR_CR_PKIX_CIPHER_ALGO_PARAMS_NOT_IMPL (-23510)
2152/** Cipher algorithm is not known to us. */
2153#define VERR_CR_PKIX_CIPHER_ALGO_NOT_KNOWN (-23511)
2154/** PKIX cipher algorithm is not known to OpenSSL. */
2155#define VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN (-23512)
2156/** PKIX cipher algorithm is not known to OpenSSL EVP API. */
2157#define VERR_CR_PKIX_OSSL_CIPHER_ALGO_NOT_KNOWN_EVP (-23513)
2158/** OpenSSL failed to init PKIX cipher algorithm context. */
2159#define VERR_CR_PKIX_OSSL_CIPHER_ALOG_INIT_FAILED (-23514)
2160/** Final OpenSSL PKIX verification failed. */
2161#define VERR_CR_PKIX_OSSL_VERIFY_FINAL_FAILED (-23515)
2162/** OpenSSL failed to decode the public key. */
2163#define VERR_CR_PKIX_OSSL_D2I_PUBLIC_KEY_FAILED (-23516)
2164/** The EVP_PKEY_type API in OpenSSL failed. */
2165#define VERR_CR_PKIX_OSSL_EVP_PKEY_TYPE_ERROR (-23517)
2166/** OpenSSL failed to decode the private key. */
2167#define VERR_CR_PKIX_OSSL_D2I_PRIVATE_KEY_FAILED (-23518)
2168/** The EVP_PKEY_CTX_set_rsa_padding API in OpenSSL failed. */
2169#define VERR_CR_PKIX_OSSL_EVP_PKEY_RSA_PAD_ERROR (-23519)
2170/** Final OpenSSL PKIX signing failed. */
2171#define VERR_CR_PKIX_OSSL_SIGN_FINAL_FAILED (-23520)
2172/** OpenSSL and IPRT disagree on the signature size. */
2173#define VERR_CR_PKIX_OSSL_VS_IPRT_SIGNATURE_SIZE (-23521)
2174/** OpenSSL and IPRT disagree on the signature. */
2175#define VERR_CR_PKIX_OSSL_VS_IPRT_SIGNATURE (-23522)
2176/** Expected RSA private key. */
2177#define VERR_CR_PKIX_NOT_RSA_PRIVATE_KEY (-23523)
2178/** Expected RSA public key. */
2179#define VERR_CR_PKIX_NOT_RSA_PUBLIC_KEY (-23524)
2180/** Expected ECDSA private key. */
2181#define VERR_CR_PKIX_NOT_ECDSA_PRIVATE_KEY (-23525)
2182/** Expected ECDSA public key. */
2183#define VERR_CR_PKIX_NOT_ECDSA_PUBLIC_KEY (-23526)
2184/** OpenSSL failed to decode the key parameters. */
2185#define VERR_CR_PKIX_OSSL_D2I_KEY_PARAMS_FAILED (-23527)
2186/** @} */
2187
2188/** @name RTCrStore status codes.
2189 * @{ */
2190/** Generic store error. */
2191#define VERR_CR_STORE_GENERIC_ERROR (-23700)
2192/** @} */
2193
2194/** @name RTCrKey status codes.
2195 * @{ */
2196/** Could not recognize the key type. */
2197#define VERR_CR_KEY_UNKNOWN_TYPE (-23800)
2198/** Unsupported key format. */
2199#define VERR_CR_KEY_FORMAT_NOT_SUPPORTED (-23801)
2200/** Key encrypted but no password was given. */
2201#define VERR_CR_KEY_ENCRYPTED (-23802)
2202/** The key was marked as encrypted by no DEK-Info field with the encryption
2203 * algortihms was found. */
2204#define VERR_CR_KEY_NO_DEK_INFO (-23803)
2205/** The algorithms part of the DEK-Info field is too long. */
2206#define VERR_CR_KEY_DEK_INFO_TOO_LONG (-23804)
2207/** Key decryption is not supported. */
2208#define VERR_CR_KEY_DECRYPTION_NOT_SUPPORTED (-23805)
2209/** Unsupported key encryption cipher. */
2210#define VERR_CR_KEY_UNSUPPORTED_CIPHER (-23806)
2211/** Found unexpected cipher parameters for encrypted key. */
2212#define VERR_CR_KEY_UNEXPECTED_CIPHER_PARAMS (-23807)
2213/** Missing ciper parameters for encrypted key. */
2214#define VERR_CR_KEY_MISSING_CIPHER_PARAMS (-23808)
2215/** To short initialization vector for encrypted key ciper. */
2216#define VERR_CR_KEY_TOO_SHORT_CIPHER_IV (-23809)
2217/** Malformed initialization vector for encrypted key ciper. */
2218#define VERR_CR_KEY_MALFORMED_CIPHER_IV (-23810)
2219/** Error encoding the password for key decryption. */
2220#define VERR_CR_KEY_PASSWORD_ENCODING (-23811)
2221/** EVP_DecryptInit_ex failed. */
2222#define VERR_CR_KEY_OSSL_DECRYPT_INIT_ERROR (-23812)
2223/** Key decryption failed, perhaps due to an incorrect password. */
2224#define VERR_CR_KEY_DECRYPTION_FAILED (-23813)
2225/** The key was decrypted. */
2226#define VINF_CR_KEY_WAS_DECRYPTED (23814)
2227/** Failed to generate RSA key. */
2228#define VERR_CR_KEY_GEN_FAILED_RSA (-23815)
2229/** Key algorithm parameters not expected. */
2230#define VERR_CR_KEY_ALGO_PARAMS_UNEXPECTED (-23816)
2231/** Key algorithm parameters are required but missing. */
2232#define VERR_CR_KEY_ALGO_PARAMS_MISSING (-23817)
2233/** Key algorithm parameters are not known/supported. */
2234#define VERR_CR_KEY_ALGO_PARAMS_UNKNOWN (-23818)
2235/** Algorithm parameters does not match the key. */
2236#define VERR_CR_KEY_ALGO_PARAMS_MISMATCH (-23819)
2237
2238/** @} */
2239
2240/** @name RTCrRsa status codes.
2241 * @{ */
2242/** Generic RSA error. */
2243#define VERR_CR_RSA_GENERIC_ERROR (-23900)
2244/** @} */
2245
2246/** @name RTBigNum status codes.
2247 * @{ */
2248/** Sensitive input requires the result(s) to be initialized as sensitive. */
2249#define VERR_BIGNUM_SENSITIVE_INPUT (-24000)
2250/** Attempt to divide by zero. */
2251#define VERR_BIGNUM_DIV_BY_ZERO (-24001)
2252/** Negative exponent makes no sense to integer math. */
2253#define VERR_BIGNUM_NEGATIVE_EXPONENT (-24002)
2254/** @} */
2255
2256/** @name RTCrDigest status codes.
2257 * @{ */
2258/** OpenSSL failed to initialize the digest algorithm context. */
2259#define VERR_CR_DIGEST_OSSL_DIGEST_INIT_ERROR (-24200)
2260/** OpenSSL failed to clone the digest algorithm context. */
2261#define VERR_CR_DIGEST_OSSL_DIGEST_CTX_COPY_ERROR (-24201)
2262/** Deprecated digest. */
2263#define VINF_CR_DIGEST_DEPRECATED (24202)
2264/** Deprecated digest. */
2265#define VERR_CR_DIGEST_DEPRECATED (-24202)
2266/** Compromised digest. */
2267#define VINF_CR_DIGEST_COMPROMISED (24203)
2268/** Compromised digest. */
2269#define VERR_CR_DIGEST_COMPROMISED (-24203)
2270/** Severely compromised digest. */
2271#define VINF_CR_DIGEST_SEVERELY_COMPROMISED (24204)
2272/** Severely compromised digest. */
2273#define VERR_CR_DIGEST_SEVERELY_COMPROMISED (-24204)
2274/** Specified digest not supported in this context. */
2275#define VERR_CR_DIGEST_NOT_SUPPORTED (-24205)
2276/** @} */
2277
2278/** @name RTCr misc status codes.
2279 * @{ */
2280/** The OpenSSL version is too old for the attempted operation. */
2281#define VERR_CR_OPENSSL_VERSION_TOO_OLD (-24395)
2282/** Failed to derivate key from password. */
2283#define VERR_CR_PASSWORD_2_KEY_DERIVIATION_FAILED (-24396)
2284/** Failed getting cryptographically strong random bytes. */
2285#define VERR_CR_RANDOM_SETUP_FAILED (-24397)
2286/** Failed getting cryptographically strong random bytes. */
2287#define VERR_CR_RANDOM_FAILED (-24398)
2288/** Malformed or failed to parse PEM formatted data. */
2289#define VERR_CR_MALFORMED_PEM_HEADER (-24399)
2290/** @} */
2291
2292/** @name RTPath status codes.
2293 * @{ */
2294/** Unknown glob variable. */
2295#define VERR_PATH_MATCH_UNKNOWN_VARIABLE (-24400)
2296/** The specified glob variable must be first in the pattern. */
2297#define VERR_PATH_MATCH_VARIABLE_MUST_BE_FIRST (-24401)
2298/** Hit unimplemented glob pattern matching feature. */
2299#define VERR_PATH_MATCH_FEATURE_NOT_IMPLEMENTED (-24402)
2300/** Unknown character class in glob pattern. */
2301#define VERR_PATH_GLOB_UNKNOWN_CHAR_CLASS (-24403)
2302/** @} */
2303
2304/** @name RTUri status codes.
2305 * @{ */
2306/** The URI is empty */
2307#define VERR_URI_EMPTY (-24600)
2308/** The URI is too short to be a valid URI. */
2309#define VERR_URI_TOO_SHORT (-24601)
2310/** Invalid scheme. */
2311#define VERR_URI_INVALID_SCHEME (-24602)
2312/** Invalid port number. */
2313#define VERR_URI_INVALID_PORT_NUMBER (-24603)
2314/** Invalid escape sequence. */
2315#define VERR_URI_INVALID_ESCAPE_SEQ (-24604)
2316/** Escape URI char decodes as zero (the C string terminator). */
2317#define VERR_URI_ESCAPED_ZERO (-24605)
2318/** Escaped URI characters does not decode to valid UTF-8. */
2319#define VERR_URI_ESCAPED_CHARS_NOT_VALID_UTF8 (-24606)
2320/** Escaped URI character is not a valid UTF-8 lead byte. */
2321#define VERR_URI_INVALID_ESCAPED_UTF8_LEAD_BYTE (-24607)
2322/** Escaped URI character sequence with invalid UTF-8 continutation byte. */
2323#define VERR_URI_INVALID_ESCAPED_UTF8_CONTINUATION_BYTE (-24608)
2324/** Missing UTF-8 continutation in escaped URI character sequence. */
2325#define VERR_URI_MISSING_UTF8_CONTINUATION_BYTE (-24609)
2326/** Expected URI using the 'file:' scheme. */
2327#define VERR_URI_NOT_FILE_SCHEME (-24610)
2328/** @} */
2329
2330/** @name RTJson status codes.
2331 * @{ */
2332/** The called method does not work with the value type of the given JSON value. */
2333#define VERR_JSON_VALUE_INVALID_TYPE (-24700)
2334/** The iterator reached the end. */
2335#define VERR_JSON_ITERATOR_END (-24701)
2336/** The JSON document is malformed. */
2337#define VERR_JSON_MALFORMED (-24702)
2338/** Object or array is empty. */
2339#define VERR_JSON_IS_EMPTY (-24703)
2340/** Invalid UTF-16 escape sequence. */
2341#define VERR_JSON_INVALID_UTF16_ESCAPE_SEQUENCE (-24704)
2342/** Missing UTF-16 surrogate pair. */
2343#define VERR_JSON_MISSING_SURROGATE_PAIR (-24705)
2344/** Bad UTF-16 surrogate pair sequence. */
2345#define VERR_JSON_BAD_SURROGATE_PAIR_SEQUENCE (-24706)
2346/** Invalid codepoint. */
2347#define VERR_JSON_INVALID_CODEPOINT (-24707)
2348/** @} */
2349
2350/** @name RTVfs status codes.
2351 * @{ */
2352/** Unknown file system format. */
2353#define VERR_VFS_UNKNOWN_FORMAT (-24800)
2354/** Found bogus values in the file system. */
2355#define VERR_VFS_BOGUS_FORMAT (-24801)
2356/** Found bogus offset in the file system. */
2357#define VERR_VFS_BOGUS_OFFSET (-24802)
2358/** Unsupported file system format. */
2359#define VERR_VFS_UNSUPPORTED_FORMAT (-24803)
2360/** Unsupported create type in an RTVfsObjOpen or RTVfsDirOpenObj call. */
2361#define VERR_VFS_UNSUPPORTED_CREATE_TYPE (-24804)
2362/** @} */
2363
2364/** @name RTFsIsoMaker status codes.
2365 * @{ */
2366/** No validation entry in the boot catalog. */
2367#define VERR_ISOMK_BOOT_CAT_NO_VALIDATION_ENTRY (-25000)
2368/** No default entry in the boot catalog. */
2369#define VERR_ISOMK_BOOT_CAT_NO_DEFAULT_ENTRY (-25001)
2370/** Expected section header. */
2371#define VERR_ISOMK_BOOT_CAT_EXPECTED_SECTION_HEADER (-25002)
2372/** Entry in a boot catalog section is empty. */
2373#define VERR_ISOMK_BOOT_CAT_EMPTY_ENTRY (-25003)
2374/** Entry in a boot catalog section is another section. */
2375#define VERR_ISOMK_BOOT_CAT_INVALID_SECTION_SIZE (-25004)
2376/** Unsectioned boot catalog entry. */
2377#define VERR_ISOMK_BOOT_CAT_ERRATIC_ENTRY (-25005)
2378/** The file is too big for the current ISO level (4GB+ sized files
2379 * requires ISO level 3). */
2380#define VERR_ISOMK_FILE_TOO_BIG_REQ_ISO_LEVEL_3 (-25006)
2381/** Cannot add symbolic link to namespace which isn't configured to support it. */
2382#define VERR_ISOMK_SYMLINK_REQ_ROCK_RIDGE (-25007)
2383/** Cannot add symbolic link to one of the selected namespaces. */
2384#define VINF_ISOMK_SYMLINK_REQ_ROCK_RIDGE (25007)
2385/** Cannot add symbolic link because no namespace is configured to support it. */
2386#define VERR_ISOMK_SYMLINK_SUPPORT_DISABLED (-25008)
2387/** No space for rock ridge 'CE' entry in directory record. */
2388#define VERR_ISOMK_RR_NO_SPACE_FOR_CE (-25009)
2389/** Internal ISO maker error: Rock ridge read problem. */
2390#define VERR_ISOMK_IPE_RR_READ (-25010)
2391/** Internal ISO maker error: Buggy namespace table. */
2392#define VERR_ISOMK_IPE_TABLE (-25011)
2393/** Internal ISO maker error: Namespace problem \#1. */
2394#define VERR_ISOMK_IPE_NAMESPACE_1 (-25012)
2395/** Internal ISO maker error: Namespace problem \#2. */
2396#define VERR_ISOMK_IPE_NAMESPACE_2 (-25013)
2397/** Internal ISO maker error: Namespace problem \#3. */
2398#define VERR_ISOMK_IPE_NAMESPACE_3 (-25014)
2399/** Internal ISO maker error: Namespace problem \#4. */
2400#define VERR_ISOMK_IPE_NAMESPACE_4 (-25015)
2401/** Internal ISO maker error: Namespace problem \#5. */
2402#define VERR_ISOMK_IPE_NAMESPACE_5 (-25016)
2403/** Internal ISO maker error: Namespace problem \#6. */
2404#define VERR_ISOMK_IPE_NAMESPACE_6 (-25017)
2405/** Internal ISO maker error: Empty path. */
2406#define VERR_ISOMK_IPE_EMPTY_PATH (-25018)
2407/** Internal ISO maker error: Unexpected empty component. */
2408#define VERR_ISOMK_IPE_EMPTY_COMPONENT (-25019)
2409/** Internal ISO maker error: Expected path to start with root slash. */
2410#define VERR_ISOMK_IPE_ROOT_SLASH (-25020)
2411/** Internal ISO maker error: Descriptor miscounting. */
2412#define VERR_ISOMK_IPE_DESC_COUNT (-25021)
2413/** Internal ISO maker error: Buffer size. */
2414#define VERR_ISOMK_IPE_BUFFER_SIZE (-25022)
2415/** Internal ISO maker error: Boot catalog file handle problem. */
2416#define VERR_ISOMK_IPE_BOOT_CAT_FILE (-25023)
2417/** Internal ISO maker error: Inconsistency produing trans.tbl file. */
2418#define VERR_ISOMK_IPE_PRODUCE_TRANS_TBL (-25024)
2419/** Internal ISO maker error: Read file data probem \#1. */
2420#define VERR_ISOMK_IPE_READ_FILE_DATA_1 (-25025)
2421/** Internal ISO maker error: Read file data probem \#2. */
2422#define VERR_ISOMK_IPE_READ_FILE_DATA_2 (-25026)
2423/** Internal ISO maker error: Read file data probem \#3. */
2424#define VERR_ISOMK_IPE_READ_FILE_DATA_3 (-25027)
2425/** Internal ISO maker error: Finalization problem \#1. */
2426#define VERR_ISOMK_IPE_FINALIZE_1 (-25028)
2427/** The spill file grew larger than 4GB. */
2428#define VERR_ISOMK_RR_SPILL_FILE_FULL (-25029)
2429
2430/** Requested to import an unknown ISO format. */
2431#define VERR_ISOMK_IMPORT_UNKNOWN_FORMAT (-25100)
2432/** Too many volume descriptors in the import ISO. */
2433#define VERR_ISOMK_IMPORT_TOO_MANY_VOL_DESCS (-25101)
2434/** Import ISO contains a bad volume descriptor header. */
2435#define VERR_ISOMK_IMPORT_INVALID_VOL_DESC_HDR (-25102)
2436/** Import ISO contains more than one primary volume descriptor. */
2437#define VERR_ISOMK_IMPORT_MULTIPLE_PRIMARY_VOL_DESCS (-25103)
2438/** Import ISO contains more than one el torito descriptor. */
2439#define VERR_ISOMK_IMPORT_MULTIPLE_EL_TORITO_DESCS (-25104)
2440/** Import ISO contains more than one joliet volume descriptor. */
2441#define VERR_ISOMK_IMPORT_MULTIPLE_JOLIET_VOL_DESCS (-25105)
2442/** Import ISO starts with supplementary volume descriptor before any
2443 * primary ones. */
2444#define VERR_ISOMK_IMPORT_SUPPLEMENTARY_BEFORE_PRIMARY (-25106)
2445/** Import ISO contains an unsupported primary volume descriptor version. */
2446#define VERR_IOSMK_IMPORT_PRIMARY_VOL_DESC_VER (-25107)
2447/** Import ISO contains a bad primary volume descriptor. */
2448#define VERR_ISOMK_IMPORT_BAD_PRIMARY_VOL_DESC (-25108)
2449/** Import ISO contains an unsupported supplementary volume descriptor
2450 * version. */
2451#define VERR_IOSMK_IMPORT_SUP_VOL_DESC_VER (-25109)
2452/** Import ISO contains a bad supplementary volume descriptor. */
2453#define VERR_ISOMK_IMPORT_BAD_SUP_VOL_DESC (-25110)
2454/** Import ISO uses a logical block size other than 2KB. */
2455#define VERR_ISOMK_IMPORT_LOGICAL_BLOCK_SIZE_NOT_2KB (-25111)
2456/** Import ISO contains more than volume. */
2457#define VERR_ISOMK_IMPORT_MORE_THAN_ONE_VOLUME_IN_SET (-25112)
2458/** Import ISO uses invalid volume sequence number. */
2459#define VERR_ISOMK_IMPORT_INVALID_VOLUMNE_SEQ_NO (-25113)
2460/** Import ISO has different volume space sizes of primary and supplementary
2461 * volume descriptors. */
2462#define VERR_ISOMK_IMPORT_VOLUME_SPACE_SIZE_MISMATCH (-25114)
2463/** Import ISO has different volume set sizes of primary and supplementary
2464 * volume descriptors. */
2465#define VERR_ISOMK_IMPORT_VOLUME_IN_SET_MISMATCH (-25115)
2466/** Import ISO contains a bad root directory record. */
2467#define VERR_ISOMK_IMPORT_BAD_ROOT_DIR_REC (-25116)
2468/** Import ISO contains a zero sized root directory. */
2469#define VERR_ISOMK_IMPORT_ZERO_SIZED_ROOT_DIR (-25117)
2470/** Import ISO contains a root directory with a mismatching volume sequence
2471 * number. */
2472#define VERR_ISOMK_IMPORT_ROOT_VOLUME_SEQ_NO (-25118)
2473/** Import ISO contains a root directory with an out of bounds data extent. */
2474#define VERR_ISOMK_IMPORT_ROOT_DIR_EXTENT_OUT_OF_BOUNDS (-25119)
2475/** Import ISO contains a root directory with a bad record length. */
2476#define VERR_ISOMK_IMPORT_BAD_ROOT_DIR_REC_LENGTH (-25120)
2477/** Import ISO contains a root directory without the directory flag set. */
2478#define VERR_ISOMK_IMPORT_ROOT_DIR_WITHOUT_DIR_FLAG (-25121)
2479/** Import ISO contains a root directory with multiple extents. */
2480#define VERR_ISOMK_IMPORT_ROOT_DIR_IS_MULTI_EXTENT (-25122)
2481/** Import ISO contains a too deep directory subtree. */
2482#define VERR_ISOMK_IMPORT_TOO_DEEP_DIR_TREE (-25123)
2483/** Import ISO contains a bad directory record. */
2484#define VERR_ISOMK_IMPORT_BAD_DIR_REC (-25124)
2485/** Import ISO contains a directory record with a mismatching volume sequence
2486 * number. */
2487#define VERR_ISOMK_IMPORT_DIR_REC_VOLUME_SEQ_NO (-25125)
2488/** Import ISO contains a directory with an extent that is out of bounds. */
2489#define VERR_ISOMK_IMPORT_DIR_REC_EXTENT_OUT_OF_BOUNDS (-25126)
2490/** Import ISO contains a directory with a bad record length. */
2491#define VERR_ISOMK_IMPORT_BAD_DIR_REC_LENGTH (-25127)
2492/** Import ISO contains a '.' or '..' directory record with a bad name
2493 * length. */
2494#define VERR_ISOMK_IMPORT_DOT_DIR_REC_BAD_NAME_LENGTH (-25128)
2495/** Import ISO contains a '.' or '..' directory record with a bad name. */
2496#define VERR_ISOMK_IMPORT_DOT_DIR_REC_BAD_NAME (-25129)
2497/** Import ISO contains a directory with a more than one extent, that's
2498 * currently not supported. */
2499#define VERR_ISOMK_IMPORT_DIR_WITH_MORE_EXTENTS (-25130)
2500/** Import ISO contains a multi-extent directory record that differs
2501 * significantly from first record. */
2502#define VERR_ISOMK_IMPORT_MISMATCHING_MULTI_EXTENT_REC (-25131)
2503/** Import ISO contains a non-final multi-extent directory record with a
2504 * size that isn't block aligned. */
2505#define VERR_ISOMK_IMPORT_MISALIGNED_MULTI_EXTENT (-25132)
2506/** Import ISO contains a non-contigiuous multi-extent data, this is
2507 * currently not supported. */
2508#define VERR_ISOMK_IMPORT_NON_CONTIGUOUS_MULTI_EXTENT (-25133)
2509
2510/** The boot catalog block in the import ISO is out of bounds. */
2511#define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_OUT_OF_BOUNDS (-25140)
2512/** The boot catalog block in the import ISO has an incorrect validation
2513 * header ID. */
2514#define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_HEADER_ID (-25141)
2515/** The boot catalog validation entry in the import ISO has incorrect keys. */
2516#define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_KEYS (-25142)
2517/** The boot catalog validation entry in the import ISO has an incorrect checksum. */
2518#define VERR_ISOMK_IMPORT_BOOT_CAT_BAD_VALIDATION_CHECKSUM (-25143)
2519/** A boot catalog entry in the import ISO has an unknown type. */
2520#define VERR_ISOMK_IMPORT_BOOT_CAT_UNKNOWN_HEADER_ID (-25144)
2521/** A boot catalog entry in the import ISO has an invalid boot media type. */
2522#define VERR_ISOMK_IMPORT_BOOT_CAT_INVALID_BOOT_MEDIA_TYPE (-25145)
2523/** The default boot catalog entry in the import ISO has invalid flags set. */
2524#define VERR_ISOMK_IMPORT_BOOT_CAT_DEF_ENTRY_INVALID_FLAGS (-25146)
2525/** A boot catalog entry in the import ISO has reserved flag set. */
2526#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_RESERVED_FLAG (-25147)
2527/** A boot catalog entry in the import ISO is using the unused field. */
2528#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_USES_UNUSED_FIELD (-25148)
2529/** A boot catalog entry in the import ISO points to a block after the end of
2530 * the image input file. */
2531#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_IMAGE_OUT_OF_BOUNDS (-25149)
2532/** A boot catalog entry in the import ISO has an image with an
2533 * indeterminate size. */
2534#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_UNKNOWN_IMAGE_SIZE (-25150)
2535/** The boot catalog in the import ISO is larger than a sector or it is
2536 * missing the final section header entry. */
2537#define VERR_ISOMK_IMPORT_BOOT_CAT_MISSING_FINAL_OR_TOO_BIG (-25151)
2538/** The default boot catalog entry in the import ISO an invalid boot
2539 * indicator value. */
2540#define VERR_ISOMK_IMPORT_BOOT_CAT_DEF_ENTRY_INVALID_BOOT_IND (-25152)
2541/** A boot catalog extension entry in the import ISO was either flagged
2542 * incorrectly in the previous entry or has an invalid header ID. */
2543#define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_INVALID_ID (-25153)
2544/** A boot catalog extension entry in the import ISO uses undefined flags
2545 * which will be lost. */
2546#define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_UNDEFINED_FLAGS (-25154)
2547/** A boot catalog extension entry in the import ISO indicates more entries when
2548 * we reached the end of the boot catalog sector. */
2549#define VERR_ISOMK_IMPORT_BOOT_CAT_EXT_ENTRY_END_OF_SECTOR (-25155)
2550/** A boot catalog entry in the import ISO sets the continuation flag when using
2551 * NONE as the selection criteria type. */
2552#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_CONTINUATION_WITH_NONE (-25156)
2553/** A boot catalog entry in the import ISO sets the continuation flag when
2554 * we reached the ned of the boot catalog secotr. */
2555#define VERR_ISOMK_IMPORT_BOOT_CAT_ENTRY_CONTINUATION_EOS (-25157)
2556/** @} */
2557
2558
2559/** @name RTFsIsoVol status codes
2560 * @{ */
2561/** Descriptor tag is all zeros. */
2562#define VERR_ISOFS_TAG_IS_ALL_ZEROS (-25300)
2563/** Unsupported descriptor tag version. */
2564#define VERR_ISOFS_UNSUPPORTED_TAG_VERSION (-25301)
2565/** Bad descriptor tag checksum. */
2566#define VERR_ISOFS_BAD_TAG_CHECKSUM (-25302)
2567/** Descriptor tag sector number mismatch. */
2568#define VERR_ISOFS_TAG_SECTOR_MISMATCH (-25303)
2569/** Descriptor CRC mismatch. */
2570#define VERR_ISOFS_DESC_CRC_MISMATCH (-25304)
2571/** Insufficient data to check descriptor CRC. */
2572#define VERR_ISOFS_INSUFFICIENT_DATA_FOR_DESC_CRC (-25305)
2573/** Unexpected/unknown/bad descriptor in volume descriptor sequence. */
2574#define VERR_ISOFS_UNEXPECTED_VDS_DESC (-25306)
2575/** Too many primary volume descriptors. */
2576#define VERR_ISOFS_TOO_MANY_PVDS (-25307)
2577/** Too many logical volume descriptors. */
2578#define VERR_ISOFS_TOO_MANY_LVDS (-25308)
2579/** Too many partition descriptors. */
2580#define VERR_ISOFS_TOO_MANY_PDS (-25309)
2581/** The logical volume descriptor has a too big partition map. */
2582#define VERR_ISOFS_TOO_BIT_PARTMAP_IN_LVD (-25310)
2583/** No primary volume descriptors found. */
2584#define VERR_ISOFS_NO_PVD (-25311)
2585/** No logical volume descriptors found. */
2586#define VERR_ISOFS_NO_LVD (-25312)
2587/** No partition descriptors found. */
2588#define VERR_ISOFS_NO_PD (-25313)
2589/** Multiple primary volume descriptors found, we can only deal with one. */
2590#define VERR_ISOFS_MULTIPLE_PVDS (-25314)
2591/** Multiple logical volume descriptors found, we can only deal with one. */
2592#define VERR_ISOFS_MULTIPLE_LVDS (-25315)
2593/** Too many partition maps in the logical volume descriptor. */
2594#define VERR_ISOFS_TOO_MANY_PART_MAPS (-25316)
2595/** Malformed partition map table in the logical volume descriptor. */
2596#define VERR_ISOFS_MALFORMED_PART_MAP_TABLE (-25317)
2597/** Unable to find partition descriptor for a partition map table entry. */
2598#define VERR_ISOFS_PARTITION_NOT_FOUND (-25318)
2599/** Partition mapping table is shorted than described. */
2600#define VERR_ISOFS_INCOMPLETE_PART_MAP_TABLE (-25319)
2601/** Unknown partition map entry type. */
2602#define VERR_ISOFS_UNKNOWN_PART_MAP_ENTRY_TYPE (-25320)
2603/** Unkonwn paritition ID found in the partition map table. */
2604#define VERR_ISOFS_UNKNOWN_PART_MAP_TYPE_ID (-25321)
2605/** Support for virtual partitions as not yet been implemented. */
2606#define VERR_ISOFS_VPM_NOT_SUPPORTED (-25322)
2607/** Support for sparable partitions as not yet been implemented. */
2608#define VERR_ISOFS_SPM_NOT_SUPPORTED (-25323)
2609/** Support for metadata partitions as not yet been implemented. */
2610#define VERR_ISOFS_MPM_NOT_SUPPORTED (-25324)
2611/** Invalid or unsupported logical block size. */
2612#define VERR_ISOFS_UNSUPPORTED_LOGICAL_BLOCK_SIZE (-25325)
2613/** Unsupported domain ID in logical volume descriptor. */
2614#define VERR_ISOFS_BAD_LVD_DOMAIN_ID (-25326)
2615/** Malformed or invalid file set descriptor location. */
2616#define VERR_ISOFS_BAD_LVD_FILE_SET_DESC_LOCATION (-25327)
2617/** Non-standard descriptor character set in the logical volume descriptor. */
2618#define VERR_ISOFS_BAD_LVD_DESC_CHAR_SET (-25329)
2619/** Invalid partition index in a location. */
2620#define VERR_ISOFS_INVALID_PARTITION_INDEX (-25330)
2621/** Unsupported file system charset. */
2622#define VERR_ISOFS_FSD_UNSUPPORTED_CHAR_SET (-25331)
2623/** File set descriptor has an zero length or invalid root dir extent. */
2624#define VERR_ISOFS_FSD_ZERO_ROOT_DIR (-25332)
2625/** File set descriptor has a next extent member. */
2626#define VERR_ISOFS_FSD_NEXT_EXTENT (-25333)
2627/** The ICB for is too big. */
2628#define VERR_ISOFS_ICB_TOO_BIG (-25334)
2629/** The ICB for is too small. */
2630#define VERR_ISOFS_ICB_TOO_SMALL (-25335)
2631/** No direct ICB entries found. */
2632#define VERR_ISOFS_NO_DIRECT_ICB_ENTRIES (-25336)
2633/** Too many ICB indirections, possibly a loop. */
2634#define VERR_ISOFS_TOO_MANY_ICB_INDIRECTIONS (-25337)
2635/** Too deep ICB recursion. */
2636#define VERR_ISOFS_TOO_DEEP_ICB_RECURSION (-25338)
2637/** ICB is too small to contain anything useful. */
2638#define VERR_ISOFS_ICB_ENTRY_TOO_SMALL (-25339)
2639/** Unsupported tag encountered in ICB. */
2640#define VERR_ISOFS_UNSUPPORTED_ICB (-25340)
2641/** Bad file entry (ICB). */
2642#define VERR_ISOFS_BAD_FILE_ENTRY (-25341)
2643/** Unknown allocation descriptor type. */
2644#define VERR_ISO_FS_UNKNOWN_AD_TYPE (-25342)
2645/** Malformed extended allocation descriptor. */
2646#define VERR_ISOFS_BAD_EXTAD (-25343)
2647/** Wrong file type. */
2648#define VERR_ISOFS_WRONG_FILE_TYPE (-25344)
2649/** Unknow file type. */
2650#define VERR_ISOFS_UNKNOWN_FILE_TYPE (-25345)
2651
2652/** Not implemented for UDF. */
2653#define VERR_ISOFS_UDF_NOT_IMPLEMENTED (-25390)
2654/** Internal processing error \#1. */
2655#define VERR_ISOFS_IPE_1 (-25391)
2656/** Internal processing error \#2. */
2657#define VERR_ISOFS_IPE_2 (-25392)
2658/** Internal processing error \#3. */
2659#define VERR_ISOFS_IPE_3 (-25393)
2660/** Internal processing error \#4. */
2661#define VERR_ISOFS_IPE_4 (-25394)
2662/** Internal processing error \#5. */
2663#define VERR_ISOFS_IPE_5 (-25395)
2664/** @} */
2665
2666
2667/** @name RTSerialPort status codes
2668 * @{ */
2669/** A break was detected until all requested data could be received. */
2670#define VERR_SERIALPORT_BREAK_DETECTED (-25500)
2671/** The chosen baudrate is invalid or not supported by the given serial port. */
2672#define VERR_SERIALPORT_INVALID_BAUDRATE (-25501)
2673/** @} */
2674
2675
2676/** @name RTCRest status codes
2677 * @{ */
2678/** Do not know how to handle the content type in the server response. */
2679#define VERR_REST_RESPONSE_CONTENT_TYPE_NOT_SUPPORTED (-25700)
2680/** Invalid UTF-8 encoding in the response. */
2681#define VERR_REST_RESPONSE_INVALID_UTF8_ENCODING (-25701)
2682/** Server response contains embedded zero character(s). */
2683#define VERR_REST_RESPONSE_EMBEDDED_ZERO_CHAR (-25702)
2684/** Server response contains unexpected repetitive header field. */
2685#define VERR_REST_RESPONSE_REPEAT_HEADER_FIELD (-25703)
2686/** Unable to decode date value. */
2687#define VWRN_REST_UNABLE_TO_DECODE_DATE (25704)
2688/** Unable to decode date value. */
2689#define VERR_REST_UNABLE_TO_DECODE_DATE (-25704)
2690/** Wrong JSON type for bool value. */
2691#define VERR_REST_WRONG_JSON_TYPE_FOR_BOOL (-25705)
2692/** Wrong JSON type for integer value. */
2693#define VERR_REST_WRONG_JSON_TYPE_FOR_INTEGER (-25706)
2694/** Wrong JSON type for double value. */
2695#define VERR_REST_WRONG_JSON_TYPE_FOR_DOUBLE (-25707)
2696/** Wrong JSON type for string value. */
2697#define VERR_REST_WRONG_JSON_TYPE_FOR_STRING (-25708)
2698/** Wrong JSON type for date value. */
2699#define VERR_REST_WRONG_JSON_TYPE_FOR_DATE (-25709)
2700/** Unable to parse string as bool. */
2701#define VERR_REST_UNABLE_TO_PARSE_STRING_AS_BOOL (-25710)
2702/** A path parameter was not set. */
2703#define VERR_REST_PATH_PARAMETER_NOT_SET (-25711)
2704/** A required query parameter was not set. */
2705#define VERR_REST_REQUIRED_QUERY_PARAMETER_NOT_SET (-25712)
2706/** A required header parmaeter was not set. */
2707#define VERR_REST_REQUIRED_HEADER_PARAMETER_NOT_SET (-25713)
2708
2709/** Internal error \#1. */
2710#define VERR_REST_INTERNAL_ERROR_1 (-25791)
2711/** Internal error \#2. */
2712#define VERR_REST_INTERNAL_ERROR_2 (-25792)
2713/** Internal error \#3. */
2714#define VERR_REST_INTERNAL_ERROR_3 (-25793)
2715/** Internal error \#4. */
2716#define VERR_REST_INTERNAL_ERROR_4 (-25794)
2717/** Internal error \#5. */
2718#define VERR_REST_INTERNAL_ERROR_5 (-25795)
2719/** Internal error \#6. */
2720#define VERR_REST_INTERNAL_ERROR_6 (-25796)
2721/** Internal error \#7. */
2722#define VERR_REST_INTERNAL_ERROR_7 (-25797)
2723/** Internal error \#8. */
2724#define VERR_REST_INTERNAL_ERROR_8 (-25798)
2725/** Internal error \#9. */
2726#define VERR_REST_INTERNAL_ERROR_9 (-25799)
2727/** @} */
2728
2729
2730/** @name RTCrCipher status codes
2731 * @{ */
2732/** Unsupported cipher. */
2733#define VERR_CR_CIPHER_NOT_SUPPORTED (-25800)
2734/** EVP_EncryptInit failed. */
2735#define VERR_CR_CIPHER_OSSL_ENCRYPT_INIT_FAILED (-25801)
2736/** EVP_EncryptUpdate failed. */
2737#define VERR_CR_CIPHER_OSSL_ENCRYPT_UPDATE_FAILED (-25802)
2738/** EVP_EncryptFinal failed. */
2739#define VERR_CR_CIPHER_OSSL_ENCRYPT_FINAL_FAILED (-25803)
2740/** EVP_DecryptInit failed. */
2741#define VERR_CR_CIPHER_OSSL_DECRYPT_INIT_FAILED (-25804)
2742/** EVP_DecryptUpdate failed. */
2743#define VERR_CR_CIPHER_OSSL_DECRYPT_UPDATE_FAILED (-25805)
2744/** EVP_DecryptFinal failed. */
2745#define VERR_CR_CIPHER_OSSL_DECRYPT_FINAL_FAILED (-25806)
2746/** Invalid key length. */
2747#define VERR_CR_CIPHER_INVALID_KEY_LENGTH (-25807)
2748/** Invalid initialization vector length. */
2749#define VERR_CR_CIPHER_INVALID_INITIALIZATION_VECTOR_LENGTH (-25808)
2750/** Invalid tag length. */
2751#define VERR_CR_CIPHER_INVALID_TAG_LENGTH (-25809)
2752/** EVP_CIPHER_CTX_ctrl EVP_CTRL_AEAD_GET_TAG failed. */
2753#define VERR_CR_CIPHER_OSSL_GET_TAG_FAILED (-25810)
2754/** EVP_CIPHER_CTX_ctrl EVP_CTRL_AEAD_SET_TAG failed. */
2755#define VERR_CR_CIPHER_OSSL_SET_TAG_FAILED (-25811)
2756/** @} */
2757
2758
2759/** @name RTShMem status codes
2760 * @{ */
2761/** Maximum number of mappings reached. */
2762#define VERR_SHMEM_MAXIMUM_MAPPINGS_REACHED (-26000)
2763/** @} */
2764
2765
2766/** @name RTIoQueue status codes
2767 * @{ */
2768/** The handle was not registered for use with the I/O queue. */
2769#define VERR_IOQUEUE_HANDLE_NOT_REGISTERED (-26200)
2770/** The I/O queue is full and can't accept more requests. */
2771#define VERR_IOQUEUE_FULL (-26201)
2772/** The I/O queue doesn't contain any prepared requests to commit or wait for completion. */
2773#define VERR_IOQUEUE_EMPTY (-26202)
2774/** The I/O queue has requests pending which need complete first. */
2775#define VERR_IOQUEUE_BUSY (-26203)
2776/** @} */
2777
2778
2779/** @name FTP status codes
2780 * @{ */
2781/** FTP Internal Server Error. */
2782#define VERR_FTP_STATUS_SERVER_ERROR (-26400)
2783/** FTP initialization failed. */
2784#define VERR_FTP_INIT_FAILED (-26401)
2785/** Data connection not found. */
2786#define VERR_FTP_DATA_CONN_INIT_FAILED (-26402)
2787/** Data connection not found. */
2788#define VERR_FTP_DATA_CONN_NOT_FOUND (-26403)
2789/** Data connection limit has been reached. */
2790#define VERR_FTP_DATA_CONN_LIMIT_REACHED (-26404)
2791/** Client not found. */
2792#define VERR_FTP_CLIENT_NOT_FOUND (-26405)
2793/** Client limit has been reached. */
2794#define VERR_FTP_CLIENT_LIMIT_REACHED (-26406)
2795/** @} */
2796
2797
2798/** @name Trace Log status codes.
2799 * @{ */
2800/** The trace log is malformed. */
2801#define VERR_TRACELOG_READER_MALFORMED_LOG (-26600)
2802/** The trace log version is not supported. */
2803#define VERR_TRACELOG_READER_LOG_UNSUPPORTED (-26601)
2804/** The trace log reader iterator reached the end of the event list. */
2805#define VERR_TRACELOG_READER_ITERATOR_END (-26602)
2806/** @} */
2807
2808
2809/** @name Hardened AVL tree status codes.
2810 * @{ */
2811/** Node index is out of bounds. */
2812#define VERR_HARDAVL_INDEX_OUT_OF_BOUNDS (-26801)
2813/** Node pointer is not within the memory allocated for nodes. */
2814#define VERR_HARDAVL_POINTER_OUT_OF_BOUNDS (-26802)
2815/** Node pointer does not point to the start of a node. */
2816#define VERR_HARDAVL_MISALIGNED_POINTER (-26803)
2817/** Bogus reference to freed node. */
2818#define VERR_HARDAVL_NODE_IS_FREE (-26804)
2819/** Stack overflow during AVL tree operation. */
2820#define VERR_HARDAVL_STACK_OVERFLOW (-26810)
2821/** Attempted to insert mode with invalid key range. */
2822#define VERR_HARDAVL_INSERT_INVALID_KEY_RANGE (-26811)
2823/** Bad left tree height. */
2824#define VERR_HARDAVL_BAD_LEFT_HEIGHT (-26812)
2825/** Bad left right height. */
2826#define VERR_HARDAVL_BAD_RIGHT_HEIGHT (-26813)
2827/** Bad new tree height. */
2828#define VERR_HARDAVL_BAD_NEW_HEIGHT (-26814)
2829/** Unexpected NULL pointer to left subtree. */
2830#define VERR_HARDAVL_UNEXPECTED_NULL_LEFT (-26815)
2831/** Unexpected NULL pointer to right subtree. */
2832#define VERR_HARDAVL_UNEXPECTED_NULL_RIGHT (-26816)
2833/** Tree traversal encountered more nodes than available in the allocator. */
2834#define VERR_HARDAVL_TRAVERSED_TOO_MANY_NODES (-26817)
2835/** Too deep walk during lookup. */
2836#define VERR_HARDAVL_LOOKUP_TOO_DEEP (-26818)
2837/** Bad tree height. */
2838#define VERR_HARDAVL_BAD_HEIGHT (-26819)
2839/** Unbalanced tree. */
2840#define VERR_HARDAVL_UNBALANCED (-26820)
2841/** @} */
2842
2843
2844/** @name RTFdt status codes.
2845 * @{ */
2846/** The DTB being parsed is malformed. */
2847#define VERR_FDT_DTB_MALFORMED (-27000)
2848/** The DTB being parsed has an invalid header magic. */
2849#define VERR_FDT_DTB_HDR_MAGIC_INVALID (-27001)
2850/** The DTB being parsed has a version set which is not supported. */
2851#define VERR_FDT_DTB_HDR_VERSION_NOT_SUPPORTED (-27002)
2852/** The DTB being parsed has an invalid last compatible version set. */
2853#define VERR_FDT_DTB_HDR_LAST_COMPAT_VERSION_INVALID (-27003)
2854/** The DTB being parsed has an invalid size set in the header compared to the actual size. */
2855#define VERR_FDT_DTB_HDR_SIZE_INVALID (-27004)
2856/** The DTB being parsed has an invalid memory reservation block offset. */
2857#define VERR_FDT_DTB_HDR_MEM_RSV_BLOCK_OFF_INVALID (-27005)
2858/** The DTB being parsed has an invalid struct block offset. */
2859#define VERR_FDT_DTB_HDR_STRUCT_BLOCK_OFF_INVALID (-27006)
2860/** The DTB being parsed has an invalid strings block offset. */
2861#define VERR_FDT_DTB_HDR_STRINGS_BLOCK_OFF_INVALID (-27007)
2862/** The DTB being parsed has no terminating memory reservation block entry before the start of the structs block. */
2863#define VERR_FDT_DTB_MEM_RSV_BLOCK_TERMINATOR_MISSING (-27008)
2864/** The DTB being parsed has an invalid strings block offset. */
2865#define VERR_FDT_DTB_STRINGS_BLOCK_NOT_TERMINATED (-27009)
2866/** The DTB structs block starts with an invalid token. */
2867#define VERR_FDT_DTB_STRUCTS_BLOCK_TOKEN_INVALID (-27010)
2868/** The DTB structs block contains an invalid node name. */
2869#define VERR_FDT_DTB_STRUCTS_BLOCK_NODE_NAME_INVALID (-27011)
2870/** The DTB structs block contains an unterminated string. */
2871#define VERR_FDT_DTB_STRUCTS_BLOCK_STRING_NOT_TERMINATED (-27012)
2872/** The DTB structs block contains a malformed padding at the end. */
2873#define VERR_FDT_DTB_STRUCTS_BLOCK_MALFORMED_PADDING (-27013)
2874/** The DTB structs block ended prematurely. */
2875#define VERR_FDT_DTB_STRUCTS_BLOCK_PREMATURE_END (-27014)
2876/** The DTB property name offset points past the string block. */
2877#define VERR_FDT_DTB_PROP_NAME_OFF_TOO_LARGE (-27015)
2878/** The DTB property payload size does not match the expectations. */
2879#define VERR_FDT_DTB_PROP_SIZE_MALFORMED (-27016)
2880/** The DTB property payload string is not terminated. */
2881#define VERR_FDT_DTB_PROP_STRING_NOT_TERMINATED (-27017)
2882/** Can't finalize the node as the FDT cursor is at the root level already. */
2883#define VERR_FDT_AT_ROOT_LEVEL (-27018)
2884/** @} */
2885
2886/* SED-END */
2887
2888/** @} */
2889
2890#endif /* !IPRT_INCLUDED_err_h */
2891
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette