DBT_CONFIGCHANGED

The system sends the DBT_CONFIGCHANGED device message 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 send the DBT_CONFIGCHANGED device message, the system sends the WM_DEVICECHANGE message with wParam set to DBT_CONFIGCHANGED and lParam set to zero.

Parameters

lParam
lParam is zero when the WM_DEVICECHANGE message is sent with wParam set to DBT_CONFIGCHANGED.

Return Values

Return TRUE.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in dbt.h.

See Also

System Messages Overview, System Message Messages, DBT_CONFIGCHANGECANCELED, DBT_QUERYCHANGECONFIG, WM_DEVICECHANGE