USB_DESCRIPTOR_REQUEST

C# Definition:

[StructLayout(LayoutKind.Sequential)]
struct USB_SETUP_PACKET
{
   public byte bmRequest;
   public byte bRequest;
   public short wValue;
   public short wIndex;
   public short wLength;
}
[StructLayout(LayoutKind.Sequential)]
struct USB_DESCRIPTOR_REQUEST
{
   public int ConnectionIndex;
   public USB_SETUP_PACKET SetupPacket;
   //public byte[] Data;
}

VB Definition:

Structure USB_DESCRIPTOR_REQUEST 
   Public TODO
End Structure

User-Defined Field Types:

Notes:

Example:

Última actualización