"Detlef Riekenberg" <wine.dev(a)web.de> wrote:
@@ -4765,10 +4765,14 @@ static void test_hwnd_message(void) parent = pGetAncestor(hwnd, GA_PARENT); ok(parent != 0, "GetAncestor(GA_PARENT) should not return 0 for message windows\n"); ok(parent != desktop, "GetAncestor(GA_PARENT) should not return desktop for message windows\n"); - root = pGetAncestor(hwnd, GA_ROOT); - ok(root == hwnd, "GetAncestor(GA_ROOT) should return hwnd for message windows\n"); + if (0) { + /* this crash on win9x */ + root = pGetAncestor(hwnd, GA_ROOT); + ok(root == hwnd, "GetAncestor(GA_ROOT) should return hwnd for message windows\n"); + }
HWND_MESSAGE is not supported on win9x, so there is no point in disabling a part of the test which is not supposed to pass a all. Probably CreateWindowEx doesn't fail for some reason, so you need to find a different way to detect that. -- Dmitry.