A missing API is a todo in Wine.
From: Francois Gouget fgouget@codeweavers.com
A missing API is a todo in Wine. --- dlls/user32/tests/monitor.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/monitor.c b/dlls/user32/tests/monitor.c index 6b7f7b44b15..dd1156e74f1 100644 --- a/dlls/user32/tests/monitor.c +++ b/dlls/user32/tests/monitor.c @@ -2068,16 +2068,18 @@ static void test_DisplayConfigSetDeviceInfo(void) #define CHECK_FUNC(func) \ if (!p##func) \ { \ - skip("%s() is unavailable.\n", #func); \ - return; \ + win_skip("%s() is unavailable.\n", #func); \ + ret = 1; \ }
+ ret = 0; CHECK_FUNC(D3DKMTCloseAdapter) CHECK_FUNC(D3DKMTOpenAdapterFromGdiDisplayName) CHECK_FUNC(DisplayConfigGetDeviceInfo) - CHECK_FUNC(DisplayConfigSetDeviceInfo) + todo_wine CHECK_FUNC(DisplayConfigSetDeviceInfo) CHECK_FUNC(GetDpiForMonitorInternal) CHECK_FUNC(SetThreadDpiAwarenessContext) + if (ret) return;
#undef CHECK_FUNC
From: Francois Gouget fgouget@codeweavers.com
A missing API is a todo in Wine. --- dlls/uxtheme/tests/system.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/uxtheme/tests/system.c b/dlls/uxtheme/tests/system.c index f8253c6a983..1461f33fe15 100644 --- a/dlls/uxtheme/tests/system.c +++ b/dlls/uxtheme/tests/system.c @@ -176,14 +176,15 @@ static BOOL set_primary_monitor_effective_dpi(unsigned int primary_dpi) #define CHECK_FUNC(func) \ if (!p##func) \ { \ - skip("%s() is unavailable.\n", #func); \ - return FALSE; \ + win_skip("%s() is unavailable.\n", #func); \ + ret = TRUE; \ }
CHECK_FUNC(D3DKMTCloseAdapter) CHECK_FUNC(D3DKMTOpenAdapterFromGdiDisplayName) CHECK_FUNC(DisplayConfigGetDeviceInfo) - CHECK_FUNC(DisplayConfigSetDeviceInfo) + todo_wine CHECK_FUNC(DisplayConfigSetDeviceInfo) + if (ret) return FALSE;
#undef CHECK_FUNC
Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
#define CHECK_FUNC(func) \ if (!p##func) \ { \
skip("%s() is unavailable.\n", #func); \
return; \
win_skip("%s() is unavailable.\n", #func); \
}ret = 1; \
Looks good to me. A bit of style nitpick though. Please keep the backslashes aligned.