Rediger

Del via


IVMUSBDevice interface

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Defines the interface for a USB device attached to host. You can attach USB device to a virtual machine to use the device inside the virtual machine.

Members

The IVMUSBDevice interface inherits from the IDispatch interface. IVMUSBDevice also has these types of members:

Properties

The IVMUSBDevice interface has these properties.

Property Access type Description
AttachedToVM
Read-only
The name of the virtual machine to which the USB device is attached.
DeviceClass
Read-only
The device class of the USB device.
DeviceString
Read-only
The name of the USB device.
HubID
Read-only
The identifier of the hub on which the device is connected.
ManufacturerString
Read-only
The name of the USB device manufacturer.
Port
Read-only
The identifier of the port on which the device is connected.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h
IID
IID_IVMUSBDevice is defined as 63C1258C-5721-4070-B86B-A6CE2AFEC0B3