0001
0002
0003
0004 #ifndef __UAPI_VBOX_ERR_H__
0005 #define __UAPI_VBOX_ERR_H__
0006
0007 #define VINF_SUCCESS 0
0008 #define VERR_GENERAL_FAILURE (-1)
0009 #define VERR_INVALID_PARAMETER (-2)
0010 #define VERR_INVALID_MAGIC (-3)
0011 #define VERR_INVALID_HANDLE (-4)
0012 #define VERR_LOCK_FAILED (-5)
0013 #define VERR_INVALID_POINTER (-6)
0014 #define VERR_IDT_FAILED (-7)
0015 #define VERR_NO_MEMORY (-8)
0016 #define VERR_ALREADY_LOADED (-9)
0017 #define VERR_PERMISSION_DENIED (-10)
0018 #define VERR_VERSION_MISMATCH (-11)
0019 #define VERR_NOT_IMPLEMENTED (-12)
0020 #define VERR_INVALID_FLAGS (-13)
0021
0022 #define VERR_NOT_EQUAL (-18)
0023 #define VERR_NOT_SYMLINK (-19)
0024 #define VERR_NO_TMP_MEMORY (-20)
0025 #define VERR_INVALID_FMODE (-21)
0026 #define VERR_WRONG_ORDER (-22)
0027 #define VERR_NO_TLS_FOR_SELF (-23)
0028 #define VERR_FAILED_TO_SET_SELF_TLS (-24)
0029 #define VERR_NO_CONT_MEMORY (-26)
0030 #define VERR_NO_PAGE_MEMORY (-27)
0031 #define VERR_THREAD_IS_DEAD (-29)
0032 #define VERR_THREAD_NOT_WAITABLE (-30)
0033 #define VERR_PAGE_TABLE_NOT_PRESENT (-31)
0034 #define VERR_INVALID_CONTEXT (-32)
0035 #define VERR_TIMER_BUSY (-33)
0036 #define VERR_ADDRESS_CONFLICT (-34)
0037 #define VERR_UNRESOLVED_ERROR (-35)
0038 #define VERR_INVALID_FUNCTION (-36)
0039 #define VERR_NOT_SUPPORTED (-37)
0040 #define VERR_ACCESS_DENIED (-38)
0041 #define VERR_INTERRUPTED (-39)
0042 #define VERR_TIMEOUT (-40)
0043 #define VERR_BUFFER_OVERFLOW (-41)
0044 #define VERR_TOO_MUCH_DATA (-42)
0045 #define VERR_MAX_THRDS_REACHED (-43)
0046 #define VERR_MAX_PROCS_REACHED (-44)
0047 #define VERR_SIGNAL_REFUSED (-45)
0048 #define VERR_SIGNAL_PENDING (-46)
0049 #define VERR_SIGNAL_INVALID (-47)
0050 #define VERR_STATE_CHANGED (-48)
0051 #define VERR_INVALID_UUID_FORMAT (-49)
0052 #define VERR_PROCESS_NOT_FOUND (-50)
0053 #define VERR_PROCESS_RUNNING (-51)
0054 #define VERR_TRY_AGAIN (-52)
0055 #define VERR_PARSE_ERROR (-53)
0056 #define VERR_OUT_OF_RANGE (-54)
0057 #define VERR_NUMBER_TOO_BIG (-55)
0058 #define VERR_NO_DIGITS (-56)
0059 #define VERR_NEGATIVE_UNSIGNED (-57)
0060 #define VERR_NO_TRANSLATION (-58)
0061
0062 #define VERR_NOT_FOUND (-78)
0063 #define VERR_INVALID_STATE (-79)
0064 #define VERR_OUT_OF_RESOURCES (-80)
0065
0066 #define VERR_FILE_NOT_FOUND (-102)
0067 #define VERR_PATH_NOT_FOUND (-103)
0068 #define VERR_INVALID_NAME (-104)
0069 #define VERR_ALREADY_EXISTS (-105)
0070 #define VERR_TOO_MANY_OPEN_FILES (-106)
0071 #define VERR_SEEK (-107)
0072 #define VERR_NEGATIVE_SEEK (-108)
0073 #define VERR_SEEK_ON_DEVICE (-109)
0074 #define VERR_EOF (-110)
0075 #define VERR_READ_ERROR (-111)
0076 #define VERR_WRITE_ERROR (-112)
0077 #define VERR_WRITE_PROTECT (-113)
0078 #define VERR_SHARING_VIOLATION (-114)
0079 #define VERR_FILE_LOCK_FAILED (-115)
0080 #define VERR_FILE_LOCK_VIOLATION (-116)
0081 #define VERR_CANT_CREATE (-117)
0082 #define VERR_CANT_DELETE_DIRECTORY (-118)
0083 #define VERR_NOT_SAME_DEVICE (-119)
0084 #define VERR_FILENAME_TOO_LONG (-120)
0085 #define VERR_MEDIA_NOT_PRESENT (-121)
0086 #define VERR_MEDIA_NOT_RECOGNIZED (-122)
0087 #define VERR_FILE_NOT_LOCKED (-123)
0088 #define VERR_FILE_LOCK_LOST (-124)
0089 #define VERR_DIR_NOT_EMPTY (-125)
0090 #define VERR_NOT_A_DIRECTORY (-126)
0091 #define VERR_IS_A_DIRECTORY (-127)
0092 #define VERR_FILE_TOO_BIG (-128)
0093
0094 #define VERR_NET_IO_ERROR (-400)
0095 #define VERR_NET_OUT_OF_RESOURCES (-401)
0096 #define VERR_NET_HOST_NOT_FOUND (-402)
0097 #define VERR_NET_PATH_NOT_FOUND (-403)
0098 #define VERR_NET_PRINT_ERROR (-404)
0099 #define VERR_NET_NO_NETWORK (-405)
0100 #define VERR_NET_NOT_UNIQUE_NAME (-406)
0101
0102 #define VERR_NET_IN_PROGRESS (-436)
0103 #define VERR_NET_ALREADY_IN_PROGRESS (-437)
0104 #define VERR_NET_NOT_SOCKET (-438)
0105 #define VERR_NET_DEST_ADDRESS_REQUIRED (-439)
0106 #define VERR_NET_MSG_SIZE (-440)
0107 #define VERR_NET_PROTOCOL_TYPE (-441)
0108 #define VERR_NET_PROTOCOL_NOT_AVAILABLE (-442)
0109 #define VERR_NET_PROTOCOL_NOT_SUPPORTED (-443)
0110 #define VERR_NET_SOCKET_TYPE_NOT_SUPPORTED (-444)
0111 #define VERR_NET_OPERATION_NOT_SUPPORTED (-445)
0112 #define VERR_NET_PROTOCOL_FAMILY_NOT_SUPPORTED (-446)
0113 #define VERR_NET_ADDRESS_FAMILY_NOT_SUPPORTED (-447)
0114 #define VERR_NET_ADDRESS_IN_USE (-448)
0115 #define VERR_NET_ADDRESS_NOT_AVAILABLE (-449)
0116 #define VERR_NET_DOWN (-450)
0117 #define VERR_NET_UNREACHABLE (-451)
0118 #define VERR_NET_CONNECTION_RESET (-452)
0119 #define VERR_NET_CONNECTION_ABORTED (-453)
0120 #define VERR_NET_CONNECTION_RESET_BY_PEER (-454)
0121 #define VERR_NET_NO_BUFFER_SPACE (-455)
0122 #define VERR_NET_ALREADY_CONNECTED (-456)
0123 #define VERR_NET_NOT_CONNECTED (-457)
0124 #define VERR_NET_SHUTDOWN (-458)
0125 #define VERR_NET_TOO_MANY_REFERENCES (-459)
0126 #define VERR_NET_CONNECTION_TIMED_OUT (-460)
0127 #define VERR_NET_CONNECTION_REFUSED (-461)
0128 #define VERR_NET_HOST_DOWN (-464)
0129 #define VERR_NET_HOST_UNREACHABLE (-465)
0130 #define VERR_NET_PROTOCOL_ERROR (-466)
0131 #define VERR_NET_INCOMPLETE_TX_PACKET (-467)
0132
0133
0134 #define VERR_RESOURCE_BUSY (-138)
0135 #define VERR_DISK_FULL (-152)
0136 #define VERR_TOO_MANY_SYMLINKS (-156)
0137 #define VERR_NO_MORE_FILES (-201)
0138 #define VERR_INTERNAL_ERROR (-225)
0139 #define VERR_INTERNAL_ERROR_2 (-226)
0140 #define VERR_INTERNAL_ERROR_3 (-227)
0141 #define VERR_INTERNAL_ERROR_4 (-228)
0142 #define VERR_DEV_IO_ERROR (-250)
0143 #define VERR_IO_BAD_LENGTH (-255)
0144 #define VERR_BROKEN_PIPE (-301)
0145 #define VERR_NO_DATA (-304)
0146 #define VERR_SEM_DESTROYED (-363)
0147 #define VERR_DEADLOCK (-365)
0148 #define VERR_BAD_EXE_FORMAT (-608)
0149 #define VINF_HGCM_ASYNC_EXECUTE (2903)
0150
0151 #endif