URB
Expand Minimize

USB_HUB_DESCRIPTOR structure

The USB_HUB_DESCRIPTOR structure contains a hub descriptor.

Syntax


typedef struct _USB_HUB_DESCRIPTOR {
  UCHAR  bDescriptorLength;
  UCHAR  bDescriptorType;
  UCHAR  bNumberOfPorts;
  USHORT wHubCharacteristics;
  UCHAR  bPowerOnToPowerGood;
  UCHAR  bHubControlCurrent;
  UCHAR  bRemoveAndPowerMask[64];
} USB_HUB_DESCRIPTOR, *PUSB_HUB_DESCRIPTOR;

Members

bDescriptorLength

The length, in bytes, of the descriptor.

bDescriptorType

The descriptor type. For hub descriptors, this value should be 0x29.

bNumberOfPorts

The number of ports on the hub.

wHubCharacteristics

The hub characteristics. For more information about this member, see Universal Serial Bus Specification.

bPowerOnToPowerGood

The time, in 2-millisecond intervals, that it takes the device to turn on completely. For more information about this member, see Universal Serial Bus Specification.

bHubControlCurrent

The maximum current requirements, in milliamperes, of the controller component of the hub.

bRemoveAndPowerMask

Not currently implemented. Do not use this member.

This member implements DeviceRemovable and PortPwrCtrlMask fields of the hub descriptor. For more information about these fields, see Universal Serial Bus Specification.

Requirements

Header

Usb100.h (include Usbioctl.h)

See also

USB_HUB_INFORMATION
USB Structures

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft