Performs an asynchroneous write operation (overlapped).
| Visual Basic .NET | Sub WriteOverlapped(ByVal OV As FTSPCOverlapped, ByVal DataBuffer As System.IntPtr, ByVal BytesToWrite As UInt32)
|
|---|---|
| Visual C# | void WriteOverlapped(FTSPCOverlapped OV, IntPtr DataBuffer, UInt32 BytesToWrite);
|
OV
[in] Instance of FTSPCOverlapped Class.
DataBuffer
[in] Buffer to write.
BytesToWrite
[in] Number of bytes to write to serial port.
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.