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
(
) 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 (
) 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 (
) returns the current
alternate setting of the interface specified in USBIO_GET_INTERFACE.