USBNotifier Constructor (IntPtr, Guid) |
Constructs a new USBNotifier that will watch for events on
devices matching the given interface GUID. A window handle
is needed since the notifier relies on window messages.
Namespace:
MadWizard.WinUSBNet
Assembly:
WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic USBNotifier(
IntPtr windowHandle,
Guid guid
)
Public Sub New (
windowHandle As IntPtr,
guid As Guid
)
public:
USBNotifier(
IntPtr windowHandle,
Guid guid
)
Parameters
- windowHandle
- Type: SystemIntPtr
Window handle of a window that will be used internally for device notification messages. - guid
- Type: SystemGuid
The interface GUID of the devices to watch.
See Also