Alistair Leslie-Hughes : msxml: Register missing components.

Alexandre Julliard julliard at winehq.org
Tue Dec 11 11:37:20 CST 2007


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Dec 11 09:02:36 2007 +1100

msxml: Register missing components.

---

 dlls/msxml3/factory.c |    4 ++++
 dlls/msxml3/regsvr.c  |   17 +++++++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
index 67ed747..a973b04 100644
--- a/dlls/msxml3/factory.c
+++ b/dlls/msxml3/factory.c
@@ -158,6 +158,10 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
     {
         cf = (IClassFactory*) &xmldoccf.lpVtbl;
     }
+    else if( IsEqualCLSID( rclsid, &CLSID_FreeThreadedDOMDocument ) )
+    {
+        cf = (IClassFactory*) &domdoccf.lpVtbl;
+    }
 
     if ( !cf )
         return CLASS_E_CLASSNOTAVAILABLE;
diff --git a/dlls/msxml3/regsvr.c b/dlls/msxml3/regsvr.c
index 9a0d938..3a0c6bd 100644
--- a/dlls/msxml3/regsvr.c
+++ b/dlls/msxml3/regsvr.c
@@ -496,6 +496,23 @@ static struct regsvr_coclass const coclass_list[] = {
 	"Microsoft.FreeThreadedXMLDOM",
 	"1.0"
     },
+    {   &CLSID_DOMFreeThreadedDocument,
+        "Free threaded XML DOM Document",
+        NULL,
+        "msxml3.dll",
+        "Both",
+        "Microsoft.FreeThreadedXMLDOM",
+        NULL
+    },
+    {   &CLSID_FreeThreadedDOMDocument,
+        "Free Threaded XML DOM Document",
+        NULL,
+        "msxml3.dll",
+        "Both",
+        "Microsoft.FreeThreadedXMLDOM.1.0",
+        "1.0"
+     },
+
     {   &CLSID_XMLHTTPRequest,
 	"XML HTTP Request",
 	NULL,




More information about the wine-cvs mailing list