SetCTS Method

The SetCTS method sets or clears CTS (clear-to-send) signal.

BOOL SetCTS(
  	BOOL On 	// Set or clear CTS signal
);

Parameters:

  • On [in] : Determines setting or clearance CTS signal of a virtual serial port. This parameter can be any of the following values:
    ValueMeaning
    TRUESet the CTS signal
    FALSEClear the CTS signal

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