USBNotifier Constructor (IntPtr, String) |
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,
string guidString
)
Public Sub New (
windowHandle As IntPtr,
guidString As String
)
public:
USBNotifier(
IntPtr windowHandle,
String^ guidString
)
Parameters
- windowHandle
- Type: SystemIntPtr
Window handle of a window that will be used internally for device notification messages. - guidString
- Type: SystemString
The interface GUID string of the devices to watch.
See Also