OnOpenClose event in Serial Port Monitor AX

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

 BOOL Opened// Port state
 BSTR Path// the full path to executable

  Opened     [in] Captures the change of state of the sniffed serial port. This parameter can be any of the following values:    

TRUEPort was open
FALSEPort was closed

    Path     [in] This is the full path to application that has opened the port. This parameter is applicable if Opened variable is TRUE