Performs an asynchroneous read operation (overlapped).
| Delphi | procedure ReadOverlapped(OV: FTSPCOverlapped; DataBuffer: Pointer; BytesToRead: Cardinal);
|
|---|---|
| BCBuilder | void ReadOverlapped(FTSPCOverlapped OV, void * DataBuffer, Cardinal BytesToRead);
|
OV
[in] Instance of FTSPCOverlapped Class.
DataBuffer
[in] Destination buffer.
BytesToRead
[in] Number of bytes to read.
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.