USB HOST DRIVER V03 Freescale Semiconductor / Motorola, USB HOST DRIVER V03 Datasheet - Page 93

no-image

USB HOST DRIVER V03

Manufacturer Part Number
USB HOST DRIVER V03
Description
USB Host Driver v03
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
4.6.17. USBGetStringDesc
Definition:
DWORD USBAPI
USBGetStringDesc(
Parameters:
Device
Points to the opened Device handle
Index
Requested string descriptor index
LangId
Requested language ID for string descriptor
pDescriptor
Points to the buffer for requested string descriptor
cbSize
Specifies bytes count of string descriptor to be returned
pOverlapped
Points to variable used for overlapped I/O. Can be NULL.
Returns:
On success, routine returns
Comments:
This function returns the string descriptor in a
string itself is found in the variable-length
caller should allocate enough memory to store the string in the
function sends a
M
);
IN usb_t
IN BYTE
IN USHORT
OUT PUSB_STRING_DESCRIPTOR
IN OUT DWORD
IN OUT OVERLAPPED
IOCTL_USB_GET_DESCRIPTOR
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
USB_STATUS_SUCCESS
MOTUSB Library.
bString
Device,
Index,
LangId,
pDescriptor,
*cbSize,
*pOverlapped
request to the Driver.
USB_STRING_DESCRIPTOR
, or else some MOTUSB error code
member of the string descriptor. The
bString
structure. The
member. The
4-23

Related parts for USB HOST DRIVER V03