This section describes the steps you need to carry in order to create a monitor object.
Initialize the UsbMonitor object, as described in the this tutorial.
CComPtr<IMonitoring> pMonitor; pUsbMonitor->CreateMonitor(&pMonitor);
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.