Επεξεργασία

Κοινή χρήση μέσω


IVMUSBDevice::HubID property

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

Retrieves the identifier of the hub on which the device is connected.

This property is read-only.

Syntax

HRESULT get_HubID(
  [out, retval] long *hubID
);

Property value

The hub identifier. This value is assigned by the USB connector driver.

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