USB_HUB_INFORMATION_EX structure (usbioctl.h)

The USB_HUB_INFORMATION_EX structure is used with the IOCTL_USB_GET_HUB_INFORMATION_EX I/O control request to retrieve information about a Universal Serial Bus (USB) hub.

Syntax

typedef struct _USB_HUB_INFORMATION_EX {
  USB_HUB_TYPE HubType;
  USHORT       HighestPortNumber;
  union {
    USB_HUB_DESCRIPTOR    UsbHubDescriptor;
    USB_30_HUB_DESCRIPTOR Usb30HubDescriptor;
  } u;
} USB_HUB_INFORMATION_EX, *PUSB_HUB_INFORMATION_EX;

Members

HubType

The type of hub: root hub, USB 2.0, or USB 3.0 hub. On successful completion of the IOCTL_USB_GET_HUB_INFORMATION_EX I/O control request, HubType contains a USB_HUB_TYPE enumerator that indicates the type of hub.

HighestPortNumber

Indicates the number of ports on the hub. The ports are numbered from 1 to HighestPortNumber, where HighestPortNumber is the highest valid port number on the hub.

u

u.UsbHubDescriptor

If HubType indicates a USB 2.0 hub, u.UsbHubDescriptor is a USB_HUB_DESCRIPTOR structure that contains selected information from the USB 2.0/1.1 hub descriptor, as defined in the USB 2.0 Specification.

u.Usb30HubDescriptor

If HubType indicates a USB 3.0 hub, u.UsbHub30Descriptor is a USB_30_HUB_DESCRIPTOR structure that contains selected information from the USB 3.0 hub descriptor, as defined in the USB 3.0 Specification.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server None supported
Header usbioctl.h (include Usbioctl.h)

See also

IOCTL_USB_GET_HUB_INFORMATION_EX

USB_30_HUB_DESCRIPTOR

USB_HUB_DESCRIPTOR

USB_HUB_TYPE