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

Page 152

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

152

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

IOCTL_USBIO_SET_DESCRIPTOR

The IOCTL_USBIO_SET_DESCRIPTOR operation sets a specific
descriptor of the device.

lpInBuffer

Pointer to a buffer that contains an USBIO_DESCRIPTOR_REQUEST
(

page 187

) data structure. This data structure has to be filled completely

by the caller.

nInBufferSize

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

lpInBuffer

,

which has to be sizeof(USBIO_DESCRIPTOR_REQUEST) for this
operation.

lpOutBuffer

Pointer to a buffer that contains the descriptor data to be set.

nOutBufferSize

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

lpOutBuffer

.

Comments

USB devices do not have to support this operation.

Advertising