This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the table of supported LANGIDs for the given device
#include <sys/usbdi.h> usbd_string_descriptor_t *usbd_languages_descriptor( struct usbd_device *device, struct usbd_desc_node **node );
The usbd_languages_descriptor() function lets you obtain the table of supported language IDs for the device.
The usbd_string_descriptor_t structure looks like this:
typedef struct usbd_string_descriptor { _uint8 bLength; _uint8 bDescriptorType; _uint16 bString[1]; } usbd_string_descriptor_t;
A pointer usbd_string_descriptor_t on success, NULL on error.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_args_lookup(), usbd_configuration_descriptor(), usbd_device_lookup(), usbd_device_extra(), usbd_device_descriptor(), usbd_endpoint_descriptor(), usbd_hcd_info(), usbd_hub_descriptor(), usbd_interface_descriptor(), usbd_parse_descriptors(), usbd_string(), usbd_urb_status()