Alexandre Julliard : user32/tests: Fix a window style check on Vista.
Alexandre Julliard
julliard at winehq.org
Tue Jun 10 06:28:09 CDT 2008
Module: wine
Branch: master
Commit: d93fa6a1e7e4b38e340b4c7011eea1b05c5f8adf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d93fa6a1e7e4b38e340b4c7011eea1b05c5f8adf
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Jun 10 13:03:37 2008 +0200
user32/tests: Fix a window style check on Vista.
---
dlls/user32/tests/win.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c
index 45dda82..e8368d6 100644
--- a/dlls/user32/tests/win.c
+++ b/dlls/user32/tests/win.c
@@ -730,10 +730,10 @@ static void verify_window_info(HWND hwnd, const WINDOWINFO *info)
ok(info->dwStyle == (DWORD)GetWindowLongA(hwnd, GWL_STYLE),
"wrong dwStyle: %08x != %08x\n", info->dwStyle, GetWindowLongA(hwnd, GWL_STYLE));
- /* Windows reports a not documented exstyle 0x800 in WINDOWINFO, but
- * doesn't return it in GetWindowLong(hwnd, GWL_EXSTYLE).
+ /* Windows reports some undocumented exstyles in WINDOWINFO, but
+ * doesn't return them in GetWindowLong(hwnd, GWL_EXSTYLE).
*/
- ok((info->dwExStyle & ~0x800) == (DWORD)GetWindowLongA(hwnd, GWL_EXSTYLE),
+ ok((info->dwExStyle & ~0xe0000800) == (DWORD)GetWindowLongA(hwnd, GWL_EXSTYLE),
"wrong dwExStyle: %08x != %08x\n", info->dwExStyle, GetWindowLongA(hwnd, GWL_EXSTYLE));
status = (GetActiveWindow() == hwnd) ? WS_ACTIVECAPTION : 0;
ok(info->dwWindowStatus == status, "wrong dwWindowStatus: %04x != %04x\n",
More information about the wine-cvs
mailing list