Updates a global counter when system policy values have changed
Syntax
void WINAPI SHSettingsChanged (
WPARAM unused,
LPCWSTR pwszSetting
)
Parameters
- unused
- Not used
- pwszSetting
- The settings value that has changed
Return Value
None
Remarks
This function is designed to be used in response to WM_SETTINGCHANGE messages. If setting is "Policy" or "Software\Microsoft\Windows\CurrentVersion\Policies", a global counter is updated. This counter is used to judge whether the cache of system restrictions statuses queried by SHRestricted and a cache of loaded shell extensions needs to be updated.
unused and pwszSetting are the WPARAM and LPARAM of the WM_SETTINGCHANGED message respectively.
This function is also known as _SHSettingsChanged@8.