USB_COMMON_DESCRIPTOR structure (usbspec.h)

The USB_COMMON_DESCRIPTOR structure contains the head of the first descriptor that matches the search criteria in a call to USBD_ParseDescriptors.

Syntax

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

Members

bLength

Specifies the entire length of the descriptor, not of this structure.

bDescriptorType

Specifies the descriptor type code, as assigned by USB, for this descriptor.

Requirements

Requirement Value
Header usbspec.h (include Usb100.h)

See also

USB Structures

USBD_ParseDescriptors