Serial Framework C++ Edition

◆ GetConfig()

int GetConfig ( wclSerialConfig & Config) const

Gets the current serial port settings.

Parameters
ConfigIf the method succeed the parameter contains the current serial port configuration.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclSerialConfig