Ioctl_usbio_set_interface – Motorola USB08 User Manual

Page 161

Advertising
background image

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
(

page 194

) 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 (

page 166

) may be

used to query all available pipes and interfaces.

Advertising