Ioctl_usbio_get_device_parameters, Universal usb device driver (usbio) – Motorola USB08 User Manual

Page 164

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

164

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

IOCTL_USBIO_GET_DEVICE_PARAMETERS

The IOCTL_USBIO_GET_DEVICE_PARAMETERS operation returns
USBIO settings related to a 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_PARAMETERS
(

page 198

) data structure.

nOutBufferSize

Specifies the size, in bytes, of the buffer pointed to by

lpOutBuffer

,

which has to be at least sizeof(USBIO_DEVICE_PARAMETERS) for
this operation.

Comments

The default state of the device parameters is defined by a set of registry
parameters which are read by the USBIO driver at startup. The current
state may be queried using this request.

Advertising