OnDTR Event in Virtual Serial Port ActiveX Control

The OnDTR event occurs when other application changes the DTR (data-terminal-ready) signal state.

OnDTR(
  	BOOL On 	// DTR signal state
);

Parameters:

  • On [out] : Determines the state of DTR signal. This parameter can be any of the following values:
    Value Meaning
    TRUE DTR signal sent
    FALSE DTR signal cleared

 

Tip: See also: OnRTS event