// usbioctl.h
typedef enum _USB_HUB_TYPE {
UsbRootHub = 1,
Usb20Hub = 2,
Usb30Hub = 3
} USB_HUB_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
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.
typedef enum _USB_HUB_TYPE {
UsbRootHub = 1,
Usb20Hub = 2,
Usb30Hub = 3
} USB_HUB_TYPE;
UsbRootHubIndicates a root hub.
Usb20HubIndicates that the retrieved hub descriptor is defined in USB 2.0 and 1.1 specifications.
Usb30HubIndicates that the retrieved hub descriptor is defined in USB 3.0 specification.
IOCTL_USB_GET_HUB_INFORMATION_EX
USB Constants and Enumerations