struttura USB_HUB_DESCRIPTOR (usbspec.h)
La struttura USB_HUB_DESCRIPTOR contiene un descrittore hub. I membri di questa struttura sono descritti nella specifica universal serial bus 3.1 disponibile in raccolta documenti USB. Vedere la sezione 10.15.2.1.
Sintassi
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;
Membri
bDescriptorLength
Lunghezza, in byte, del descrittore.
bDescriptorType
Tipo di descrittore. Per i descrittori hub, questo valore deve essere 0x29.
bNumberOfPorts
Numero di porte nell'hub.
wHubCharacteristics
Caratteristiche dell'hub. Per altre informazioni su questo membro, vedere Universal Serial Bus Specification.For more information about this member, see Universal Serial Bus Specification.
bPowerOnToPowerGood
Il tempo, espresso in intervalli di 2 millisecondi, richiede che il dispositivo venga attivato completamente. Per altre informazioni su questo membro, vedere Universal Serial Bus Specification.For more information about this member, see Universal Serial Bus Specification.
bHubControlCurrent
Requisiti correnti massimi, in milliamperes, del componente controller dell'hub.
bRemoveAndPowerMask[64]
Attualmente non implementato. Non utilizzare questo membro.
Questo membro implementa i campi DeviceRemovable e PortPwrCtrlMask del descrittore hub. Per altre informazioni su questi campi, vedere Universal Serial Bus Specification.For more information about these fields, see Universal Serial Bus Specification.
Fabbisogno
Requisito | Valore |
---|---|
intestazione | usbspec.h (include Usbioctl.h) |