Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 8
Map the device instance identifier to an opaque device handle (from usbd_attach())
#include <sys/usbdi.h>
struct usbd_device *usbd_device_lookup(
struct usbd_connection *connection,
usbd_device_instance_t *instance );
- connection
- A handle obtained by calling
usbd_connect().
- instance
- The device instance identifier obtained by calling
usbd_attach().
libusbdi
You use the usbd_device_lookup() function to map
the device instance identifier to an opaque device handle.
This is typically required in the removal callback.
An opaque device handle, or NULL.
QNX Neutrino, QNX 4
Safety: | |
Cancellation point |
No |
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |
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()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 125
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/usb/usbd_device_lookup.html on line 125