Download USBIO Reference Manual

Transcript
4
Programming Interface
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 77) 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
The 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).
SeeAlso
IOCTL_USBIO_SET_CONFIGURATION (page 31) and
IOCTL_USBIO_GET_CONFIGURATION_INFO (page 38)
USBIO Reference Manual
45