SpringCard LibCs.Windows for .NET  18.10.10
A set of utilities for the Windows platform
SpringCard.LibCs.DeviceNotification Class Reference

Static Public Member Functions

static void RegisterDeviceNotification (IntPtr windowHandle)
 Registers a window to receive notifications when USB devices are plugged or unplugged. More...
 
static void UnregisterDeviceNotification ()
 Unregisters the window for USB device notifications More...
 

Public Attributes

const int DbtDevicearrival = 0x8000
 
const int DbtDeviceremovecomplete = 0x8004
 
const int WmDevicechange = 0x0219
 

Member Function Documentation

◆ RegisterDeviceNotification()

static void SpringCard.LibCs.DeviceNotification.RegisterDeviceNotification ( IntPtr  windowHandle)
static

Registers a window to receive notifications when USB devices are plugged or unplugged.

Parameters
windowHandleHandle to the window receiving notifications.

◆ UnregisterDeviceNotification()

static void SpringCard.LibCs.DeviceNotification.UnregisterDeviceNotification ( )
static

Unregisters the window for USB device notifications


The documentation for this class was generated from the following file: