Download Oracle VM VirtualBox Programming Guide and Reference

Transcript
5 Classes (interfaces)
5.44.1.14 acceleration3DAvailable (read-only)
boolean IHost::acceleration3DAvailable
Returns true when the host supports 3D hardware acceleration.
5.44.2 createHostOnlyNetworkInterface
IProgress IHost::createHostOnlyNetworkInterface(
[out] IHostNetworkInterface hostInterface)
hostInterface Created host interface object.
Creates a new adapter for Host Only Networking.
If this method fails, the following error codes may be reported:
• E_INVALIDARG: Host network interface name already exists.
5.44.3 createUSBDeviceFilter
IHostUSBDeviceFilter IHost::createUSBDeviceFilter(
[in] wstring name)
name Filter name. See IUSBDeviceFilter::name for more information.
Creates a new USB device filter. All attributes except the filter name are set to empty (any
match), active is false (the filter is not active).
The created filter can be added to the list of filters using insertUSBDeviceFilter().
See also: USBDeviceFilters[]
5.44.4 findHostDVDDrive
IMedium IHost::findHostDVDDrive(
[in] wstring name)
name Name of the host drive to search for
Searches for a host DVD drive with the given name.
If this method fails, the following error codes may be reported:
• VBOX_E_OBJECT_NOT_FOUND: Given name does not correspond to any host drive.
5.44.5 findHostFloppyDrive
IMedium IHost::findHostFloppyDrive(
[in] wstring name)
name Name of the host floppy drive to search for
Searches for a host floppy drive with the given name.
If this method fails, the following error codes may be reported:
• VBOX_E_OBJECT_NOT_FOUND: Given name does not correspond to any host floppy drive.
121