From 86c28920c3d9915c5a846860926dab7ef8b1d628 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 2 Nov 2006 15:17:15 +0800 Subject: [PATCH] user32/tests: Mask a not documented extended style 0x800 in WINDOWINFO before the comparison. --- dlls/user/tests/win.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/user/tests/win.c b/dlls/user/tests/win.c index 6821832b1fe..922d9a41e8b 100644 --- a/dlls/user/tests/win.c +++ b/dlls/user/tests/win.c @@ -724,7 +724,10 @@ static void verify_window_info(HWND hwnd, const WINDOWINFO *info, BOOL test_bord ok(info->dwStyle == (DWORD)GetWindowLongA(hwnd, GWL_STYLE), "wrong dwStyle: %08x != %08x\n", info->dwStyle, GetWindowLongA(hwnd, GWL_STYLE)); - ok(info->dwExStyle == (DWORD)GetWindowLongA(hwnd, GWL_EXSTYLE), + /* Windows reports a not documented exstyle 0x800 in WINDOWINFO, but + * doesn't return it in GetWindowLong(hwnd, GWL_EXSTYLE). + */ + ok((info->dwExStyle & ~0x800) == (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", -- 2.11.4.GIT