LibUsbDotNet 2.2.8
Wait Method (transferredCount, cancel)
Library ReferenceLibUsbDotNet.MainUsbTransferWait(Int32%, Boolean)
LibUsbDotNet on SourceForge
Wait for the transfer to complete, timeout, or get cancelled.
Declaration Syntax
C#Visual BasicVisual C++
public abstract ErrorCode Wait(
	out int transferredCount,
	bool cancel
Public MustOverride Function Wait ( _
	<OutAttribute> ByRef transferredCount As Integer, _
	cancel As Boolean _
) As ErrorCode
virtual ErrorCode Wait(
	[OutAttribute] int% transferredCount, 
	bool cancel
) abstract
transferredCount (Int32%)
The number of bytes transferred on Success.
cancel (Boolean)
If true, the transfer is cancelled if it does not complete within the time specified in Timeout.
Return Value
Success if the transfer completes successfully, otherwise one of the other ErrorCode codes.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (