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?