IVMUSBDeviceCollection interface

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

Defines the collection of USB devices attached to the host system. To obtain an IVMUSBDeviceCollection object, use the IVMVirtualPC::USBDeviceCollection property.

Members

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

Properties

The IVMUSBDeviceCollection interface has these properties.

Property Access type Description
_NewEnum
Read-only
An enumerator for the collection.
Count
Read-only
The number of USB devices in this collection.
Item
Read-only
The USB device object that corresponds to the specified index (1-based).

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_IVMUSBDeviceCollection is defined as 4FBCD6A5-F53C-4d1c-9F4D-E90ABB8B3749

See also

IVMUSBDevice

IVMVirtualPC::USBDeviceCollection