Platform SDK: Hardware |
The DBT_USERDEFINED device event identifies a user-defined event.
To broadcast this device event, call the BroadcastSystemMessage function with the WM_DEVICECHANGE message. Set wParam to DBT_USERDEFINED and set lParam as described following.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later.
Header: Declared in Dbt.h.
Device Management Overview, Device Management Events, _DEV_BROADCAST_USERDEFINED, WM_DEVICECHANGE