struttura USB_COMMON_DESCRIPTOR (usbspec.h)

La struttura USB_COMMON_DESCRIPTOR contiene l'intestazione del primo descrittore che corrisponde ai criteri di ricerca in una chiamata a USBD_ParseDescriptors.

Sintassi

typedef struct _USB_COMMON_DESCRIPTOR {
  UCHAR bLength;
  UCHAR bDescriptorType;
} USB_COMMON_DESCRIPTOR, *PUSB_COMMON_DESCRIPTOR;

Members

bLength

Specifica l'intera lunghezza del descrittore, non di questa struttura.

bDescriptorType

Specifica il codice del tipo di descrittore, come assegnato da USB, per questo descrittore.

Requisiti

Requisito Valore
Intestazione usbspec.h (include Usb100.h)

Vedi anche

Strutture USB

USBD_ParseDescriptors