mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[SHELL32] Refresh SHELLSTATE before writing it (#7516)
This commit is contained in:
parent
096a5518e5
commit
89a3b8fa8a
1 changed files with 5 additions and 0 deletions
|
@ -279,6 +279,11 @@ VOID WINAPI SHGetSetSettings(LPSHELLSTATE lpss, DWORD dwMask, BOOL bSet)
|
||||||
if (bSet)
|
if (bSet)
|
||||||
{
|
{
|
||||||
DWORD changed = 0;
|
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) \
|
#define SHGSS_WriteAdv(name, value, SSF) \
|
||||||
do { \
|
do { \
|
||||||
|
|
Loading…
Reference in a new issue