
Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board Designer Reference Manual
MOTOROLA Universal USB Device Driver (USBIO) 187
USBIO_DESCRIPTOR_REQUEST
The USBIO_DESCRIPTOR_REQUEST structure provides information
used to get or set a descriptor.
Definition typedef struct _USBIO_DESCRIPTOR_REQUEST{
USBIO_REQUEST_RECIPIENT Recipient;
UCHAR DescriptorType;
UCHAR DescriptorIndex;
USHORT LanguageId;
} USBIO_DESCRIPTOR_REQUEST;
Members Recipient
Specifies the recipient of the get or set descriptor request. The values
are defined by the enumeration type
USBIO_REQUEST_RECIPIENT (page 215).
DescriptorType
Specifies the type of descriptor to get or set. The values are defined
by the Universal Serial Bus Specification 1.1, Chapter 9 and
additional device class specifications.
Value Meaning
1 Device Descriptor
2 Configuration Descriptor
3 String Descriptor
4 Interface Descriptor
5 Endpoint Descriptor
21 HID Descriptor
DescriptorIndex
Specifies the index of the descriptor to get or set.
LanguageId
Specifies the Language ID for string descriptors. Set to zero for other
descriptors.
Comments This structure has to be used as an input for
IOCTL_USBIO_GET_DESCRIPTOR (page 151) and
IOCTL_USB_SET_DESCRIPTOR (page 152) requests.