OnDCD Event in Serial Port ActiveX Control

The OnDCD event is triggered when a change is detected in the DCD input signal of the port.  

OnDCD(
 BOOL On// DCD signal state
);

Parameters
  On     [out] Determines the state of DCD signal. This parameter can be any of the following values:    

ValueMeaning
TRUEDCD signal sent
FALSEDCD signal cleared

 


See also

OnCTS event, OnDSR event, OnRing event