Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 2.54 KB

ivmusbdevice-deviceclass.md

File metadata and controls

79 lines (50 loc) · 2.54 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
IVMUSBDevice DeviceClass property (VPCCOMInterfaces.h)
Retrieves the device class of the USB device.
46c258b9-6064-4e8c-aa5d-71b26c07351c
DeviceClass property Virtual PC
DeviceClass property Virtual PC , IVMUSBDevice interface
IVMUSBDevice interface Virtual PC , DeviceClass property
apiref
IVMUSBDevice.DeviceClass
IVMUSBDevice.get_DeviceClass
VPCCOMInterfaces.h
COM
reference
05/31/2018

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
S_OK
0
The method completed successfully.
E_POINTER
0x80004003
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
VPCCOMInterfaces.h
IID
IID_IVMUSBDevice is defined as 63C1258C-5721-4070-B86B-A6CE2AFEC0B3

See also

IVMUSBDevice