Serial Port Monitoring Control - ActiveX Component Library for RS232 Data Monitoring, API for Software Developers
Download Serial Port Monitoring Control Hide this button

_ISerialMonitorEvents Interface

You implement this interface to receive events fired by the Serial Monitor Control library's main object. The Serial Monitor Control calls the _ISerialMonitorEvents.OnChange method when there is a change in the device collection entries. Please see documentation for the _IMonitoringEvents interface for information on binding to the event source.

Declaration

// This interface is not available in scripting environment
public interface _ISerialMonitorEvents
{

    // Methods
    void ${OnChange}();
}
struct _ISerialMonitorEvents : IDispatch
{

    // Methods
    HRESULT ${OnChange}();
};

_ISerialMonitorEvents Methods

OnChange

// This method is not available in scripting environment
void OnChange();
HRESULT OnChange();

Fired when device appears or disappears.