Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com ---
I'm sending these tests first to show the behavior across d3d versions. I do not plan to fix them during code freeze, except for ddraw, since I'm not aware of any regressions due to them. I might fix them after code freeze though.
dlls/d3d8/tests/device.c | 195 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+)
diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c index fc94dca..3d58628 100644 --- a/dlls/d3d8/tests/device.c +++ b/dlls/d3d8/tests/device.c @@ -3943,6 +3943,7 @@ static void test_window_style(void) struct device_desc device_desc; LONG style, expected_style; IDirect3DDevice8 *device; + HWND active_window; IDirect3D8 *d3d8; HRESULT hr; ULONG ref; @@ -4055,6 +4056,200 @@ static void test_window_style(void)
ref = IDirect3DDevice8_Release(device); ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + DestroyWindow(device_window); + DestroyWindow(focus_window); + + /* Window changes are done only if the current thread has the foreground window at creation */ + focus_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + active_window = CreateWindowA("static", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 10, 20, 30, 40, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(active_window); + ok(ret, "Failed to set foreground window.\n"); + ok(GetActiveWindow() == active_window, "Unexpected active window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(d3d8, focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + ShowWindow(device_window, SW_SHOWNOACTIVATE); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + GetWindowRect(device_window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + ref = IDirect3DDevice8_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + DestroyWindow(active_window); + DestroyWindow(device_window); + DestroyWindow(focus_window); + + focus_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(focus_window); + ok(GetActiveWindow() == focus_window, "Unexpected active window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(d3d8, focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + ShowWindow(device_window, SW_SHOWNOACTIVATE); + + /* Windows 8 and some versions of Windows 10 have some pretty + inconsistent behavior but topmost is set even when inactive. */ + style = GetWindowLongA(device_window, GWL_EXSTYLE); + if (broken(style & WS_EX_TOPMOST)) + { + win_skip("topmost set when inactive due to inconsistent behavior, skipping related tests...\n"); + goto skip_inactive; + } + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(focus_window); + ok(GetActiveWindow() == focus_window, "Unexpected active window."); + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + GetWindowRect(device_window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + SetForegroundWindow(focus_window); + ok(ret, "Failed to set foreground window.\n"); + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + ref = IDirect3DDevice8_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + DestroyWindow(device_window); + DestroyWindow(focus_window); + + focus_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d8_test_wc", "d3d8_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(device_window); + ok(GetActiveWindow() == device_window, "Unexpected active window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(d3d8, focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + ShowWindow(device_window, SW_SHOWNOACTIVATE); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + +skip_inactive: + ref = IDirect3DDevice8_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref);
done: IDirect3D8_Release(d3d8);
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/d3d9/tests/d3d9ex.c | 210 +++++++++++++++++++++++++++++++++++++++ dlls/d3d9/tests/device.c | 57 ++++++++++- 2 files changed, 264 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d9/tests/d3d9ex.c b/dlls/d3d9/tests/d3d9ex.c index 2afe730..84298c6 100644 --- a/dlls/d3d9/tests/d3d9ex.c +++ b/dlls/d3d9/tests/d3d9ex.c @@ -3475,6 +3475,7 @@ static void test_window_style(void) struct device_desc device_desc; LONG style; IDirect3DDevice9Ex *device; + HWND active_window; HRESULT hr; ULONG ref; BOOL ret; @@ -3662,6 +3663,215 @@ static void test_window_style(void) DestroyWindow(device_window); DestroyWindow(focus_window); } + + /* Window changes are done only if the focus window is foreground */ + focus_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + active_window = CreateWindowA("static", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 10, 20, 30, 40, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(active_window); + ok(ret, "Failed to set foreground window.\n"); + ok(GetActiveWindow() == active_window, "Unexpected active window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + ref = IDirect3DDevice9Ex_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + + ret = SetForegroundWindow(active_window); + ok(ret, "Failed to set foreground window.\n"); + ok(GetActiveWindow() == active_window, "Unexpected active window.\n"); + + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + GetWindowRect(device_window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(active_window); + ok(GetActiveWindow() == active_window, "Unexpected active window.\n"); + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + SetForegroundWindow(focus_window); + ok(ret, "Failed to set foreground window.\n"); + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + ref = IDirect3DDevice9Ex_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + + DestroyWindow(active_window); + DestroyWindow(device_window); + DestroyWindow(focus_window); + + focus_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(focus_window); + ok(GetActiveWindow() == focus_window, "Unexpected active window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + ref = IDirect3DDevice9Ex_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(focus_window); + ok(GetActiveWindow() == focus_window, "Unexpected active window.\n"); + + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + GetWindowRect(device_window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(focus_window); + ok(GetActiveWindow() == focus_window, "Unexpected active window.\n"); + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + SetForegroundWindow(device_window); + ok(ret, "Failed to set foreground window.\n"); + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + todo_wine ok(style == device_exstyle || broken(style == (device_exstyle & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", device_exstyle, style); + + SetForegroundWindow(focus_window); + ok(ret, "Failed to set foreground window.\n"); + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + ref = IDirect3DDevice9Ex_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + + DestroyWindow(device_window); + DestroyWindow(focus_window); }
static void test_swapchain_parameters(void) diff --git a/dlls/d3d9/tests/device.c b/dlls/d3d9/tests/device.c index c480a9d..b922c88 100644 --- a/dlls/d3d9/tests/device.c +++ b/dlls/d3d9/tests/device.c @@ -5051,9 +5051,7 @@ static void test_window_style(void) if (!(device = create_device(d3d9, focus_window, &device_desc))) { skip("Failed to create a D3D device, skipping tests.\n"); - DestroyWindow(device_window); - DestroyWindow(focus_window); - break; + goto done; }
style = GetWindowLongA(device_window, GWL_STYLE); @@ -5148,6 +5146,59 @@ static void test_window_style(void) DestroyWindow(device_window); DestroyWindow(focus_window); } + + /* Window changes are always done no matter if it is active or not */ + focus_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + device_window = CreateWindowA("d3d9_test_wc", "d3d9_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, registry_mode.dmPelsWidth / 2, registry_mode.dmPelsHeight / 2, 0, 0, 0, 0); + + device_style = GetWindowLongA(device_window, GWL_STYLE); + device_exstyle = GetWindowLongA(device_window, GWL_EXSTYLE); + focus_style = GetWindowLongA(focus_window, GWL_STYLE); + focus_exstyle = GetWindowLongA(focus_window, GWL_EXSTYLE); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + + device_desc.device_window = device_window; + device_desc.flags = CREATE_DEVICE_FULLSCREEN; + device = create_device(d3d9, focus_window, &device_desc); + ok(!!device, "Failed to create a D3D device.\n"); + + style = GetWindowLongA(device_window, GWL_STYLE); + todo_wine ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + todo_wine ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + style = GetWindowLongA(focus_window, GWL_STYLE); + ok(style == focus_style, "Expected focus window style %#x, got %#x.\n", focus_style, style); + style = GetWindowLongA(focus_window, GWL_EXSTYLE); + ok(style == focus_exstyle, "Expected focus window extended style %#x, got %#x.\n", focus_exstyle, style); + GetWindowRect(device_window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + device_desc.flags = 0; + hr = reset_device(device, &device_desc); + ok(SUCCEEDED(hr), "Failed to reset device, hr %#x.\n", hr); + + style = GetWindowLongA(device_window, GWL_STYLE); + ok(style == device_style || broken(style == (device_style & ~WS_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window style %#x, got %#x.\n", device_style, style); + style = GetWindowLongA(device_window, GWL_EXSTYLE); + expected_style = device_exstyle | WS_EX_TOPMOST; + ok(style == expected_style || broken(style == (expected_style & ~WS_EX_OVERLAPPEDWINDOW)) /* w1064v1809 */, + "Expected device window extended style %#x, got %#x.\n", expected_style, style); + + ref = IDirect3DDevice9_Release(device); + ok(ref == 0, "The device was not properly freed: refcount %u.\n", ref); + +done: + DestroyWindow(device_window); + DestroyWindow(focus_window); IDirect3D9_Release(d3d9); }
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105116
Your paranoid android.
=== debian11 (32 bit German report) ===
d3d9: device.c:14728: Test failed: Adapter 1: Expect window rect (720,0)-(1744,737), got (0,0)-(1024,737).
=== debian11 (32 bit French report) ===
d3d9: d3d9ex.c:2986: Test failed: Got unexpected screen size 1024x768. d3d9ex.c:3040: Test failed: Got unexpected width 1024. d3d9ex.c:3041: Test failed: Got unexpected height 768. d3d9ex.c:2986: Test failed: Got unexpected screen size 1024x768. d3d9ex.c:3040: Test failed: Got unexpected width 1024. d3d9ex.c:3041: Test failed: Got unexpected height 768.
=== debian11 (32 bit Hebrew:Israel report) ===
d3d9: device.c:14662: Test failed: Adapter 1: Expect window rect (1024,0)-(2048,737), got (1024,0)-(1664,480).
=== debian11 (32 bit WoW report) ===
d3d9: d3d9ex.c:2986: Test failed: Got unexpected screen size 720x480. d3d9ex.c:3040: Test failed: Got unexpected width 720. d3d9ex.c:3041: Test failed: Got unexpected height 480. d3d9ex.c:3151: Test failed: Expected message 0x3 for window 0x1, but didn't receive it, i=1.
=== debian11 (64 bit WoW report) ===
d3d9: device.c:4197: Test failed: Got unexpected screen size 640x480. device.c:4223: Test failed: Expected message 0x46 for window 0, but didn't receive it, i=0. device.c:4232: Test failed: Got unexpected screen size 640x480. device.c:4257: Test failed: Got unexpected width 640. device.c:4378: Test failed: Expected message 0x3 for window 0x1, but didn't receive it, i=0. device.c:4197: Test failed: Got unexpected screen size 640x480. device.c:4232: Test failed: Got unexpected screen size 640x480. device.c:4257: Test failed: Got unexpected width 640. device.c:4258: Test failed: Got unexpected height 480. device.c:5467: Test failed: Expected resolution 1024x768, got 640x480. device.c:5497: Test failed: Expected resolution 1024x768, got 640x480. device.c:14728: Test failed: Adapter 1: Expect window rect (640,0)-(1664,737), got (0,0)-(1024,737).
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/dxgi/tests/dxgi.c | 46 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-)
diff --git a/dlls/dxgi/tests/dxgi.c b/dlls/dxgi/tests/dxgi.c index a83964d..a7d36ac 100644 --- a/dlls/dxgi/tests/dxgi.c +++ b/dlls/dxgi/tests/dxgi.c @@ -6049,7 +6049,7 @@ done:
static void test_swapchain_window_styles(void) { - LONG style, exstyle, fullscreen_style, fullscreen_exstyle; + LONG style, exstyle, fullscreen_style, fullscreen_exstyle, expected_style; DXGI_SWAP_CHAIN_DESC swapchain_desc; IDXGISwapChain *swapchain; IDXGIFactory *factory; @@ -6058,6 +6058,7 @@ static void test_swapchain_window_styles(void) ULONG refcount; unsigned int i; HRESULT hr; + BOOL ret;
static const struct { @@ -6225,6 +6226,49 @@ static void test_swapchain_window_styles(void) DestroyWindow(swapchain_desc.OutputWindow); }
+ /* Window changes are always done no matter if it is active or not */ + swapchain_desc.OutputWindow = CreateWindowExA(0, "static", "dxgi_test", + WS_OVERLAPPED | WS_VISIBLE, 0, 0, 400, 200, 0, 0, 0, 0); + + expected_style = WS_OVERLAPPED | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CAPTION; + fullscreen_style = WS_VISIBLE | WS_CLIPSIBLINGS; + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + hr = IDXGIFactory_CreateSwapChain(factory, (IUnknown *)device, &swapchain_desc, &swapchain); + ok(hr == S_OK, "Failed to create swapchain, hr %#x.\n", hr); + + style = GetWindowLongA(swapchain_desc.OutputWindow, GWL_STYLE); + exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); + ok(style == expected_style, "Got style %#x, expected %#x.\n", style, expected_style); + ok(exstyle == WS_EX_WINDOWEDGE, "Got exstyle %#x, expected %#x.\n", exstyle, (DWORD)WS_EX_WINDOWEDGE); + + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + hr = IDXGISwapChain_SetFullscreenState(swapchain, TRUE, NULL); + ok(hr == S_OK || hr == DXGI_ERROR_NOT_CURRENTLY_AVAILABLE + || broken(hr == DXGI_ERROR_UNSUPPORTED), /* Win 7 testbot */ + "Failed to set fullscreen state, hr %#x.\n", hr); + if (SUCCEEDED(hr)) + { + style = GetWindowLongA(swapchain_desc.OutputWindow, GWL_STYLE); + exstyle = GetWindowLongA(swapchain_desc.OutputWindow, GWL_EXSTYLE); + todo_wine + ok(style == fullscreen_style, "Got style %#x, expected %#x.\n", style, fullscreen_style); + ok(exstyle == WS_EX_TOPMOST, "Got exstyle %#x, expected %#x.\n", exstyle, (DWORD)WS_EX_TOPMOST); + + hr = IDXGISwapChain_SetFullscreenState(swapchain, FALSE, NULL); + ok(hr == S_OK, "Got unexpected hr %#x.\n", hr); + } + else + { + skip("Could not change fullscreen state %08x.\n", hr); + } + + refcount = IDXGISwapChain_Release(swapchain); + ok(!refcount, "IDXGISwapChain has %u references left.\n", refcount); + DestroyWindow(swapchain_desc.OutputWindow); + refcount = IDXGIDevice_Release(device); ok(!refcount, "Device has %u references left.\n", refcount); refcount = IDXGIFactory_Release(factory);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105117
Your paranoid android.
=== w8adm (32 bit report) ===
dxgi: dxgi.c:6237: Test failed: Failed to set foreground window. dxgi.c:6247: Test failed: Failed to set foreground window.
=== debian11 (32 bit report) ===
dxgi: dxgi.c:3354: Test failed: Got monitor rect (0,0)-(1152,768), expected (0,0)-(1024,768). dxgi.c:3356: Test failed: Got monitor rect (0,0)-(1152,768), expected (0,0)-(1024,768). dxgi.c:3369: Test failed: Got monitor rect (0,0)-(1152,768), expected (0,0)-(1024,768).
=== debian11 (32 bit Hebrew:Israel report) ===
dxgi: dxgi.c:3354: Test failed: Got monitor rect (0,0)-(1280,800), expected (0,0)-(1152,768). dxgi.c:3356: Test failed: Got monitor rect (0,0)-(1280,800), expected (0,0)-(1152,768). dxgi.c:3369: Test failed: Got monitor rect (0,0)-(1280,800), expected (0,0)-(1152,768).
=== debian11 (32 bit Japanese:Japan report) ===
dxgi: dxgi.c:3354: Test failed: Got monitor rect (0,0)-(800,600), expected (0,0)-(1280,800). dxgi.c:3356: Test failed: Got monitor rect (0,0)-(800,600), expected (0,0)-(1280,800). dxgi.c:3369: Test failed: Got monitor rect (0,0)-(800,600), expected (0,0)-(1280,800).
=== debian11 (32 bit Chinese:China report) ===
dxgi: dxgi.c:3699: Test failed: Got monitor rect (0,0)-(640,480), expected (0,0)-(800,600).
Fixes a regression introduced by f90d607c67768f19e36d9d74b498594252faa3fd.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50370 Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com ---
The current tests were testing a hidden window only, which ddraw treats as inactive (but not d3d8/d3d9ex). Tests were added to show that even visible windows, but inactive, are not set to topmost, while active ones are.
This is ddraw specific. d3d8 and d3d9ex treat hidden windows as "active" for the purposes of window changes (so only inactive visible windows prevent changes). We have existing tests for that.
Unfortunately, most of the tests are still todo_wine, even though the WS_EX_TOPMOST style matches (except when exiting, that's fixed on last patch). That's because we don't have WS_EX_WINDOWEDGE on fullscreen windows (long-standing issue), but the topmost bit is set correctly.
dlls/ddraw/ddraw.c | 6 ++-- dlls/ddraw/tests/ddraw1.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw2.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw4.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw7.c | 61 ++++++++++++++++++++++++++++++++++++++- 5 files changed, 244 insertions(+), 6 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index 5b70bb4..77172d4 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -583,8 +583,10 @@ static HRESULT ddraw_attach_d3d_device(struct ddraw *ddraw, HWND window, swapchain_desc.swap_effect = WINED3D_SWAP_EFFECT_DISCARD; swapchain_desc.device_window = window; swapchain_desc.windowed = windowed; - swapchain_desc.flags = WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH - | WINED3D_SWAPCHAIN_IMPLICIT | WINED3D_SWAPCHAIN_NO_WINDOW_CHANGES; + swapchain_desc.flags = WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH | WINED3D_SWAPCHAIN_IMPLICIT; + + if (window != GetForegroundWindow()) + swapchain_desc.flags |= WINED3D_SWAPCHAIN_NO_WINDOW_CHANGES;
if (ddraw->flags & DDRAW_NO3D) return wined3d_swapchain_create(ddraw->wined3d_device, &swapchain_desc, diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 11c1477..80f04e7 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -2585,14 +2585,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r; + HWND window, window2; IDirectDraw *ddraw; - HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0); + window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, 50, 50, 0, 0, 0, 0); ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");
@@ -2636,6 +2638,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ ShowWindow(window, SW_SHOW); + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(window); + ok(GetActiveWindow() == window, "Unexpected active window.\n"); + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + ret = SetForegroundWindow(window2); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 33ad957..b7b6ba8 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -2663,14 +2663,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r; + HWND window, window2; IDirectDraw2 *ddraw; - HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0); + window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, 50, 50, 0, 0, 0, 0); ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");
@@ -2714,6 +2716,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ ShowWindow(window, SW_SHOW); + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(window); + ok(GetActiveWindow() == window, "Unexpected active window.\n"); + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + ret = SetForegroundWindow(window2); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index 6182843..c7f5f64 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -2899,14 +2899,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r; + HWND window, window2; IDirectDraw4 *ddraw; - HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0); + window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, 50, 50, 0, 0, 0, 0); ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");
@@ -2950,6 +2952,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ ShowWindow(window, SW_SHOW); + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(window); + ok(GetActiveWindow() == window, "Unexpected active window.\n"); + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + ret = SetForegroundWindow(window2); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index fc0f854..cbc10a3 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -2564,14 +2564,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r; + HWND window, window2; IDirectDraw7 *ddraw; - HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0); + window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE, + 0, 0, 50, 50, 0, 0, 0, 0); ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");
@@ -2615,6 +2617,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ ShowWindow(window, SW_SHOW); + ret = SetForegroundWindow(GetDesktopWindow()); + ok(ret, "Failed to set foreground window.\n"); + SetActiveWindow(window); + ok(GetActiveWindow() == window, "Unexpected active window.\n"); + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + ret = SetForegroundWindow(window2); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + GetWindowRect(window, &r); + ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", + wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r)); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105118
Your paranoid android.
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw1.c:3061: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3064: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3068: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3109: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3111: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw2.c:3155: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3158: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3162: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3203: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3205: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15253: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15260: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3397: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3401: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3442: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18773: Test failed: Got unexpected color 0x00000040.
=== w864 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18773: Test failed: Got unexpected color 0x0000ff00.
=== w1064_tsign (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw7.c:3058: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3061: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3065: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3106: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3108: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== debian11 (32 bit report) ===
ddraw: ddraw4.c:3388: Test failed: Got unexpected screen size 720x480. ddraw4.c:3444: Test failed: Expected screen size 1024x768, got 720x480. ddraw4.c:3450: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3474: Test failed: Expected surface width 1024, got 720. ddraw4.c:3476: Test failed: Expected surface height 768, got 480. ddraw4.c:3480: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3487: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3492: Test failed: Expected surface width 1024, got 720. ddraw4.c:3494: Test failed: Expected surface height 768, got 480. ddraw4.c:3507: Test failed: Expected surface width 1024, got 720. ddraw4.c:3509: Test failed: Expected surface height 768, got 480. ddraw4.c:3513: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3536: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3558: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3563: Test failed: Expected surface width 1024, got 720. ddraw4.c:3565: Test failed: Expected surface height 768, got 480. ddraw4.c:3584: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3604: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3617: Test failed: Expected resolution 1024x768, got 720x480. ddraw4.c:3634: Test failed: Expected surface width 1024, got 720. ddraw4.c:3636: Test failed: Expected surface height 768, got 480. ddraw4.c:3640: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3650: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3655: Test failed: Expected surface width 1024, got 720. ddraw4.c:3657: Test failed: Expected surface height 768, got 480. ddraw4.c:3670: Test failed: Expected surface width 1024, got 720. ddraw4.c:3672: Test failed: Expected surface height 768, got 480. ddraw4.c:3676: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3699: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3721: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3726: Test failed: Expected surface width 1024, got 720. ddraw4.c:3728: Test failed: Expected surface height 768, got 480. ddraw4.c:3747: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3767: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3780: Test failed: Expected resolution 1024x768, got 720x480. ddraw4.c:3797: Test failed: Expected surface width 1024, got 720. ddraw4.c:3799: Test failed: Expected surface height 768, got 480. ddraw4.c:3804: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3823: Test failed: Expected screen size 1024x768, got 720x480. ddraw4.c:3830: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3842: Test failed: Expected surface width 1024, got 720. ddraw4.c:3844: Test failed: Expected surface height 768, got 480. ddraw4.c:3895: Test failed: Expected screen size 2 1024x768, got 720x480. ddraw4.c:3903: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3915: Test failed: Expected surface width 1024, got 720. ddraw4.c:3917: Test failed: Expected surface height 768, got 480. ddraw4.c:18290: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw4.c:18297: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw7.c:3875: Test failed: Got unexpected screen width 640. ddraw7.c:3877: Test failed: Got unexpected screen height 480. ddraw7.c:3882: Test failed: Got unexpected screen width 640. ddraw7.c:3884: Test failed: Got unexpected screen height 480. ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736).
=== debian11 (32 bit Arabic:Morocco report) ===
ddraw: ddraw2.c:3964: Test failed: Got unexpected screen width 800. ddraw2.c:3966: Test failed: Got unexpected screen height 600. ddraw2.c:3987: Test failed: Got unexpected screen width 800. ddraw2.c:3989: Test failed: Got unexpected screen height 600. ddraw2.c:3994: Test failed: Got unexpected screen width 800. ddraw2.c:3996: Test failed: Got unexpected screen height 600. ddraw4.c:4413: Test failed: Got a different mode. ddraw7.c:3485: Test failed: Expected message 0x47, but didn't receive it. ddraw7.c:3487: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:3494: Test failed: Expected (0,0)-(1024,768), got (0,0)-(640,480). ddraw7.c:3506: Test failed: Expected surface width 1024, got 640. ddraw7.c:3508: Test failed: Expected surface height 768, got 480. ddraw7.c:3559: Test failed: Expected screen size 2 1024x768, got 640x480. ddraw7.c:3567: Test failed: Expected (0,0)-(1024,768), got (0,0)-(640,480). ddraw7.c:3579: Test failed: Expected surface width 1024, got 640. ddraw7.c:3581: Test failed: Expected surface height 768, got 480.
=== debian11 (32 bit French report) ===
ddraw: ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736).
=== debian11 (32 bit Hebrew:Israel report) ===
ddraw: ddraw4.c:2951: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw4.c:2970: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw4.c:2988: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw4.c:3008: Test failed: Expected window style 0x4cf0000, got 0xa40b0000.
=== debian11 (32 bit Hindi:India report) ===
ddraw: ddraw1.c:14295: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14310: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:4158: Test failed: Got a different mode. ddraw2.c:15219: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15234: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18256: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18271: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18523: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18538: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Japanese:Japan report) ===
ddraw: ddraw4.c:4188: Test failed: Got unexpected screen width 800. ddraw4.c:4190: Test failed: Got unexpected screen height 600. ddraw4.c:4211: Test failed: Got unexpected screen width 800. ddraw4.c:4213: Test failed: Got unexpected screen height 600. ddraw4.c:4218: Test failed: Got unexpected screen width 800. ddraw4.c:4220: Test failed: Got unexpected screen height 600.
=== debian11 (32 bit Chinese:China report) ===
ddraw: ddraw2.c:3489: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3515: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3535: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3572: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3388: Test failed: Got unexpected screen size 720x480. ddraw4.c:3394: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3442: Test failed: Expected message 0x47, but didn't receive it. ddraw4.c:3444: Test failed: Expected screen size 640x480, got 0x0. ddraw4.c:3450: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3474: Test failed: Expected surface width 640, got 720. ddraw4.c:3480: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3487: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3492: Test failed: Expected surface width 640, got 720. ddraw4.c:3507: Test failed: Expected surface width 640, got 720. ddraw4.c:3513: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3536: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3549: Test failed: Got unexpected hr 0. ddraw4.c:3551: Test failed: Got unexpected hr 0. ddraw4.c:3558: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3563: Test failed: Expected surface width 640, got 720. ddraw4.c:3584: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3604: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3617: Test failed: Expected resolution 640x480, got 720x480. ddraw4.c:3634: Test failed: Expected surface width 640, got 720. ddraw4.c:3640: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3650: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3655: Test failed: Expected surface width 640, got 720. ddraw4.c:3670: Test failed: Expected surface width 640, got 720. ddraw4.c:3676: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3699: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3712: Test failed: Got unexpected hr 0. ddraw4.c:3714: Test failed: Got unexpected hr 0. ddraw4.c:3721: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3726: Test failed: Expected surface width 640, got 720. ddraw4.c:3747: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3767: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3780: Test failed: Expected resolution 640x480, got 720x480. ddraw4.c:3797: Test failed: Expected surface width 640, got 720. ddraw4.c:3804: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3821: Test failed: Expected message 0x47, but didn't receive it. ddraw4.c:3823: Test failed: Expected screen size 640x480, got 0x0. ddraw4.c:3830: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3842: Test failed: Expected surface width 640, got 720. ddraw4.c:3895: Test failed: Expected screen size 2 640x480, got 720x480. ddraw4.c:3903: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw4.c:3915: Test failed: Expected surface width 640, got 720.
Report validation errors: ddraw7: Timeout
=== debian11 (build log) ===
WineRunWineTest.pl:error: The task timed out
=== debian11 (64 bit WoW report) ===
ddraw: ddraw1.c:14329: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14336: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18557: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw7.c:18564: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736).
I'll have a closer look at this tomorrow. In particular, I want to see if the behavior is the same on my Windows machines.
One general musing (doesn't apply to a particular patch / line of code, hence the toppost) is how much of this behavior is d3d's / ddraw's doing and how much might be an external process like explorer.exe or whatever Windows equivalent of a window manager is. Prohibiting non-foreground applications from spawning a fullscreen window over your desktop sounds like a focus stealing prevention mechanism. I'd implement that in a component that is outside the badly behaved / malicious process and not inside like d3d*.dll are.
Musing 2: Is it the foreground thread that matters or that the foreground thread belongs to the current process?
And sorry that this is all so complicated. Window management and window flags are a pain :-(
Am 10.01.2022 um 17:47 schrieb Gabriel Ivăncescu gabrielopcode@gmail.com:
Fixes a regression introduced by f90d607c67768f19e36d9d74b498594252faa3fd.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50370 Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com
The current tests were testing a hidden window only, which ddraw treats as inactive (but not d3d8/d3d9ex). Tests were added to show that even visible windows, but inactive, are not set to topmost, while active ones are.
This is ddraw specific. d3d8 and d3d9ex treat hidden windows as "active" for the purposes of window changes (so only inactive visible windows prevent changes). We have existing tests for that.
Unfortunately, most of the tests are still todo_wine, even though the WS_EX_TOPMOST style matches (except when exiting, that's fixed on last patch). That's because we don't have WS_EX_WINDOWEDGE on fullscreen windows (long-standing issue), but the topmost bit is set correctly.
dlls/ddraw/ddraw.c | 6 ++-- dlls/ddraw/tests/ddraw1.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw2.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw4.c | 61 ++++++++++++++++++++++++++++++++++++++- dlls/ddraw/tests/ddraw7.c | 61 ++++++++++++++++++++++++++++++++++++++- 5 files changed, 244 insertions(+), 6 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index 5b70bb4..77172d4 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -583,8 +583,10 @@ static HRESULT ddraw_attach_d3d_device(struct ddraw *ddraw, HWND window, swapchain_desc.swap_effect = WINED3D_SWAP_EFFECT_DISCARD; swapchain_desc.device_window = window; swapchain_desc.windowed = windowed;
- swapchain_desc.flags = WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH
| WINED3D_SWAPCHAIN_IMPLICIT | WINED3D_SWAPCHAIN_NO_WINDOW_CHANGES;
swapchain_desc.flags = WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH | WINED3D_SWAPCHAIN_IMPLICIT;
if (window != GetForegroundWindow())
swapchain_desc.flags |= WINED3D_SWAPCHAIN_NO_WINDOW_CHANGES;
if (ddraw->flags & DDRAW_NO3D) return wined3d_swapchain_create(ddraw->wined3d_device, &swapchain_desc,
diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 11c1477..80f04e7 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -2585,14 +2585,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r;
- HWND window, window2; IDirectDraw *ddraw;
HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0);
- window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");0, 0, 50, 50, 0, 0, 0, 0);
@@ -2636,6 +2638,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW);
- ret = SetForegroundWindow(GetDesktopWindow());
- ok(ret, "Failed to set foreground window.\n");
- SetActiveWindow(window);
- ok(GetActiveWindow() == window, "Unexpected active window.\n");
- hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- ret = SetForegroundWindow(window2);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- ret = SetForegroundWindow(window);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- expected_style = exstyle | WS_EX_TOPMOST;
- todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp);
- ShowWindow(window, SW_HIDE);
- hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 33ad957..b7b6ba8 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -2663,14 +2663,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r;
- HWND window, window2; IDirectDraw2 *ddraw;
HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0);
- window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");0, 0, 50, 50, 0, 0, 0, 0);
@@ -2714,6 +2716,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW);
- ret = SetForegroundWindow(GetDesktopWindow());
- ok(ret, "Failed to set foreground window.\n");
- SetActiveWindow(window);
- ok(GetActiveWindow() == window, "Unexpected active window.\n");
- hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- ret = SetForegroundWindow(window2);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- ret = SetForegroundWindow(window);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- expected_style = exstyle | WS_EX_TOPMOST;
- todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp);
- ShowWindow(window, SW_HIDE);
- hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW); hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index 6182843..c7f5f64 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -2899,14 +2899,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r;
- HWND window, window2; IDirectDraw4 *ddraw;
HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0);
- window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");0, 0, 50, 50, 0, 0, 0, 0);
@@ -2950,6 +2952,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW);
- ret = SetForegroundWindow(GetDesktopWindow());
- ok(ret, "Failed to set foreground window.\n");
- SetActiveWindow(window);
- ok(GetActiveWindow() == window, "Unexpected active window.\n");
- hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- ret = SetForegroundWindow(window2);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- ret = SetForegroundWindow(window);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- expected_style = exstyle | WS_EX_TOPMOST;
- todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp);
- ShowWindow(window, SW_HIDE);
- hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW); hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index fc0f854..cbc10a3 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -2564,14 +2564,16 @@ static void test_window_style(void) { LONG style, exstyle, tmp, expected_style; RECT fullscreen_rect, r;
- HWND window, window2; IDirectDraw7 *ddraw;
HWND window; HRESULT hr; ULONG ref; BOOL ret;
window = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, 0, 0, 0, 0);
- window2 = CreateWindowA("static", "ddraw_test", WS_OVERLAPPEDWINDOW | WS_VISIBLE,
ddraw = create_ddraw(); ok(!!ddraw, "Failed to create a ddraw object.\n");0, 0, 50, 50, 0, 0, 0, 0);
@@ -2615,6 +2617,63 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW);
- ret = SetForegroundWindow(GetDesktopWindow());
- ok(ret, "Failed to set foreground window.\n");
- SetActiveWindow(window);
- ok(GetActiveWindow() == window, "Unexpected active window.\n");
- hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- ret = SetForegroundWindow(window2);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- GetWindowRect(window, &r);
- ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n",
wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
- ret = SetForegroundWindow(window);
- ok(ret, "Failed to set foreground window.\n");
- hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- expected_style = style | WS_VISIBLE;
- todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- expected_style = exstyle | WS_EX_TOPMOST;
- todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp);
- ShowWindow(window, SW_HIDE);
- hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
- ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
- tmp = GetWindowLongA(window, GWL_STYLE);
- ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp);
- tmp = GetWindowLongA(window, GWL_EXSTYLE);
- todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
- ShowWindow(window, SW_SHOW); hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
-- 2.34.1
On 10/01/2022 20:28, Stefan Dösinger wrote:
I'll have a closer look at this tomorrow. In particular, I want to see if the behavior is the same on my Windows machines.
One general musing (doesn't apply to a particular patch / line of code, hence the toppost) is how much of this behavior is d3d's / ddraw's doing and how much might be an external process like explorer.exe or whatever Windows equivalent of a window manager is. Prohibiting non-foreground applications from spawning a fullscreen window over your desktop sounds like a focus stealing prevention mechanism. I'd implement that in a component that is outside the badly behaved / malicious process and not inside like d3d*.dll are.
I'm not sure if that will work, unless you have something in mind. As you can see, each version is different. In fact, d3d8 is the only one that cares about "foreground thread" in this respect. d3d9ex cares only about the focus_window being in the foreground, so you can say it's a more strict subset of this.
However, there's d3d9 (normal one) and dxgi which don't care at all about what's in foreground / active / thread, and always do change to topmost, so from what I can see, how are we supposed to implement this outside d3d* (or wined3d) and have d3d9/dxgi still work? Won't this affect them as well? How can it make an exception for d3d9/dxgi?
And frankly, dxgi is way more important than d3d8—frankly, I didn't even want to fix the d3d8 behavior, just wanted to add some tests to show that it is different than ddraw—so the ddraw regression can be fixed (starting with patch 4).
And IMO if we're going to test or fix the d3d8 behavior it's best to look at old Windows versions (which are consistent, until Win8) since it's a very old API and, if any apps really depend on this behavior, it's for sure the old one.
Musing 2: Is it the foreground thread that matters or that the foreground thread belongs to the current process?
Ah, I had missed that, but not sure how important it is to test, it would complicate the test a bit since it would require spawning a new thread and some synchronization...
And sorry that this is all so complicated. Window management and window flags are a pain :-(
No problem, as you can see I already found corner cases I didn't think of. :-)
Am 11.01.2022 um 16:19 schrieb Gabriel Ivăncescu gabrielopcode@gmail.com:
I'm not sure if that will work, unless you have something in mind. As you can see, each version is different. In fact, d3d8 is the only one that cares about "foreground thread" in this respect. d3d9ex cares only about the focus_window being in the foreground, so you can say it's a more strict subset of this.
You are probably right, and I don't care enough where Windows implements whatever behavior. If focus can be stolen on Windows so be it, we care about getting the applications working on Wine :-) .
However, there's d3d9 (normal one) and dxgi which don't care at all about what's in foreground / active / thread, and always do change to topmost, so from what I can see, how are we supposed to implement this outside d3d* (or wined3d) and have d3d9/dxgi still work? Won't this affect them as well? How can it make an exception for d3d9/dxgi?
Yeah, good point
And frankly, dxgi is way more important than d3d8—frankly, I didn't even want to fix the d3d8 behavior, just wanted to add some tests to show that it is different than ddraw—so the ddraw regression can be fixed (starting with patch 4).
Agreed. I don't particularly care about d3d8/9/dxgi unless we have an application that needs a particular behavior.
Musing 2: Is it the foreground thread that matters or that the foreground thread belongs to the current process?
Ah, I had missed that, but not sure how important it is to test, it would complicate the test a bit since it would require spawning a new thread and some synchronization...
You could test it by creating a window on a separate thread and making it foreground. But it is kinda moot, see below.
I experimented with your tests a bit on Windows and looked at the d3d8 and ddraw tests. On my Win10 box (up to date Win1021H2) the win_skip("topmost set when inactive due to inconsistent behavior, skipping related tests...\n"); line always triggers, so I can't read much into the test. I'll dust off my Windows 7 laptop and test there later. Either way, I'd say ignore d3d8/9/dxgi for now and focus on fixing the ddraw regression.
Re ddraw:
ret = SetForegroundWindow(window2); ok(ret, "Failed to set foreground window.\n"); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); tmp = GetWindowLongA(window, GWL_STYLE); expected_style = style | WS_VISIBLE; todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
This part - making "window2" foreground, then setting up ddraw on "window", and WS_EX_TOPMOST is *not* set - nicely shows that ddraw cares about the foreground window, not foreground thread or process.
However, immediately afterwards
GetWindowRect(window, &r); ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
This test is not as helpful as it looks because the window already has the fullscreen size from previous tests (afaiu; I am on Mac now and realized that I didn't explicitly test it). What I did test was add
+ SetWindowPos(window, NULL, 0, 0, 50, 50, SWP_NOZORDER | SWP_NOACTIVATE); + GetWindowRect(window, &r); + ok(!EqualRect(&r, &fullscreen_rect), "Window resize failed? got %s.\n", + wine_dbgstr_rect(&r));
Before the SetForegroundWindow() calls to give the window a different size. Even in cases where WS_EX_TOPMOST is not added by native ddraw, it does resize the window to the fullscreen size. I am not yet certain what to make of it - it isn't my understanding of "no windows changes", but it might just be in line with what ddraw's hooks on top of wined3d's hooks already do.
Other question I have to answer to myself: Does DDSCL_NOWINDOWCHANGES and/or the d3d9 equivalent prevent d3d from hooking the focus window wndproc? I think we have tests for that...
On 11/01/2022 16:27, Stefan Dösinger wrote:
Am 11.01.2022 um 16:19 schrieb Gabriel Ivăncescu gabrielopcode@gmail.com:
I'm not sure if that will work, unless you have something in mind. As you can see, each version is different. In fact, d3d8 is the only one that cares about "foreground thread" in this respect. d3d9ex cares only about the focus_window being in the foreground, so you can say it's a more strict subset of this.
You are probably right, and I don't care enough where Windows implements whatever behavior. If focus can be stolen on Windows so be it, we care about getting the applications working on Wine :-) .
However, there's d3d9 (normal one) and dxgi which don't care at all about what's in foreground / active / thread, and always do change to topmost, so from what I can see, how are we supposed to implement this outside d3d* (or wined3d) and have d3d9/dxgi still work? Won't this affect them as well? How can it make an exception for d3d9/dxgi?
Yeah, good point
And frankly, dxgi is way more important than d3d8—frankly, I didn't even want to fix the d3d8 behavior, just wanted to add some tests to show that it is different than ddraw—so the ddraw regression can be fixed (starting with patch 4).
Agreed. I don't particularly care about d3d8/9/dxgi unless we have an application that needs a particular behavior.
Musing 2: Is it the foreground thread that matters or that the foreground thread belongs to the current process?
Ah, I had missed that, but not sure how important it is to test, it would complicate the test a bit since it would require spawning a new thread and some synchronization...
You could test it by creating a window on a separate thread and making it foreground. But it is kinda moot, see below.
I experimented with your tests a bit on Windows and looked at the d3d8 and ddraw tests. On my Win10 box (up to date Win1021H2) the win_skip("topmost set when inactive due to inconsistent behavior, skipping related tests...\n"); line always triggers, so I can't read much into the test. I'll dust off my Windows 7 laptop and test there later. Either way, I'd say ignore d3d8/9/dxgi for now and focus on fixing the ddraw regression.
Re ddraw:
ret = SetForegroundWindow(window2); ok(ret, "Failed to set foreground window.\n"); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); tmp = GetWindowLongA(window, GWL_STYLE); expected_style = style | WS_VISIBLE; todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
This part - making "window2" foreground, then setting up ddraw on "window", and WS_EX_TOPMOST is *not* set - nicely shows that ddraw cares about the foreground window, not foreground thread or process.
However, immediately afterwards
GetWindowRect(window, &r); ok(EqualRect(&r, &fullscreen_rect), "Expected %s, got %s.\n", wine_dbgstr_rect(&fullscreen_rect), wine_dbgstr_rect(&r));
This test is not as helpful as it looks because the window already has the fullscreen size from previous tests (afaiu; I am on Mac now and realized that I didn't explicitly test it). What I did test was add
- SetWindowPos(window, NULL, 0, 0, 50, 50, SWP_NOZORDER | SWP_NOACTIVATE);
- GetWindowRect(window, &r);
- ok(!EqualRect(&r, &fullscreen_rect), "Window resize failed? got %s.\n",
wine_dbgstr_rect(&r));
Before the SetForegroundWindow() calls to give the window a different size. Even in cases where WS_EX_TOPMOST is not added by native ddraw, it does resize the window to the fullscreen size. I am not yet certain what to make of it - it isn't my understanding of "no windows changes", but it might just be in line with what ddraw's hooks on top of wined3d's hooks already do.
wrt the window size—I thought exiting fullscreen resized the window back to its original size? Granted that's not tested because I thought it was redundant. But yes, more or less I wanted to test the fact that the window does get fullscreen, just not topmost.
As for "no window changes", I think this is intentional. wined3d's "no window changes" flag does the same thing: it only applies to visibility changes and topmost, not size, which is similar among different APIs so it must be something common on what Microsoft considers here "window changes" I guess.
Am 11.01.2022 um 19:16 schrieb Gabriel Ivăncescu gabrielopcode@gmail.com:
wrt the window size—I thought exiting fullscreen resized the window back to its original size? Granted that's not tested because I thought it was redundant. But yes, more or less I wanted to test the fact that the window does get fullscreen, just not topmost.
Not in ddraw afaics - see WINED3D_SWAPCHAIN_RESTORE_WINDOW_RECT . I was skimming the test for a test that explicitly tests this and didn't immediately find one. I'll check on Windows after a slow download finishes...
There are some tests that *might* accidentally test this, or might think they test it but do not because previous SetCoopLevel / SetDisplayMode / RestoreDisplayMode / Release ops on the window leave the window with the "right" size by accident.
As for "no window changes", I think this is intentional. wined3d's "no window changes" flag does the same thing: it only applies to visibility changes and topmost, not size, which is similar among different APIs so it must be something common on what Microsoft considers here "window changes" I guess.
Sounds good. Let's make sure the test verifies that for ddraw and then I think I am happy with the ddraw changes.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com --- dlls/ddraw/ddraw.c | 14 ++++----- dlls/ddraw/tests/ddraw1.c | 65 +++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw2.c | 65 +++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw4.c | 65 +++++++++++++++++++++++++++++++++++++++ dlls/ddraw/tests/ddraw7.c | 65 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 267 insertions(+), 7 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index 77172d4..ff78dae 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -559,7 +559,7 @@ static HRESULT ddraw_set_focus_window(struct ddraw *ddraw, HWND window) }
static HRESULT ddraw_attach_d3d_device(struct ddraw *ddraw, HWND window, - BOOL windowed, struct wined3d_swapchain **wined3d_swapchain) + DWORD cooplevel, struct wined3d_swapchain **wined3d_swapchain) { struct wined3d_swapchain_desc swapchain_desc; struct wined3d_display_mode mode; @@ -582,10 +582,10 @@ static HRESULT ddraw_attach_d3d_device(struct ddraw *ddraw, HWND window, swapchain_desc.backbuffer_count = 1; swapchain_desc.swap_effect = WINED3D_SWAP_EFFECT_DISCARD; swapchain_desc.device_window = window; - swapchain_desc.windowed = windowed; + swapchain_desc.windowed = !(cooplevel & DDSCL_FULLSCREEN); swapchain_desc.flags = WINED3D_SWAPCHAIN_ALLOW_MODE_SWITCH | WINED3D_SWAPCHAIN_IMPLICIT;
- if (window != GetForegroundWindow()) + if ((cooplevel & DDSCL_NOWINDOWCHANGES) || window != GetForegroundWindow()) swapchain_desc.flags |= WINED3D_SWAPCHAIN_NO_WINDOW_CHANGES;
if (ddraw->flags & DDRAW_NO3D) @@ -642,7 +642,7 @@ static HRESULT ddraw_attach_d3d_device(struct ddraw *ddraw, HWND window, return DD_OK; }
-static HRESULT ddraw_create_swapchain(struct ddraw *ddraw, HWND window, BOOL windowed) +static HRESULT ddraw_create_swapchain(struct ddraw *ddraw, HWND window, DWORD cooplevel) { HRESULT hr;
@@ -652,7 +652,7 @@ static HRESULT ddraw_create_swapchain(struct ddraw *ddraw, HWND window, BOOL win return E_FAIL; }
- if (FAILED(hr = ddraw_attach_d3d_device(ddraw, window, windowed, &ddraw->wined3d_swapchain))) + if (FAILED(hr = ddraw_attach_d3d_device(ddraw, window, cooplevel, &ddraw->wined3d_swapchain))) { ERR("Failed to create swapchain, hr %#x.\n", hr); return hr; @@ -778,7 +778,7 @@ static HRESULT WINAPI ddraw1_RestoreDisplayMode(IDirectDraw *iface) * Unsure about this: DDSCL_FPUSETUP * * These don't seem very important for wine: - * DDSCL_ALLOWREBOOT, DDSCL_NOWINDOWCHANGES, DDSCL_ALLOWMODEX + * DDSCL_ALLOWREBOOT, DDSCL_ALLOWMODEX * * Returns: * DD_OK if the cooperative level was set successfully @@ -947,7 +947,7 @@ static HRESULT ddraw_set_cooperative_level(struct ddraw *ddraw, HWND window, ddraw_destroy_swapchain(ddraw); }
- if (FAILED(hr = ddraw_create_swapchain(ddraw, window, !(cooplevel & DDSCL_FULLSCREEN)))) + if (FAILED(hr = ddraw_create_swapchain(ddraw, window, cooplevel))) ERR("Failed to create swapchain, hr %#x.\n", hr);
if (restore_state) diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 80f04e7..60a38ed 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -2638,6 +2638,71 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); ok(ret, "Failed to set foreground window.\n"); diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index b7b6ba8..f3cfa0d 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -2716,6 +2716,71 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); ok(ret, "Failed to set foreground window.\n"); diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index c7f5f64..a0aa2ea 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -2952,6 +2952,71 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); ok(ret, "Failed to set foreground window.\n"); diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index cbc10a3..5215966 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -2617,6 +2617,71 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_EXSTYLE); ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
+ hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + tmp = GetWindowLongA(window, GWL_STYLE); + todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL | DDSCL_NOWINDOWCHANGES); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ret = SetForegroundWindow(window); + ok(ret, "Failed to set foreground window.\n"); + + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + expected_style = style | WS_VISIBLE; + todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + expected_style = exstyle | WS_EX_TOPMOST; + todo_wine ok(tmp == expected_style, "Expected window extended style %#x, got %#x.\n", expected_style, tmp); + + ShowWindow(window, SW_HIDE); + hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); + ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); + + tmp = GetWindowLongA(window, GWL_STYLE); + ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); + tmp = GetWindowLongA(window, GWL_EXSTYLE); + todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); ok(ret, "Failed to set foreground window.\n");
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105119
Your paranoid android.
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: 0cc4:ddraw2: unhandled exception c0000005 at 69E83599
=== w8adm (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:3276: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3306: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3313: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3339: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3362: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3391: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3417: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3437: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3473: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3483: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3509: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3532: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3554: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3580: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3600: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:3637: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:3515: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3545: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3552: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3578: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3601: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3623: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3649: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3669: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3705: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3715: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3741: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3764: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3786: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3812: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3832: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3869: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18838: Test failed: Got unexpected color 0x00000040.
=== w864 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== debian11 (32 bit report) ===
ddraw: ddraw1.c:3389: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3394: Test failed: Expected surface width 1024, got 720. ddraw1.c:3396: Test failed: Expected surface height 768, got 480. ddraw1.c:3409: Test failed: Expected surface width 1024, got 720. ddraw1.c:3411: Test failed: Expected surface height 768, got 480. ddraw1.c:3415: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3438: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3460: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3465: Test failed: Expected surface width 1024, got 720. ddraw1.c:3467: Test failed: Expected surface height 768, got 480. ddraw1.c:3486: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3506: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw1.c:3519: Test failed: Expected resolution 1024x768, got 720x480. ddraw1.c:3536: Test failed: Expected surface width 1024, got 720. ddraw1.c:3538: Test failed: Expected surface height 768, got 480. ddraw1.c:3543: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw2.c:4223: Test failed: Got a different mode. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== debian11 (32 bit Hebrew:Israel report) ===
ddraw: ddraw7.c:2616: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2649: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2652: Test failed: Expected window extended style 0x108, got 0x8. ddraw7.c:2658: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2661: Test failed: Expected window extended style 0x108, got 0x8. ddraw7.c:2681: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2700: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw7.c:2718: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw7.c:2738: Test failed: Expected window style 0x4cf0000, got 0xa40b0000.
=== debian11 (32 bit Hindi:India report) ===
ddraw: ddraw1.c:14360: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14375: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15284: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15299: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18321: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18336: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:3265: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw7.c:3287: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw7.c:3313: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw7.c:3333: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw7.c:3369: Test failed: Expected (0,0)-(640,480), got (0,0)-(720,480). ddraw7.c:18588: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18603: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Japanese:Japan report) ===
ddraw: ddraw1.c:3845: Test failed: Got unexpected screen width 800. ddraw1.c:3847: Test failed: Got unexpected screen height 600. ddraw1.c:3868: Test failed: Got unexpected screen width 800. ddraw1.c:3870: Test failed: Got unexpected screen height 600. ddraw1.c:3875: Test failed: Got unexpected screen width 800. ddraw1.c:3877: Test failed: Got unexpected screen height 600.
=== debian11 (32 bit Chinese:China report) ===
Report validation errors: ddraw7: Timeout
=== debian11 (build log) ===
WineRunWineTest.pl:error: The task timed out
=== debian11 (32 bit WoW report) ===
ddraw: ddraw1.c:3845: Test failed: Got unexpected screen width 800. ddraw1.c:3847: Test failed: Got unexpected screen height 600. ddraw1.c:3868: Test failed: Got unexpected screen width 800. ddraw1.c:3870: Test failed: Got unexpected screen height 600. ddraw1.c:3875: Test failed: Got unexpected screen width 800. ddraw1.c:3877: Test failed: Got unexpected screen height 600. ddraw2.c:6794: Test failed: Failed to attach surface, hr 0x8876000a. ddraw2.c:6797: Test failed: Got unexpected hr 0x8876000a. ddraw2.c:6799: Test failed: Failed to detach surface, hr 0x88760014. ddraw2.c:6802: Test failed: Failed to attach surface, hr 0x8876000a. ddraw2.c:6807: Test failed: Failed to detach surface, hr 0x88760014. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw4.c:2951: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw4.c:2984: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw4.c:2987: Test failed: Expected window extended style 0x108, got 0x8. ddraw4.c:2993: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw4.c:2996: Test failed: Expected window extended style 0x108, got 0x8. ddraw4.c:3016: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw4.c:3035: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw4.c:3053: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw4.c:3073: Test failed: Expected window style 0x4cf0000, got 0xa40b0000.
=== debian11 (64 bit WoW report) ===
ddraw: ddraw1.c:14338: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14394: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:14338: Test failed: Expect window rect (0,0)-(640,480), got (0,0)-(1024,737). ddraw1.c:14360: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14375: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14394: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw2.c:4470: Test failed: Display mode restored after good ddraw1::SetCooperativeLevel call ddraw2.c:15318: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(640,480), got (1024,0)-(2048,737).
Unless DDSCL_NOWINDOWCHANGES was specified.
Signed-off-by: Gabriel Ivăncescu gabrielopcode@gmail.com ---
This is ddraw specific, because the flag specified when exiting fullscreen is what matters. wined3d restores from fullscreen when the swapchain is destroyed, in wined3d_swapchain_cleanup, which uses the *original* flags passed when the swapchain was created, so WINED3D_SWAPCHAIN_RESTORE_WINDOW_STATE can't be used; that would affect the restoring behavior at creation, which is not correct for ddraw (but is for dxgi).
I'm not sure how to do this on wined3d side cleanly without passing the flag somehow at swapchain destruction...
dlls/ddraw/ddraw.c | 3 +++ dlls/ddraw/tests/ddraw1.c | 4 ++-- dlls/ddraw/tests/ddraw2.c | 4 ++-- dlls/ddraw/tests/ddraw4.c | 4 ++-- dlls/ddraw/tests/ddraw7.c | 4 ++-- 5 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/dlls/ddraw/ddraw.c b/dlls/ddraw/ddraw.c index ff78dae..8b95860 100644 --- a/dlls/ddraw/ddraw.c +++ b/dlls/ddraw/ddraw.c @@ -970,6 +970,9 @@ static HRESULT ddraw_set_cooperative_level(struct ddraw *ddraw, HWND window,
if (!(cooplevel & DDSCL_EXCLUSIVE) && (ddraw->cooperative_level & DDSCL_EXCLUSIVE)) { + if (!(cooplevel & DDSCL_NOWINDOWCHANGES)) + SetWindowPos(window, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); + if (restore_mode_on_normal && FAILED(ddraw7_RestoreDisplayMode(&ddraw->IDirectDraw7_iface))) ERR("RestoreDisplayMode failed\n"); ClipCursor(NULL); diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 60a38ed..d861138 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -2701,7 +2701,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); @@ -2758,7 +2758,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index f3cfa0d..06bf28f 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -2779,7 +2779,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); @@ -2836,7 +2836,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); hr = IDirectDraw2_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index a0aa2ea..61eb1a0 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -3015,7 +3015,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); @@ -3072,7 +3072,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); hr = IDirectDraw4_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN); diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index 5215966..5e450ee 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -2680,7 +2680,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); ret = SetForegroundWindow(GetDesktopWindow()); @@ -2737,7 +2737,7 @@ static void test_window_style(void) tmp = GetWindowLongA(window, GWL_STYLE); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp); tmp = GetWindowLongA(window, GWL_EXSTYLE); - todo_wine ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp); + ok(tmp == exstyle, "Expected window extended style %#x, got %#x.\n", exstyle, tmp);
ShowWindow(window, SW_SHOW); hr = IDirectDraw7_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_FULLSCREEN);
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105120
Your paranoid android.
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw1.c:3126: Test failed: Expected message 0x7e, but didn't receive it. ddraw1.c:3129: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw1.c:3133: Test failed: Got unexpected screen size 1024x768. ddraw1.c:3174: Test failed: Expected message 0x46, but didn't receive it. ddraw1.c:3176: Test failed: Expected screen size 1024x768, got 0x0. ddraw1.c:14394: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw1.c:14401: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3571: Test failed: Failed to create surface, hr 0x887601c2. 0b2c:ddraw2: unhandled exception c0000005 at 00000000004803F8
=== w1064v1507 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw2.c:3220: Test failed: Expected message 0x7e, but didn't receive it. ddraw2.c:3223: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw2.c:3227: Test failed: Got unexpected screen size 1024x768. ddraw2.c:3268: Test failed: Expected message 0x46, but didn't receive it. ddraw2.c:3270: Test failed: Expected screen size 1024x768, got 0x0. ddraw2.c:15318: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw2.c:15325: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:3515: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3545: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3552: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3578: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3601: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3623: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3649: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3669: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3705: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3715: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3741: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3764: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3786: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3812: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3832: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:3869: Test failed: Expected (0,0)-(1024,768), got (-8,-8)-(1032,736). ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw4.c:3459: Test failed: Expected message 0x7e, but didn't receive it. ddraw4.c:3462: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw4.c:3466: Test failed: Got unexpected screen size 1024x768. ddraw4.c:3507: Test failed: Expected message 0x46, but didn't receive it. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 0x0. ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_2qxl (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_adm (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w7u_el (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w8adm (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_tsign (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (32 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w864 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1507 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064v1809 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w1064_2qxl (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,767).
=== w1064_tsign (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64 (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ar (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_he (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_ja (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== w10pro64_zh_CN (64 bit report) ===
ddraw: ddraw7.c:3123: Test failed: Expected message 0x7e, but didn't receive it. ddraw7.c:3126: Test failed: Expected (0,0)-(640,480), got (0,0)-(1024,768). ddraw7.c:3130: Test failed: Got unexpected screen size 1024x768. ddraw7.c:3171: Test failed: Expected message 0x46, but didn't receive it. ddraw7.c:3173: Test failed: Expected screen size 1024x768, got 0x0. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (0,0)-(1023,767).
=== debian11 (32 bit report) ===
ddraw: ddraw4.c:3453: Test failed: Got unexpected screen size 720x480. ddraw4.c:3509: Test failed: Expected screen size 1024x768, got 720x480. ddraw4.c:3515: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3539: Test failed: Expected surface width 1024, got 720. ddraw4.c:3541: Test failed: Expected surface height 768, got 480. ddraw4.c:3545: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3552: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3557: Test failed: Expected surface width 1024, got 720. ddraw4.c:3559: Test failed: Expected surface height 768, got 480. ddraw4.c:3572: Test failed: Expected surface width 1024, got 720. ddraw4.c:3574: Test failed: Expected surface height 768, got 480. ddraw4.c:3578: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3601: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3623: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3628: Test failed: Expected surface width 1024, got 720. ddraw4.c:3630: Test failed: Expected surface height 768, got 480. ddraw4.c:3649: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3669: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3682: Test failed: Expected resolution 1024x768, got 720x480. ddraw4.c:3699: Test failed: Expected surface width 1024, got 720. ddraw4.c:3701: Test failed: Expected surface height 768, got 480. ddraw4.c:3705: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3715: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3720: Test failed: Expected surface width 1024, got 720. ddraw4.c:3722: Test failed: Expected surface height 768, got 480. ddraw4.c:3735: Test failed: Expected surface width 1024, got 720. ddraw4.c:3737: Test failed: Expected surface height 768, got 480. ddraw4.c:3741: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3764: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3786: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3791: Test failed: Expected surface width 1024, got 720. ddraw4.c:3793: Test failed: Expected surface height 768, got 480. ddraw4.c:3812: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3832: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3845: Test failed: Expected resolution 1024x768, got 720x480. ddraw4.c:3862: Test failed: Expected surface width 1024, got 720. ddraw4.c:3864: Test failed: Expected surface height 768, got 480. ddraw4.c:3869: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3888: Test failed: Expected screen size 1024x768, got 720x480. ddraw4.c:3895: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3907: Test failed: Expected surface width 1024, got 720. ddraw4.c:3909: Test failed: Expected surface height 768, got 480. ddraw4.c:3960: Test failed: Expected screen size 2 1024x768, got 720x480. ddraw4.c:3968: Test failed: Expected (0,0)-(1024,768), got (0,0)-(720,480). ddraw4.c:3980: Test failed: Expected surface width 1024, got 720. ddraw4.c:3982: Test failed: Expected surface height 768, got 480.
=== debian11 (32 bit Arabic:Morocco report) ===
ddraw: ddraw4.c:4156: Test failed: Got unexpected screen width 640. ddraw4.c:4158: Test failed: Got unexpected screen height 480. ddraw4.c:4163: Test failed: Got unexpected screen width 640. ddraw4.c:4165: Test failed: Got unexpected screen height 480. ddraw4.c:4187: Test failed: Got unexpected screen width 640. ddraw4.c:4189: Test failed: Got unexpected screen height 480. ddraw4.c:4194: Test failed: Got unexpected screen width 640. ddraw4.c:4196: Test failed: Got unexpected screen height 480. ddraw4.c:4218: Test failed: Got unexpected screen width 640. ddraw4.c:4220: Test failed: Got unexpected screen height 480. ddraw4.c:4253: Test failed: Got unexpected screen width 640. ddraw4.c:4255: Test failed: Got unexpected screen height 480. ddraw4.c:4276: Test failed: Got unexpected screen width 640. ddraw4.c:4278: Test failed: Got unexpected screen height 480. ddraw4.c:4283: Test failed: Got unexpected screen width 640. ddraw4.c:4285: Test failed: Got unexpected screen height 480. ddraw7.c:2616: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2618: Test failed: Expected window extended style 0x100, got 0. ddraw7.c:2649: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2652: Test failed: Expected window extended style 0x108, got 0x8. ddraw7.c:2658: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2661: Test failed: Expected window extended style 0x108, got 0x8. ddraw7.c:2681: Test failed: Expected window style 0x4cf0000, got 0xa40b0000. ddraw7.c:2683: Test failed: Expected window extended style 0x100, got 0. ddraw7.c:2700: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw7.c:2718: Test failed: Expected (0,0)-(640,480), got (-32000,-32000)-(-31840,-31976). ddraw7.c:2738: Test failed: Expected window style 0x4cf0000, got 0xa40b0000.
=== debian11 (32 bit German report) ===
ddraw: ddraw7.c:3917: Test failed: Got unexpected screen width 800. ddraw7.c:3919: Test failed: Got unexpected screen height 600. ddraw7.c:3940: Test failed: Got unexpected screen width 800. ddraw7.c:3942: Test failed: Got unexpected screen height 600. ddraw7.c:3947: Test failed: Got unexpected screen width 800. ddraw7.c:3949: Test failed: Got unexpected screen height 600.
=== debian11 (32 bit Hindi:India report) ===
ddraw: ddraw1.c:14360: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw1.c:14375: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:4147: Test failed: Got a different mode. ddraw2.c:15284: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw2.c:15299: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18321: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw4.c:18336: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18588: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737). ddraw7.c:18603: Test failed: Expected window rect (640,0)-(1664,737), got (0,0)-(1024,737).
=== debian11 (32 bit Japanese:Japan report) ===
ddraw: ddraw7.c:3820: Test failed: Got unexpected screen width 800. ddraw7.c:3822: Test failed: Got unexpected screen height 600. ddraw7.c:3827: Test failed: Got unexpected screen width 800. ddraw7.c:3829: Test failed: Got unexpected screen height 600. ddraw7.c:3851: Test failed: Got unexpected screen width 800. ddraw7.c:3853: Test failed: Got unexpected screen height 600. ddraw7.c:3858: Test failed: Got unexpected screen width 800. ddraw7.c:3860: Test failed: Got unexpected screen height 600. ddraw7.c:3882: Test failed: Got unexpected screen width 800. ddraw7.c:3884: Test failed: Got unexpected screen height 600.
=== debian11 (32 bit Chinese:China report) ===
ddraw: ddraw1.c:3115: Test failed: Expected message 0x6, but didn't receive it.
=== debian11 (32 bit WoW report) ===
ddraw: ddraw7.c:3882: Test failed: Got unexpected screen width 640. ddraw7.c:3884: Test failed: Got unexpected screen height 480. ddraw7.c:3917: Test failed: Got unexpected screen width 640. ddraw7.c:3919: Test failed: Got unexpected screen height 480. ddraw7.c:3940: Test failed: Got unexpected screen width 640. ddraw7.c:3942: Test failed: Got unexpected screen height 480. ddraw7.c:3947: Test failed: Got unexpected screen width 640. ddraw7.c:3949: Test failed: Got unexpected screen height 480. ddraw7.c:18622: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw7.c:18629: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736).
=== debian11 (64 bit WoW report) ===
ddraw: ddraw4.c:18355: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736). ddraw4.c:18362: Test failed: Expect window rect (0,0)-(1024,768), got (1024,0)-(2047,736).
Hi,
While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check?
Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=105115
Your paranoid android.
=== w8adm (32 bit report) ===
d3d8: device.c:4926: Test failed: Failed to reset device. device.c:4932: Test failed: Expected (0,0)-(1024,768), got (0,0)-(512,384). device.c:4939: Test failed: Expected wndproc != 0x422e00. device.c:10929: Test failed: Adapter 0: SetForegroundWindow failed, error 0.
=== w1064v1507 (32 bit report) ===
d3d8: device.c:10929: Test failed: Adapter 0: SetForegroundWindow failed, error 0.
=== w1064v1809 (32 bit report) ===
d3d8: device.c:10929: Test failed: Adapter 0: SetForegroundWindow failed, error 0.
=== w1064_tsign (32 bit report) ===
d3d8: device.c:10929: Test failed: Adapter 0: SetForegroundWindow failed, error 0.
=== w10pro64 (32 bit report) ===
d3d8: device.c:10929: Test failed: Adapter 0: SetForegroundWindow failed, error 0.
=== debian11 (32 bit Japanese:Japan report) ===
d3d8: device.c:3209: Test failed: Got unexpected width 640. device.c:3337: Test failed: Expected message 0x1c for window 0x1, but didn't receive it device.c:4524: Test failed: Expected resolution 1920x1440, got 640x480. device.c:4554: Test failed: Expected resolution 1920x1440, got 640x480. device.c:10933: Test failed: Adapter 1: Expect window rect (640,-737)-(1664,0), got (0,0)-(1024,737).
=== debian11 (32 bit Chinese:China report) ===
d3d8: device.c:3175: Test failed: Expected message 0x1c for window 0x1, but didn't receive it, i=2. device.c:10933: Test failed: Adapter 1: Expect window rect (640,-737)-(1664,0), got (0,0)-(1024,737).
=== debian11 (32 bit WoW report) ===
d3d8: device.c:10903: Test failed: Adapter 1: Expect window rect (1024,0)-(2048,737), got (1024,0)-(1664,480).