Event that has occurred. This parameter can be one of the following values from the Dbt.h header file.
0x0019 A request to change the current configuration (dock or undock) has been canceled.
0x0018 The current configuration has changed, due to a dock or undock.
0x8006 A custom event has occurred.
Windows NT 4.0 and Windows 95: This value is not supported.
0x8000 A device or piece of media has been inserted and is now available.
0x8001 Permission is requested to remove a device or piece of media. Any application can deny this request and cancel the removal.
0x8002 A request to remove a device or piece of media has been canceled.
0x8004 A device or piece of media has been removed.
0x8003 A device or piece of media is about to be removed. Cannot be denied.
0x8005 A device-specific event has occurred.
0x0007 A device has been added to or removed from the system.
Windows NT 4.0 and Windows Me/98/95: This value is not supported.
0x0017 Permission is requested to change the current configuration (dock or undock).
0xFFFF The meaning of this message is user-defined.