Creates a new instance of a UsbSetupPacket and initializes all the fields with the following parameters.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Public Sub New ( _ requestType As Byte, _ request As Byte, _ value As Short, _ index As Short, _ length As Short _ )
public: UsbSetupPacket( unsigned char requestType, unsigned char request, short value, short index, short length )
Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)