[PATCH] Added support for SAXXMLReader40

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Sat Feb 13 05:59:18 CST 2010


---
 dlls/msxml3/factory.c |    3 ++-
 include/msxml2.idl    |    9 +++++++++
 2 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
index 45ba368..af94d5c 100644
--- a/dlls/msxml3/factory.c
+++ b/dlls/msxml3/factory.c
@@ -167,7 +167,8 @@ HRESULT WINAPI DllGetClassObject( REFCLSID rclsid, REFIID iid, LPVOID *ppv )
         cf = (IClassFactory*) &domdoccf.lpVtbl;
     }
     else if( IsEqualCLSID( rclsid, &CLSID_SAXXMLReader) ||
-             IsEqualCLSID( rclsid, &CLSID_SAXXMLReader30 ))
+             IsEqualCLSID( rclsid, &CLSID_SAXXMLReader30 ) ||
+             IsEqualCLSID( rclsid, &CLSID_SAXXMLReader40 ))
     {
         cf = (IClassFactory*) &saxreadcf.lpVtbl;
     }
diff --git a/include/msxml2.idl b/include/msxml2.idl
index b6303c9..8991400 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -1980,6 +1980,15 @@ coclass SAXXMLReader30
 };
 
 [
+    uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
+]
+coclass SAXXMLReader40
+{
+    [default] interface IVBSAXXMLReader;
+    interface ISAXXMLReader;
+};
+
+[
     uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
 ]
 coclass MXXMLWriter
-- 
1.6.2.5


--------------000201020305090609080903--



More information about the wine-patches mailing list