USB Port Monitoring Control
USB Monitoring Control - USB Device Data Monitoring ActiveX Component Library

How to Create a Monitoring Object

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >

This section describes the steps you need to carry in order to create a monitor object.

  1. Initialize the UsbMonitor object, as described in the this tutorial.
  2. Call the CreateMonitor method to create a monitor object and receive the IMonitoring interface.
    C++
    CComPtr<IMonitoring> pMonitor;
    pUsbMonitor->CreateMonitor(&pMonitor);
                

    C#
    hhdusbmcLib.Monitoring monitor = mc.CreateMonitor();
                

You can create as many monitor objects as you need. Each Monitor object can be attached to one USB device at a time and can have as many native listeners or event handlers attached, as you need.

< PreviousTopNext >
Copyright © 2011 HHD Software. All rights reserved.