WM_SETTINGCHANGE

This message is sent when the Control Panel modifies an Auto PC setting that necessitates a notification be sent to running applications.

Syntax

WM_SETTINGCHANGE wParam = wFlag; lParam = NULL

Parameters

wParam
Specifies one of the Auto PC-specific SPI_SETAPC* values described in the following table.
Constant
Value
Description
SPI_SETAPCSHELL 0x000100100 Shell setting changed
SPI_SETAPCSCREENSAVER 0x000100102 Screen saver changed
SPI_SETAPCAUDIO 0x000100104 Audio changed
SPI_SETAPCLOCALE 0x000100106 Locale changed
SPI_SETAPCFEEDBACK 0x000100108 Feedback changed
SPI_SETAPCGLOBALGRAMMAR 0x00010010a Global grammar changed

lParam
Set to NULL.

Remarks

It is not valid to pass these values to SystemParameterInfo. Instead, they must be explicitly queried for with the appropriate registry settings.