Ioctl_usbio_get_interface – Motorola USB08 User Manual

Page 157

Advertising
background image

Universal USB Device Driver (USBIO)

Programming Interface

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

157

IOCTL_USBIO_GET_INTERFACE

The IOCTL_USBIO_GET_INTERFACE operation returns the current
alternate setting of a specific interface.

lpInBuffer

Pointer to a buffer that contains an USBIO_GET_INTERFACE
(

page 192

) 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_GET_INTERFACE) for this operation.

lpOutBuffer

Pointer to a buffer that will receive an
USBIO_GET_INTERFACE_DATA (

page 193

) data structure.

nOutBufferSize

Specifies the size, in bytes, of the buffer pointed to by

lpOutBuffer

,

which has to be at least sizeof(USBIO_GET_INTERFACE_DATA) for
this operation.

Comments

A GET_INTERFACE request appears on the bus. The structure
USBIO_GET_INTERFACE_DATA (

page 193

) returns the current

alternate setting of the interface specified in USBIO_GET_INTERFACE.

Advertising