Serial Framework C++ Edition

◆ Write()

int Write ( const void *const  Data,
const unsigned long  Size 
)
protected

Sends data to the connected device.

Parameters
DataThe pointer to the data buffer that should be sent to the connected device.
SizeThe data buffer size.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.