ReadOverlapped Method
Performs an asynchronous read operation (overlapped).
Syntax
Visual Basic .NET | Sub ReadOverlapped(ByVal OV As FTSPCOverlapped, ByVal DataBuffer As System.IntPtr, ByVal BytesToRead As UInt32) |
---|---|
Visual C# | void ReadOverlapped(FTSPCOverlapped OV, IntPtr DataBuffer, UInt32 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.