Serial Framework C++ Edition

◆ GetModemStatus()

int GetModemStatus ( wclModemStatuses Status) const

Retrieves the modem control-register values.

Parameters
StatusIf the function completed with success the parameter contains the current state of the modem control-register values.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

The GetModemStatus function is useful when you received the CTS, RLSD, DSR, or ring indicator signals(through OnEvent event.)

The function fails if the hardware does not support the control-register values.

See also
wclModemStatuses