Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/monitor.c:
if (dm.dmPelsWidth == expectedWidth && dm.dmPelsHeight == expectedHeight)
break;
Sleep(100);
- }
- todo_wine_if(todo) ok_(__FILE__, line)(dm.dmPelsWidth == expectedWidth,
"Device %s expect dmPelsWidth %lu, got %lu\n", device, expectedWidth, dm.dmPelsWidth);
- todo_wine_if(todo) ok_(__FILE__, line)(dm.dmPelsHeight == expectedHeight,
"Device %s expect dmPelsHeight %lu, got %lu\n", device, expectedHeight, dm.dmPelsHeight);
+}
+static HANDLE test_child_process_ChangeDisplaySettingsEx(const char *argv0, const char *device, const char *exit_event_name) +{
- static const char *cds_event_name = "test_child_process_ChangeDisplaySettingsEx_cds_event";
cds already stands for ChangeDisplaySettingsEx(). Let's use "test_child_process_cds_event"