Universal USB Device Driver (USBIO)
Programming Interface
USB08 Evaluation Board Designer Reference Manual
MOTOROLA Universal USB Device Driver (USBIO) 155
IOCTL_USBIO_GET_STATUS
The IOCTL_USBIO_GET_STATUS operation requests status for a
specific recipient.
lpInBuffer Pointer to a buffer that contains an USBIO_STATUS_REQUEST
(page 189) data structure. This data structure has t o be f illed compl etely
by the caller.
nInBufferSize Specifies the size, in bytes, of the buffer pointed to by lpInBuffer,
which has to be sizeof(USBIO_STATUS_REQUEST) for this operation.
lpOutBuffer Pointer to a buffer that will receive an
USBIO_STATUS_REQUEST_DATA (page 190) data structure.
nOutBufferSize Specifies the size, in bytes, of the buffer pointed to by lpOutBuffer,
which has to be at least sizeof(USBIO_STATUS_REQUEST_DATA) for
this operation.
Comments The GET_STATUS request appears on the bus with the parameters
specified in t he USBIO_STATUS_REQUEST (page 189) structure. The
function returns the structure USBIO_STATUS_REQUEST_DATA
(page 190) which contains two bytes of data.