OnOpenClose Event in Virtual Serial Port ActiveX Control

The OnOpenClose event occurs when other application opens or closes virtual serial port.

  	BOOL Opened 	// Port state


  • Opened [out] : Determines the state change of virtual serial port. This parameter can be any of the following values:
    Value Meaning
    TRUE Port was opened
    FALSE Port was closed