Share via


USB_STRING (Compact 2013)

10/16/2014

This structure contains a USB string descriptor, which contains human readable information and is optional.

Syntax

typedef struct
{
    UCHAR   ucbLength;
    UCHAR   ucbDescriptorType;
    WCHAR   pwcbString[MAX_USB_SERIAL_STRING_LEN];
} USB_STRING;

Members

  • ucbLength
    Size of this descriptor in bytes.
  • ucbDescriptorType
    String descriptor type.
  • pwcbString
    Unicode encoded string.

Remarks

The maximum length of the pwcbString is 254 characters. If the string descriptor is not used, set to 0. For more information about the USB string descriptor, see the USB 2.0 specification.

Requirements

Header

UsbDbgDdsi.h

See Also

Reference

USBDBG PDD Structures