[PATCH] urlmon/tests: Fix a failure on Win98
Detlef Riekenberg
wine.dev at web.de
Tue Apr 13 16:20:11 CDT 2010
---
dlls/urlmon/tests/sec_mgr.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/tests/sec_mgr.c b/dlls/urlmon/tests/sec_mgr.c
index a83f7ec..e758115 100644
--- a/dlls/urlmon/tests/sec_mgr.c
+++ b/dlls/urlmon/tests/sec_mgr.c
@@ -631,7 +631,9 @@ static void test_InternetSecurityMarshalling(void)
ok(hres == S_OK, "CreateStreamOnHGlobal returned: %08x\n", hres);
hres = CoMarshalInterface(stream, &IID_IInternetSecurityManager, unk, MSHCTX_INPROC, NULL, MSHLFLAGS_NORMAL);
- ok(hres == S_OK, "CoMarshalInterface returned: %08x\n", hres);
+ /* Not supported in W98 */
+ ok(hres == S_OK || broken(hres == REGDB_E_IIDNOTREG),
+ "CoMarshalInterface returned: %08x\n", hres);
IStream_Release(stream);
IUnknown_Release(unk);
--
1.7.0.4
More information about the wine-patches
mailing list