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

_IUsbMonitorEvents Interface

You implement this interface to receive the events fired by the USB Monitor Control library's main object.

The USB Monitor Control calls the _IUsbMonitorEvents.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 _IUsbMonitorEvents
{

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

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

_IUsbMonitorEvents Methods

OnChange

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

Fired when device appears or disappears.