Virtual Serial Port ActiveX Control - SetDSR Method

The SetDSR method sets or clears DSR (data-set-ready) signal.

 
 
BOOL SetDSR(
  BOOL On // Set or clear DSR signal
);

Parameters
  On
    [in] Determines setting or clearance DSR signal of a virtual serial port. This parameter can be any of the following values:
   
Value Meaning
TRUE Set the DSR signal
FALSE Clear the DSR signal

Return Values
  If the function succeeds, the return value is TRUE. If the DSR signal was not set/cleared the return value is FALSE.

See also:

SetCTS method, SetDCD method, SetRING method.