From d93fa6a1e7e4b38e340b4c7011eea1b05c5f8adf Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 10 Jun 2008 13:03:37 +0200 Subject: [PATCH] user32/tests: Fix a window style check on Vista. --- dlls/user32/tests/win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/user32/tests/win.c b/dlls/user32/tests/win.c index 45dda82ee3a..e8368d68102 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",