This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Retrieve the device associated with the pipe
#include <sys/usbdi.h> struct usbd_device* usbd_pipe_device( struct usbd_pipe *pipe );
You use the usbd_pipe_device() to retrieve the device associated with pipe (an opaque handle returned by usbd_open_pipe()).
A pointer to a usbd_device that describes the device.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_abort_pipe(), usbd_open_pipe(), usbd_close_pipe(), usbd_reset_pipe()