WriteArrayOverlapped Method

Performs an asynchronous write operation (overlapped) of safe array data.

Syntax

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

Parameters

OV

[out] Instance of FTSPCOverlapped Class.

DataBuffer

[in] SafeArray of bytes to write.

BytesToWrite

[in] Number of bytes to write to serial port.

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.