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.