Designer Reference Manual
USB08 Evaluation Board
156
Universal USB Device Driver (USBIO)
MOTOROLA
Universal USB Device Driver (USBIO)
IOCTL_USBIO_GET_CONFIGURATION
The IOCTL_USBIO_GET_CONFIGURATION operation returns the
current configuration of the device.
lpInBuffer
Not used with this operation. Set to NULL.
nInBufferSize
Not used with this operation. Set to zero.
lpOutBuffer
Pointer to a buffer that will receive an
USBIO_GET_CONFIGURATION_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_CONFIGURATION_DATA)
for this operation.
Comments
A GET_CONFIGURATION request appears on the bus. The structure
USBIO_GET_CONFIGURATION_DATA (
) returns the
configuration value. A value of zero means “not configured”.