USB_STRING_DESCRIPTOR

C# Definition:

[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Auto)]
struct USB_STRING_DESCRIPTOR
{
   public byte bLength;
   public byte bDescriptorType;
   [MarshalAs(UnmanagedType.ByValTStr, SizeConst=MAXIMUM_USB_STRING_LENGTH)]
   public string bString;
}

VB Definition:

Structure USB_STRING_DESCRIPTOR 
   Public TODO
End Structure

User-Defined Field Types:

const int MAXIMUM_USB_STRING_LENGTH = 255;
const int USB_STRING_DESCRIPTOR_TYPE = 3;

Notes:

Notes:

Example:

Última actualización