Platform SDK: Hardware

DBT_CONFIGCHANGED

The system broadcasts the DBT_CONFIGCHANGED device event to indicate that the current configuration has changed, due to a dock or undock. An application or driver that stores data in the registry under the HKEY_CURRENT_CONFIG key should update the data.

To broadcast this device event, the system uses the WM_DEVICECHANGE message with wParam set to DBT_CONFIGCHANGED and lParam set to zero.

Parameters

wParam
Set to DBT_CONFIGCHANGED.
lParam
Set to zero.

Return Values

Return TRUE.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Dbt.h.

See Also

Device Management Overview, Device Management Events, DBT_CONFIGCHANGECANCELED, DBT_QUERYCHANGECONFIG, WM_DEVICECHANGE