USB_STRING_DESCRIPTOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbspec.h

typedef struct _USB_STRING_DESCRIPTOR {
  UCHAR bLength;
  UCHAR bDescriptorType;
  WCHAR bString[1];
} USB_STRING_DESCRIPTOR, *PUSB_STRING_DESCRIPTOR;

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-usbspec-_usb_string_descriptor)

_USB_STRING_DESCRIPTOR structure

Description

The USB_STRING_DESCRIPTOR structure is used by USB client drivers to hold a USB-defined string descriptor. The members of this structure are described in the Universal Serial Bus 3.1 Specification available at USB Document Library. See section 9.6.9.

Members

bLength

Specifies the length, in bytes, of the descriptor.

bDescriptorType

Specifies the descriptor type. Must always be USB_STRING_DESCRIPTOR_TYPE.

bString

Pointer to a client-allocated buffer that contains, on return from the host controller driver, a Unicode string with the requested string descriptor.

Remarks

This structure is used to hold a device, configuration, interface, class, vendor, endpoint, or device string descriptor. The string descriptor provides a human-readable description of the component.

Strings returned in bString are in Unicode format and the contents of the strings are device-defined.

See also

USB Structures

UsbBuildGetDescriptorRequest

_URB_CONTROL_DESCRIPTOR_REQUEST