IVMUSBDevice::DeviceClass property
[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]
Retrieves the device class of the USB device.
This property is read-only.
Syntax
HRESULT get_DeviceClass(
[out, retval] VMUSBDeviceClassEnum *deviceClass
);
Property value
The device class. For a list of values, see VMUSBDeviceClassEnum.
Error codes
Name/value | Meaning |
---|---|
|
The method completed successfully. |
|
The parameter is NULL. |
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 |
|
IID |
IID_IVMUSBDevice is defined as 63C1258C-5721-4070-B86B-A6CE2AFEC0B3 |