Alistair Leslie-Hughes : msxml4: Register classes.

Alexandre Julliard julliard at winehq.org
Mon Apr 19 11:51:19 CDT 2010


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Apr 16 06:07:47 2010 +1000

msxml4: Register classes.

---

 dlls/msxml4/regsvr.c |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++
 include/msxml2.idl   |   47 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+), 0 deletions(-)

diff --git a/dlls/msxml4/regsvr.c b/dlls/msxml4/regsvr.c
index b3088f1..e4b1a0d 100644
--- a/dlls/msxml4/regsvr.c
+++ b/dlls/msxml4/regsvr.c
@@ -353,6 +353,38 @@ static struct regsvr_coclass const coclass_list[] = {
 	"Msxml2.SAXXMLReader",
 	"4.0"
     },
+    {   &CLSID_XMLSchemaCache40,
+    "XML Schema Cache 4.0",
+    NULL,
+    "msxml4.dll",
+    "Both",
+    "Msxml2.XMLSchemaCache",
+    "4.0"
+    },
+    {   &CLSID_MXXMLWriter40,
+    "IMXWriter interface 4.0",
+    NULL,
+    "msxml4.dll",
+    "Both",
+    "Msxml2.MXXMLWriter",
+    "4.0"
+    },
+    {   &CLSID_SAXAttributes40,
+    "SAX Attribute 4.0",
+    NULL,
+    "msxml4.dll",
+    "Both",
+    "Msxml2.SAXAttributes",
+    "4.0"
+    },
+    {   &CLSID_FreeThreadedDOMDocument40,
+    "Free Threaded XML DOM Document 4.0",
+    NULL,
+    "msxml4.dll",
+    "Both",
+    "Microsoft.FreeThreadedDOMDocument4.0",
+    "4.0"
+    },
     { NULL }			/* list terminator */
 };
 
@@ -370,6 +402,26 @@ static struct progid const progid_list[] = {
 	&CLSID_SAXXMLReader40,
 	NULL
     },
+    {   "Msxml2.XMLSchemaCache.4.0",
+    "XML Schema Cache 4.0",
+    &CLSID_XMLSchemaCache40,
+    NULL
+    },
+    {   "Msxml2.MXXMLWriter.4.0",
+    "MXXMLWriter 4.0",
+    &CLSID_MXXMLWriter40,
+    NULL
+    },
+    {   "Msxml2.SAXAttributes.4.0",
+    "SAX Attribute 4.0",
+    &CLSID_SAXAttributes40,
+    NULL
+    },
+    {   "MSXML.FreeThreadedDOMDocument40",
+    "Free threaded XML DOM Document 4.0",
+    &CLSID_FreeThreadedDOMDocument40,
+    NULL
+    },
     { NULL }			/* list terminator */
 };
 
diff --git a/include/msxml2.idl b/include/msxml2.idl
index 1f28f83..f2841a5 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -1280,6 +1280,15 @@ coclass FreeThreadedDOMDocument30
 }
 
 [
+    uuid(88d969c1-f192-11d4-a65f-0040963251e5),
+]
+coclass FreeThreadedDOMDocument40
+{
+    [default] interface IXMLDOMDocument2;
+    [default, source] dispinterface XMLDOMDocumentEvents;
+};
+
+[
     uuid(373984c9-b845-449b-91e7-45ac83036ade)
 ]
 coclass XMLSchemaCache
@@ -1304,6 +1313,14 @@ coclass XMLSchemaCache30
 }
 
 [
+    uuid(88d969c2-f192-11d4-a65f-0040963251e5)
+]
+coclass XMLSchemaCache40
+{
+    [default] interface IXMLDOMSchemaCollection2;
+};
+
+[
     uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
 ]
 coclass XSLTemplate
@@ -2639,6 +2656,26 @@ coclass MXXMLWriter30
 };
 
 [
+    uuid(88d969c8-f192-11d4-a65f-0040963251e5),
+]
+coclass MXXMLWriter40
+{
+    [default] interface IMXWriter;
+
+    interface ISAXContentHandler;
+    interface ISAXDeclHandler;
+    interface ISAXDTDHandler;
+    interface ISAXErrorHandler;
+    interface ISAXLexicalHandler;
+
+    interface IVBSAXContentHandler;
+    interface IVBSAXDeclHandler;
+    interface IVBSAXDTDHandler;
+    interface IVBSAXErrorHandler;
+    interface IVBSAXLexicalHandler;
+};
+
+[
     uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0)
 ]
 coclass SAXAttributes
@@ -2658,5 +2695,15 @@ coclass SAXAttributes30
     interface ISAXAttributes;
 };
 
+[
+    uuid(88d969ca-f192-11d4-a65f-0040963251e5),
+]
+coclass SAXAttributes40
+{
+    [default] interface IMXAttributes;
+    interface IVBSAXAttributes;
+    interface ISAXAttributes;
+};
+
 
 } /* Library MSXML */




More information about the wine-cvs mailing list