29 Sep
2023
29 Sep
'23
7:12 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/uxtheme/tests/system.c:
DestroyWindow(hwnd); }
+static void test_ShouldUseDarkMode(void) +{ + DWORD systemUsesLightTheme, systemusesLightThemeType, systemUsesLightThemeSize = sizeof(DWORD); + HKEY hk = HKEY_CURRENT_USER; + LRESULT lr; + + pShouldSystemUseDarkMode = (void *)GetProcAddress(GetModuleHandleA("uxtheme.dll"), + MAKEINTRESOURCEA(138)); + if (!pShouldSystemUseDarkMode) + { + skip("ShouldSystemUseDarkMode was not found.\n");
You can use win_skip once the function is implemented in Wine. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3959#note_47178