Ioctl_usbio_bind_pipe – Motorola USB08 User Manual

Page 174

Advertising
background image

Designer Reference Manual

USB08 Evaluation Board

174

Universal USB Device Driver (USBIO)

MOTOROLA

Universal USB Device Driver (USBIO)

IOCTL_USBIO_BIND_PIPE

The IOCTL_USBIO_BIND_PIPE operation is used to establish a binding
between a file handle and a pipe object.

lpInBuffer

Pointer to a buffer that contains an USBIO_BIND_PIPE (

page 207

) 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__BIND_PIPE) for this operation.

lpOutBuffer

Not used with this operation. Set to NULL.

nOutBufferSize

Not used with this operation. Set to zero.

Comments

This pipe is identified by its endpoint address. Only endpoints from the
current configuration can be bound. After this operation is successfully
completed the pipe can be accessed using pipe related requests (e.g.
read or write).

See Also

IOCTL_USBIO_SET_CONFIGURATION (

page 159

) and

IOCTL_USBIO_GET_CONFIGURATION_INFO (

page 166

)

Advertising