Performs an asynchronous read operation (overlapped) into safe array of bytes.
Sub ReadArrayOverlapped(OV As FTSPCOverlapped, DataBuffer As array of Byte, BytesToRead As Long)
|Visual C++ (MFC)||
void ReadArrayOverlapped(FTSPCOverlapped *OV, VARIANT *DataBuffer, long BytesToRead);
|Visual C++ (#import)||
void ReadArrayOverlapped(FTSPCOverlapped *OV, VARIANT *DataBuffer, LONG BytesToRead);
[out] Instance of FTSPCOverlapped Class.
[out] Destination SafeArray of bytes.
[in] Number of bytes to read.
You must call GetResult method of OV instance before accessing DataBuffer variable.
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.