Ge van Geldorp : ole32/tests: Work around broken Windows urlmon.dll.

Alexandre Julliard julliard at winehq.org
Sat Jan 3 09:11:26 CST 2009


Module: wine
Branch: master
Commit: 69c5fca81ae54f340a71d2f2188c4d7e8dabccd7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=69c5fca81ae54f340a71d2f2188c4d7e8dabccd7

Author: Ge van Geldorp <ge at gse.nl>
Date:   Fri Jan  2 21:14:45 2009 +0100

ole32/tests: Work around broken Windows urlmon.dll.

---

 dlls/ole32/tests/compobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/tests/compobj.c b/dlls/ole32/tests/compobj.c
index 714fca8..35f0021 100644
--- a/dlls/ole32/tests/compobj.c
+++ b/dlls/ole32/tests/compobj.c
@@ -931,7 +931,7 @@ static void test_CoFreeUnusedLibraries(void)
 
     ok(!is_module_loaded("urlmon.dll"), "urlmon.dll shouldn't be loaded\n");
 
-    hr = CoCreateInstance(&CLSID_FileProtocol, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void **)&pUnk);
+    hr = CoCreateInstance(&CLSID_FileProtocol, NULL, CLSCTX_INPROC_SERVER, &IID_IInternetProtocol, (void **)&pUnk);
     if (hr == REGDB_E_CLASSNOTREG)
     {
         trace("IE not installed so can't run CoFreeUnusedLibraries test\n");




More information about the wine-cvs mailing list