C# Class LibUsbDotNet.DeviceNotify.WindowsDeviceNotifier

Notifies an application of a change to the hardware Configuration of a device or the computer. See IDeviceNotifier or DeviceNotifier.OpenDeviceNotifier interface for more information
This is the windows implementation of the device notifier.
Inheritance: IDeviceNotifier
ファイルを表示 Open project: arvydas/BlinkStickDotNet

Public Methods

Method Description
WindowsDeviceNotifier ( ) : System

Creates an instance of the WindowsDeviceNotifier class. See the IDeviceNotifier interface or DeviceNotifier.OpenDeviceNotifier method for more information

To make your code platform-independent use the DeviceNotifier.OpenDeviceNotifier method for creating instances.

Private Methods

Method Description
OnDeviceChange ( Message &m ) : void
OnHandleChange ( IntPtr newWindowHandle ) : void
RegisterDeviceInterface ( IntPtr windowHandle ) : bool
RegisterDeviceNotification ( IntPtr hRecipient, [ notificationFilter, int flags ) : SafeNotifyHandle
UnregisterDeviceNotification ( IntPtr handle ) : bool

Method Details

WindowsDeviceNotifier() public method

Creates an instance of the WindowsDeviceNotifier class. See the IDeviceNotifier interface or DeviceNotifier.OpenDeviceNotifier method for more information
To make your code platform-independent use the DeviceNotifier.OpenDeviceNotifier method for creating instances.
public WindowsDeviceNotifier ( ) : System
return System