ReadArrayOverlapped Method

Performs an asynchronous read operation (overlapped) into safe array of bytes.

Syntax

Visual Basic .NET
Sub ReadArrayOverlapped(ByRef OV As FTSPCOverlapped, ByRef DataBuffer As array of Byte, ByVal BytesToRead As UInt32) 
Visual C#
void ReadArrayOverlapped(ref FTSPCOverlapped OV, ref byte[] DataBuffer, UInt32 BytesToRead);

Parameters

OV

[out] Instance of FTSPCOverlapped Class.

DataBuffer

[out] Destination SafeArray of bytes.

BytesToRead

[in] Number of bytes to read.

Remarks

OV and DataBuffer must be "alive" during all time of the operation.
You should call GetResult method of OV instance to get status of the operation.