System Delphi

"Windows 95: The WM_WININICHANGE message is implemented on the Windows NT
platform, but not on the Windows 95 platform. Windows 95 applications
should use the WM_SETTINGCHANGE message, which provides equivalent
functionality."

// the function isWinNT detects, whether WinNT or Win95 is running.
// see the online help for function GetVersion or GetVersionEx..
if isWinNT then
SendMessage(HWND_BROADCAST, WM_WININICHANGE, 0, 0)
else
SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0);