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:

ValueMeaning
TRUESet the DSR signal
FALSEClear 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.