Alistair Leslie-Hughes : msxml3: Added support for creating DOMFreeThreadedDocument.

Alexandre Julliard julliard at winehq.org
Fri Jun 27 07:42:02 CDT 2008


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Wed Jun 25 14:52:34 2008 +1000

msxml3: Added support for creating DOMFreeThreadedDocument.

---

 dlls/msxml3/factory.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
index cd0d108..beb5bbc 100644
--- a/dlls/msxml3/factory.c
+++ b/dlls/msxml3/factory.c
@@ -159,7 +159,8 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
     {
         cf = (IClassFactory*) &xmldoccf.lpVtbl;
     }
-    else if( IsEqualCLSID( rclsid, &CLSID_FreeThreadedDOMDocument ) )
+    else if( IsEqualCLSID( rclsid, &CLSID_DOMFreeThreadedDocument ) ||   /* Version indep. v 2.x */
+             IsEqualCLSID( rclsid, &CLSID_FreeThreadedDOMDocument ) )
     {
         cf = (IClassFactory*) &domdoccf.lpVtbl;
     }




More information about the wine-cvs mailing list