Reads/writes a Libusb-1.0 control setup packet pointer. Control setup packets should be allocated with MonoUsbControlSetupHandle.
| C# | Visual Basic | Visual C++ |
public class MonoUsbControlSetup
Public Class MonoUsbControlSetup
public ref class MonoUsbControlSetup
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| MonoUsbControlSetup(IntPtr) |
Creates a MonoUsbControlSetup structure for a control setup packet pointer.
| |
| GetData(Int32) |
Gets control data as bytes.
| |
| Index |
The wIndex.
| |
| Length |
Number of bytes to transfer.
| |
| PtrData |
Gets a pointer to the control data buffer.
| |
| Request |
The request.
| |
| RequestType |
The request type.
| |
| SetData(Object, Int32, Int32) |
Copies data into PtrData.
| |
| SETUP_PACKET_SIZE |
Size of a Libusb-1.0 setup packet.
| |
| Value |
The wValue.
|
| Object | |
| MonoUsbControlSetup | |