"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dlls/ddraw/tests/ddraw1.c" between
wine-5.12.tar.xz and wine-5.13.tar.xz

About: Wine is an Open Source implementation of the MS Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Development release.

ddraw1.c  (wine-5.12.tar.xz):ddraw1.c  (wine-5.13.tar.xz)
skipping to change at line 2511 skipping to change at line 2511
ret = SetForegroundWindow(window); ret = SetForegroundWindow(window);
ok(ret, "Failed to set foreground window.\n"); ok(ret, "Failed to set foreground window.\n");
/* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again, /* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again,
* the next tests expect this. */ * the next tests expect this. */
ShowWindow(window, SW_HIDE); ShowWindow(window, SW_HIDE);
hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_NORMAL);
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
tmp = GetWindowLongA(window, GWL_STYLE); tmp = GetWindowLongA(window, GWL_STYLE);
todo_wine ok(tmp == style, "Expected window style %#x, got %#x.\n", style, t mp); ok(tmp == style, "Expected window style %#x, got %#x.\n", style, tmp);
tmp = GetWindowLongA(window, GWL_EXSTYLE); 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); ShowWindow(window, SW_SHOW);
hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_ FULLSCREEN); hr = IDirectDraw_SetCooperativeLevel(ddraw, window, DDSCL_EXCLUSIVE | DDSCL_ FULLSCREEN);
ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr); ok(SUCCEEDED(hr), "SetCooperativeLevel failed, hr %#x.\n", hr);
tmp = GetWindowLongA(window, GWL_STYLE); tmp = GetWindowLongA(window, GWL_STYLE);
expected_style = style | WS_VISIBLE; expected_style = style | WS_VISIBLE;
todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp); todo_wine ok(tmp == expected_style, "Expected window style %#x, got %#x.\n", expected_style, tmp);
tmp = GetWindowLongA(window, GWL_EXSTYLE); tmp = GetWindowLongA(window, GWL_EXSTYLE);
expected_style = exstyle | WS_EX_TOPMOST; expected_style = exstyle | WS_EX_TOPMOST;
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)