C# Class ICSharpCode.USBlib.Internal.NativeMethods

Exibir arquivo Open project: roboime/legacy-roboime

Public Methods

Method Description
usb_bulk_read ( IntPtr dev, int ep, byte bytes, int timeout ) : int
usb_bulk_write ( IntPtr dev, int ep, byte bytes, int timeout ) : int
usb_control_msg ( IntPtr dev, int requesttype, int request, int value, byte bytes, int timeout ) : int
usb_get_string ( IntPtr dev, int index, int langid, StringBuilder buf ) : int
usb_get_string_simple ( IntPtr dev, int index, StringBuilder buf ) : int
usb_interrupt_read ( IntPtr dev, int ep, byte bytes, int timeout ) : int
usb_interrupt_write ( IntPtr dev, int ep, byte bytes, int timeout ) : int

Private Methods

Method Description
usb_bulk_read ( IntPtr dev, int ep, byte bytes, int size, int timeout ) : int
usb_bulk_write ( IntPtr dev, int ep, byte bytes, int size, int timeout ) : int
usb_claim_interface ( IntPtr dev, int interfaceNum ) : int
usb_clear_halt ( IntPtr dev, uint ep ) : int
usb_close ( IntPtr dev ) : int
usb_control_msg ( IntPtr dev, int requesttype, int request, int value, int index, byte bytes, int size, int timeout ) : int
usb_device ( IntPtr dev ) : usb_device
usb_find_busses ( ) : int
usb_find_devices ( ) : int
usb_get_busses ( ) : IntPtr
usb_get_descriptor ( IntPtr udev, byte type, byte index, IntPtr buf, int size ) : int
usb_get_descriptor_by_endpoint ( IntPtr udev, int ep, byte type, byte index, IntPtr buf, int size ) : int
usb_get_string ( IntPtr dev, int index, int langid, StringBuilder buf, int buflen ) : int
usb_get_string_simple ( IntPtr dev, int index, StringBuilder buf, int buflen ) : int
usb_init ( ) : void
usb_interrupt_read ( IntPtr dev, int ep, byte bytes, int size, int timeout ) : int
usb_interrupt_write ( IntPtr dev, int ep, byte bytes, int size, int timeout ) : int
usb_open ( usb_device dev ) : IntPtr
usb_release_interface ( IntPtr dev, int interfaceNum ) : int
usb_reset ( IntPtr dev ) : int
usb_resetep ( IntPtr dev, uint ep ) : int
usb_set_altinterface ( IntPtr dev, int alternate ) : int
usb_set_configuration ( IntPtr dev, int configuration ) : int
usb_set_debug ( int level ) : void
usb_strerror ( ) : string

Method Details

usb_bulk_read() public static method

public static usb_bulk_read ( IntPtr dev, int ep, byte bytes, int timeout ) : int
dev System.IntPtr
ep int
bytes byte
timeout int
return int

usb_bulk_write() public static method

public static usb_bulk_write ( IntPtr dev, int ep, byte bytes, int timeout ) : int
dev System.IntPtr
ep int
bytes byte
timeout int
return int

usb_control_msg() public static method

public static usb_control_msg ( IntPtr dev, int requesttype, int request, int value, byte bytes, int timeout ) : int
dev System.IntPtr
requesttype int
request int
value int
bytes byte
timeout int
return int

usb_get_string() public static method

public static usb_get_string ( IntPtr dev, int index, int langid, StringBuilder buf ) : int
dev System.IntPtr
index int
langid int
buf StringBuilder
return int

usb_get_string_simple() public static method

public static usb_get_string_simple ( IntPtr dev, int index, StringBuilder buf ) : int
dev System.IntPtr
index int
buf StringBuilder
return int

usb_interrupt_read() public static method

public static usb_interrupt_read ( IntPtr dev, int ep, byte bytes, int timeout ) : int
dev System.IntPtr
ep int
bytes byte
timeout int
return int

usb_interrupt_write() public static method

public static usb_interrupt_write ( IntPtr dev, int ep, byte bytes, int timeout ) : int
dev System.IntPtr
ep int
bytes byte
timeout int
return int