USB_HUB_TYPE enumeration

The USB_HUB_TYPE enumeration defines constants that indicate the type of USB hub. The hub type is retrieved by the IOCTL_USB_GET_HUB_INFORMATION_EX I/O control request.

The request retrieves the hub descriptor associated with the specified hub in the USB_HUB_INFORMATION_EX structure. The HubType member contains a USB_HUB_TYPE enumerator that the application can use to evaluate the type of hub descriptor retrieved by the request.

Syntax


typedef enum _USB_HUB_TYPE { 
  UsbRootHub  = 1,
  Usb20Hub    = 2,
  Usb30Hub    = 3
} USB_HUB_TYPE;

Constants

UsbRootHub

Indicates a root hub.

Usb20Hub

Indicates that the retrieved hub descriptor is defined in USB 2.0 and 1.1 specifications.

Usb30Hub

Indicates that the retrieved hub descriptor is defined in USB 3.0 specification.

Requirements

Minimum supported client

Windows 8

Minimum supported server

None supported

Header

Usbioctl.h (include Usbioctl.h)

See also

USB_HUB_INFORMATION_EX
IOCTL_USB_GET_HUB_INFORMATION_EX
USB Constants and Enumerations

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft