Re: [PATCH v2 0/1] MR3959: uxtheme: Add ShouldUseDarkMode.
Sept. 27, 2023
2:39 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/uxtheme/system.c:
UnregisterUserApiHook(); return TRUE; } + +/********************************************************************** + * ShouldUseDarkMode (UXTHEME.138) + * + * RETURNS + * whether or not the app should use dark mode (true for most) + */ +BOOL WINAPI ShouldUseDarkMode(void) +{ + return TRUE;
I doubt it's returning true even when a light theme is on. Please add some tests for this function. In the test, you can get the function pointer from ordinal. Also, could you point me to that .NET source code that uses this function? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3959#note_46914
911
Age (days ago)
911
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhiyi Zhang (@zhiyi)