Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55898
-- v2: uxtheme: Add stub for RefreshImmersiveColorPolicyState.
From: Bernhard Übelacker bernhardu@mailbox.org
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55898 --- dlls/uxtheme/system.c | 9 +++++++++ dlls/uxtheme/uxtheme.spec | 1 + 2 files changed, 10 insertions(+)
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index f95a5d598ae..adf90a12cfb 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -1253,6 +1253,15 @@ BOOL WINAPI ThemeHooksRemove(void) return TRUE; }
+/********************************************************************** + * RefreshImmersiveColorPolicyState (UXTHEME.104) + * + */ +void WINAPI RefreshImmersiveColorPolicyState(void) +{ + FIXME("stub\n"); +} + /********************************************************************** * ShouldSystemUseDarkMode (UXTHEME.138) * diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index 1cf8ae7e418..26dc54d5805 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -42,6 +42,7 @@ 61 stdcall OpenThemeDataEx(ptr wstr long) 62 stub -noname ServerClearStockObjects 63 stub -noname MarkSelection +104 stdcall -noname RefreshImmersiveColorPolicyState() 132 stdcall -noname ShouldAppsUseDarkMode() 133 stdcall -noname AllowDarkModeForWindow(ptr long) 135 stdcall -noname SetPreferredAppMode(long)
On Fri Nov 17 16:01:53 2023 +0000, Bernhard Übelacker wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/4394/diffs?diff_id=84229&start_sha=c3d8c97ecb413ce950af8f3ae080123fe95ba18f#9abf4dcbc82c6a38a5c702d852b4d3fe7a9c13b9_1262_1262)
Thanks for reviewing. I have rebased and pushed a new version.
This merge request was approved by Zhiyi Zhang.