From 89c5cefb2539bd27ca77d6ab447dd848579c8b2b Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 20 Feb 2014 16:01:33 +0100 Subject: [PATCH] wmp/tests: Fixed tests on old WMP versions. --- dlls/wmp/tests/oleobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wmp/tests/oleobj.c b/dlls/wmp/tests/oleobj.c index fba35e56c98..61cfcb96286 100644 --- a/dlls/wmp/tests/oleobj.c +++ b/dlls/wmp/tests/oleobj.c @@ -692,7 +692,7 @@ static void test_wmp(void) client_site = (void*)0xdeadbeef; hres = IOleObject_GetClientSite(oleobj, &client_site); - ok(hres == E_FAIL, "GetClientSite failed: %08x\n", hres); + ok(hres == E_FAIL || broken(hres == S_OK), "GetClientSite failed: %08x\n", hres); ok(!client_site, "client_site = %p\n", client_site); ref = IOleObject_Release(oleobj);