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

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.15. USBGetInterfaceDesc
Definition:
DWORD USBAPI
USBGetInterfaceDesc(
Parameters:
Device
Points to the opened Device handle
ConfigIndex
Specifies configuration descriptor index to lookup interface descriptor. If this value
equals –1 the interfaces descriptor will be sought in the selected configuration.
InterfaceIndex
Requested interface descriptor index within the configuration.
AltSetting
Specifies interface descriptor alternate setting.
pDescriptor
Points to the buffer for requested interface descriptor.
pOverlapped
Points to variable used for overlapped I/O. Can be NULL.
Returns:
On success, routine returns
Comments:
This function returns the interface descriptor in a
caller should allocate a buffer pointed by the
PUSB_INTERFACE_DESCRIPTOR
M
);
IN usb_t
IN BYTE
IN BYTE
IN BYTE
IN PUSB_INTERFACE_DESCRIPTOR pDescriptor,
IN OVERLAPPED
PRELIMINARY—SUBJECT TO CHANGE WITHOUT NOTICE
USB_STATUS_SUCCESS
structure. The interface descriptor requested is relative to
MOTUSB Library.
*pOverlapped
Device,
ConfigIndex,
InterfaceIndex,
AltSetting,
pDescriptor
, or else some MOTUSB error code
PUSB_INTERFACE_DESCRIPTOR
, large enough to store the
. The
4-20

Related parts for USB HOST DRIVER V03