[Previous] [Contents] [Index] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

usbd_device_lookup()

Map the device instance identifier to an opaque device handle (from usbd_attach())

Synopsis:

#include <sys/usbdi.h>

struct usbd_device *usbd_device_lookup( 
                     struct usbd_connection *connection, 
                     usbd_device_instance_t *instance );

Description:

You use the usbd_device_lookup() function to map the device instance identifier to an opaque device handle from usbd_attach(). This would typically be required in the removal callback.

Returns:

An opaque device handle or NULL.

Classification:

QNX Neutrino, QNX 4

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

usbd_args_lookup(), usbd_attach(), usbd_configuration_descriptor(), usbd_device_extra(), usbd_device_descriptor(), usbd_endpoint_descriptor(), usbd_hcd_info(), usbd_hub_descriptor(), usbd_interface_descriptor(), usbd_languages_descriptor(), usbd_parse_descriptors(), usbd_string(), usbd_urb_status()


[Previous] [Contents] [Index] [Next]