LibUsbDotNet 2.2.8
UsbSetupPacket Constructor (requestType, request, value, index, length)
Library ReferenceLibUsbDotNet.MainUsbSetupPacketUsbSetupPacket(Byte, Byte, Int16, Int16, Int16)
LibUsbDotNet on SourceForge
Creates a new instance of a UsbSetupPacket and initializes all the fields with the following parameters.
Declaration Syntax
C#Visual BasicVisual C++
public UsbSetupPacket(
	byte requestType,
	byte request,
	short value,
	short index,
	short length
)
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
)
Parameters
requestType (Byte)
See RequestType.
request (Byte)
See Request.
value (Int16)
See Value.
index (Int16)
See Index.
length (Int16)
See Length.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)