MonoUsbControlSetup Class

LibUsbDotNet

LibUsbDotNet 2.2.8 MonoUsbControlSetup Class
Library ReferenceMonoLibUsb.TransferMonoUsbControlSetup
LibUsbDotNet on SourceForge
Reads/writes a Libusb-1.0 control setup packet pointer. Control setup packets should be allocated with MonoUsbControlSetupHandle.
Declaration Syntax
C# Visual Basic Visual C++
public class MonoUsbControlSetup
Public Class MonoUsbControlSetup
public ref class MonoUsbControlSetup
Members
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.

Remarks

This class that reads and writes values directly from/to the setup packet IntPtr using Marshal.

Note:This type is used for asynchronous control transfers only.
Inheritance Hierarchy
Object
MonoUsbControlSetup

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