Belkin F8E211 Podręcznik Użytkownika Strona 70

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 107
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 69
usbd
_
languages
_
descriptor() © 2007, QNX Software Systems GmbH & Co. KG.
Get the table of supported LANGIDs for the given device
Synopsis:
#include <sys/usbdi.h>
usbd_string_descriptor_t
*usbd_languages_descriptor(
struct usbd_device *device,
struct usbd_desc_node **node );
Arguments:
device An opaque handle used to identify the USB device.
node Indicates the descriptor’s location for rooting future requests.
Library:
libusbdi
Description:
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;
Returns:
A pointer usbd_string_descriptor_t on success, or NULL on error.
Classification:
QNX Neutrino, QNX 4
Safety
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes
56 Chapter 4 USB Library Reference September 10, 2007
Przeglądanie stron 69
1 2 ... 65 66 67 68 69 70 71 72 73 74 75 ... 106 107

Komentarze do niniejszej Instrukcji

Brak uwag