VirtualBox Main API
|
This section describes all VirtualBox-specific COM result codes that may be returned by methods of VirtualBox COM interfaces in addition to standard COM result codes. More...
Variables | |
const HRESULT | VBOX_E_OBJECT_NOT_FOUND = 0x80BB0001 |
Object corresponding to the supplied arguments does not exist. | |
const HRESULT | VBOX_E_INVALID_VM_STATE = 0x80BB0002 |
Current virtual machine state prevents the operation. | |
const HRESULT | VBOX_E_VM_ERROR = 0x80BB0003 |
Virtual machine error occurred attempting the operation. | |
const HRESULT | VBOX_E_FILE_ERROR = 0x80BB0004 |
File not accessible or erroneous file contents. | |
const HRESULT | VBOX_E_IPRT_ERROR = 0x80BB0005 |
Runtime subsystem error. | |
const HRESULT | VBOX_E_PDM_ERROR = 0x80BB0006 |
Pluggable Device Manager error. | |
const HRESULT | VBOX_E_INVALID_OBJECT_STATE = 0x80BB0007 |
Current object state prohibits operation. | |
const HRESULT | VBOX_E_HOST_ERROR = 0x80BB0008 |
Host operating system related error. | |
const HRESULT | VBOX_E_NOT_SUPPORTED = 0x80BB0009 |
Requested operation is not supported. | |
const HRESULT | VBOX_E_XML_ERROR = 0x80BB000A |
Invalid XML found. | |
const HRESULT | VBOX_E_INVALID_SESSION_STATE = 0x80BB000B |
Current session state prohibits operation. | |
const HRESULT | VBOX_E_OBJECT_IN_USE = 0x80BB000C |
Object being in use prohibits operation. | |
const HRESULT | VBOX_E_PASSWORD_INCORRECT = 0x80BB000D |
A provided password was incorrect. | |
const HRESULT | VBOX_E_MAXIMUM_REACHED = 0x80BB000E |
A maximum has been reached. | |
const HRESULT | VBOX_E_GSTCTL_GUEST_ERROR = 0x80BB000F |
Guest Control reported an error from the guest side. | |
const HRESULT | VBOX_E_TIMEOUT = 0x80BB0010 |
The operation ran into an explicitly requested timeout. | |
const HRESULT | VBOX_E_DND_ERROR = 0x80BB0011 |
A drag and drop error has occurred. | |
const HRESULT | VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED = 0x80BB0012 |
Platform architecture is not supported. | |
const HRESULT | VBOX_E_RECORDING_ERROR = 0x80BB0013 |
A recording error has occurred. | |
This section describes all VirtualBox-specific COM result codes that may be returned by methods of VirtualBox COM interfaces in addition to standard COM result codes.
Note that along with the result code, every VirtualBox method returns extended error information through the IVirtualBoxErrorInfo interface on failure. This interface is a preferred way to present the error to the end user because it contains a human readable description of the error. Raw result codes, both standard and described in this section, are intended to be used by programs to analyze the reason of a failure and select an appropriate course of action without involving the end user (for example, retry the operation later or make a different call).
The standard COM result codes that may originate from our methods include:
E_INVALIDARG
E_POINTER
null
). When pointers representing input arguments (such as strings) are invalid, E_INVALIDARG is returned. E_ACCESSDENIED
E_OUTOFMEMORY
const HRESULT VBOX_E_OBJECT_NOT_FOUND = 0x80BB0001 |
Object corresponding to the supplied arguments does not exist.
const HRESULT VBOX_E_INVALID_VM_STATE = 0x80BB0002 |
Current virtual machine state prevents the operation.
const HRESULT VBOX_E_VM_ERROR = 0x80BB0003 |
Virtual machine error occurred attempting the operation.
const HRESULT VBOX_E_FILE_ERROR = 0x80BB0004 |
File not accessible or erroneous file contents.
const HRESULT VBOX_E_IPRT_ERROR = 0x80BB0005 |
Runtime subsystem error.
const HRESULT VBOX_E_PDM_ERROR = 0x80BB0006 |
Pluggable Device Manager error.
const HRESULT VBOX_E_INVALID_OBJECT_STATE = 0x80BB0007 |
Current object state prohibits operation.
const HRESULT VBOX_E_HOST_ERROR = 0x80BB0008 |
Host operating system related error.
const HRESULT VBOX_E_NOT_SUPPORTED = 0x80BB0009 |
Requested operation is not supported.
const HRESULT VBOX_E_XML_ERROR = 0x80BB000A |
Invalid XML found.
const HRESULT VBOX_E_INVALID_SESSION_STATE = 0x80BB000B |
Current session state prohibits operation.
const HRESULT VBOX_E_OBJECT_IN_USE = 0x80BB000C |
Object being in use prohibits operation.
const HRESULT VBOX_E_PASSWORD_INCORRECT = 0x80BB000D |
A provided password was incorrect.
const HRESULT VBOX_E_MAXIMUM_REACHED = 0x80BB000E |
A maximum has been reached.
const HRESULT VBOX_E_GSTCTL_GUEST_ERROR = 0x80BB000F |
Guest Control reported an error from the guest side.
const HRESULT VBOX_E_TIMEOUT = 0x80BB0010 |
The operation ran into an explicitly requested timeout.
const HRESULT VBOX_E_DND_ERROR = 0x80BB0011 |
A drag and drop error has occurred.
const HRESULT VBOX_E_PLATFORM_ARCH_NOT_SUPPORTED = 0x80BB0012 |
Platform architecture is not supported.
const HRESULT VBOX_E_RECORDING_ERROR = 0x80BB0013 |
A recording error has occurred.