Performs an asynchronous write operation (overlapped) of safe array data.
| Visual Basic | Sub WriteArrayOverlapped(OV As FTSPCOverlapped, DataBuffer As array of Byte, BytesToWrite As Long)
|
|---|---|
| Visual C++ (MFC) | void WriteArrayOverlapped(FTSPCOverlapped *OV, VARIANT DataBuffer, long BytesToWrite);
|
| Visual C++ (#import) | void WriteArrayOverlapped(FTSPCOverlapped *OV, VARIANT DataBuffer, LONG BytesToWrite);
|
OV
[out] Instance of FTSPCOverlapped Class.
DataBuffer
[in] SafeArray of bytes 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.