Designer Reference Manual
USB08 Evaluation Board
170
Universal USB Device Driver (USBIO)
MOTOROLA
Universal USB Device Driver (USBIO)
IOCTL_USBIO_GET_DEVICE_POWER_STATE
The IOCTL_USBIO_GET_DEVICE_POWER_STATE operation returns
the current power state 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_DEVICE_POWER
(
) data structure.
nOutBufferSize
Specifies the size, in bytes, of the buffer pointed to by
lpOutBuffer
,
which has to be at least sizeof(USBIO_DEVICE_POWER) for this
operation.
Comments
The device power state is maintained internally by the USBIO driver.
This request may be used to query the current power state.