
Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board Designer Reference Manual
MOTOROLA Universal USB Device Driver (USBIO) 181
IOCTL_USBIO_PIPE_CONTROL_TRANSFER_OUT
The IOCTL_USBIO_PIPE_CONTROL_TRANSFER_OUT operation is
used to generate a specific request (setup packet) for a control pipe with
a data transfer direction from host to device.
lpInBuffer Pointer to a buffer that contains an
USBIO_PIPE_CONTROL_TRANSFER (page 209) 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_PIPE_CONTROL_TRANSFER) for this
operation.
lpOutBuffer Pointer to a buffer that contains the data transferred to the device during
the data phase of the control transfer. If no data transfer is required the
pointer may be NULL.
nOutBufferSize Specifies the size, in bytes, of the buffer pointed to by lpOutBuffer. If
this value is set to zero then there is no data transfer phase.
Comments This request is intended to be used with additional control pipes a device
might provide. It is not possible to generate a control transfer for the
default endpoint zero with this operation.