ReadOverlapped Method
Performs an asynchronous read operation (overlapped).
Syntax
Visual Basic | - |
---|---|
Visual C++ (MFC) | void ReadOverlapped(VARIANT OV, long DataBuffer, long BytesToRead); |
Visual C++ (#import) | void ReadOverlapped(VARIANT OV, LONG DataBuffer, LONG 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.