C# Class libusbK.StmK

Inheritance: IDisposable
Mostra file Open project: nikkov/Win-Widget Class Usage Examples

Protected Properties

Property Type Description
handle KSTM_HANDLE

Public Methods

Method Description
Free ( ) : bool
Read ( Array Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Read ( IntPtr Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Start ( ) : bool
StmK ( KUSB_HANDLE UsbHandle, byte PipeID, int MaxTransferSize, int MaxPendingTransfers, int MaxPendingIO, KSTM_CALLBACK &Callbacks, KSTM_FLAG Flags ) : System
Stop ( int TimeoutCancelMS ) : bool
Write ( Array Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Write ( IntPtr Buffer, int Offset, int Length, uint &TransferredLength ) : bool

Method Details

Free() public method

public Free ( ) : bool
return bool

Read() public method

public Read ( Array Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Buffer System.Array
Offset int
Length int
TransferredLength uint
return bool

Read() public method

public Read ( IntPtr Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Buffer System.IntPtr
Offset int
Length int
TransferredLength uint
return bool

Start() public method

public Start ( ) : bool
return bool

StmK() public method

public StmK ( KUSB_HANDLE UsbHandle, byte PipeID, int MaxTransferSize, int MaxPendingTransfers, int MaxPendingIO, KSTM_CALLBACK &Callbacks, KSTM_FLAG Flags ) : System
UsbHandle KUSB_HANDLE
PipeID byte
MaxTransferSize int
MaxPendingTransfers int
MaxPendingIO int
Callbacks KSTM_CALLBACK
Flags KSTM_FLAG
return System

Stop() public method

public Stop ( int TimeoutCancelMS ) : bool
TimeoutCancelMS int
return bool

Write() public method

public Write ( Array Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Buffer System.Array
Offset int
Length int
TransferredLength uint
return bool

Write() public method

public Write ( IntPtr Buffer, int Offset, int Length, uint &TransferredLength ) : bool
Buffer System.IntPtr
Offset int
Length int
TransferredLength uint
return bool

Property Details

handle protected_oe property

protected KSTM_HANDLE,libusbK handle
return KSTM_HANDLE