LibUsbDotNet 2.2.8
UsbSetupPacket Constructor (requestType, request, value, index, length)
Library Reference ► LibUsbDotNet.Main ► UsbSetupPacket ► UsbSetupPacket(Byte, Byte, Int16, Int16, Int16)
|
![]() |
Creates a new instance of a UsbSetupPacket and initializes all the fields with the following parameters.

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 )