Ioctl_usbio_get_driver_info – Motorola USB08 User Manual

Page 171

Advertising
background image

Universal USB Device Driver (USBIO)

Programming Interface

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Universal USB Device Driver (USBIO)

171

IOCTL_USBIO_GET_DRIVER_INFO

The IOCTL_USBIO_GET_DRIVER_INFO operation returns version
information about the USBIO API and the driver binary that is currently
running.

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_DRIVER_INFO
(

page 186

) data structure.

nOutBufferSize

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

lpOutBuffer

,

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

Comments

An application should check if the API version of the driver that is
currently running matches with the version it expects.

Advertising