ReadOverlapped Method

Performs an asynchronous read operation (overlapped).

Syntax

Delphi
procedure ReadOverlapped(OV: FTSPCOverlapped; DataBuffer: Pointer; BytesToRead: Cardinal); 
BCBuilder
void ReadOverlapped(FTSPCOverlapped OV, void * DataBuffer, Cardinal BytesToRead);
 

Parameters

OV

[in] Instance of FTSPCOverlapped Class.

DataBuffer

[in] Destination buffer.

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.