From: Louis Lenders xerox.xerox2000x@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=55742 --- dlls/uxtheme/system.c | 2 +- dlls/uxtheme/uxtheme.spec | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/uxtheme/system.c b/dlls/uxtheme/system.c index 6b202bb48a7..7d19cfbc510 100644 --- a/dlls/uxtheme/system.c +++ b/dlls/uxtheme/system.c @@ -1298,5 +1298,5 @@ BOOL WINAPI ShouldAppsUseDarkMode(void) int WINAPI SetPreferredAppMode(int app_mode) { FIXME("%d: stub\n", app_mode); - return 0; + return app_mode; } diff --git a/dlls/uxtheme/uxtheme.spec b/dlls/uxtheme/uxtheme.spec index d31621e11a7..6bcebffe0a5 100644 --- a/dlls/uxtheme/uxtheme.spec +++ b/dlls/uxtheme/uxtheme.spec @@ -43,6 +43,7 @@ 62 stub -noname ServerClearStockObjects 63 stub -noname MarkSelection 132 stdcall -noname ShouldAppsUseDarkMode() +135 stdcall -noname SetPreferredAppMode(long) 138 stdcall -noname ShouldSystemUseDarkMode()
# Standard functions