Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board
Designer Reference Manual
MOTOROLA
Universal USB Device Driver (USBIO)
161
IOCTL_USBIO_SET_INTERFACE
The IOCTL_USBIO_SET_INTERFACE operation sets the alternate
setting of a specific interface.
lpInBuffer
Pointer to a buffer that contains an USBIO_INTERFACE_SETTING
(
) data structure. This data structure has to be filled completely
by the caller.
nInBufferSize
Specifies the size, in bytes, of the buffer pointed to by
lpInBuffer
,
which has to be sizeof(USBIO_INTERFACE_SETTING) for this
operation.
lpOutBuffer
Not used with this operation. Set to NULL.
nOutBufferSize
Not used with this operation. Set to zero.
Comments
A SET_INTERFACE request appears on the bus.
All pipe handles associated with the interface will be unbound and all
pending requests will be cancelled. If this request returns with success,
new pipe objects are available. The operation
IOCTL_USBIO_GET_CONFIGURATION_INFO (
) may be
used to query all available pipes and interfaces.