mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[SHELL32] Refresh SHELLSTATE before writing it (#7516)
This commit is contained in:
@@ -279,6 +279,11 @@ VOID WINAPI SHGetSetSettings(LPSHELLSTATE lpss, DWORD dwMask, BOOL bSet)
|
||||
if (bSet)
|
||||
{
|
||||
DWORD changed = 0;
|
||||
if (dwMask & ~g_CachedSSF)
|
||||
{
|
||||
SHELLSTATE tempstate;
|
||||
SHGetSetSettings(&tempstate, dwMask, FALSE); // Read entries that are not in g_CachedSSF
|
||||
}
|
||||
|
||||
#define SHGSS_WriteAdv(name, value, SSF) \
|
||||
do { \
|
||||
|
||||
Reference in New Issue
Block a user