2022-02-23 14:58:54 -08:00
|
|
|
From 0d226ed6deed34649926c32dffe7086d2ce4f06b Mon Sep 17 00:00:00 2001
|
2020-09-14 18:15:32 -07:00
|
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
|
|
Date: Fri, 11 Sep 2020 17:55:59 +1000
|
2021-01-22 21:51:39 -08:00
|
|
|
Subject: [PATCH] include: Remove interfaces already define in msxml6.idl
|
2020-09-14 18:15:32 -07:00
|
|
|
|
|
|
|
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
|
|
---
|
|
|
|
dlls/msxml3/factory.c | 1 +
|
|
|
|
dlls/msxml3/tests/saxreader.c | 1 +
|
|
|
|
dlls/msxml3/tests/schema.c | 5 ++
|
|
|
|
dlls/msxml3/uuid.c | 11 ++++
|
|
|
|
include/msxml2.idl | 109 ----------------------------------
|
2021-01-22 21:51:39 -08:00
|
|
|
include/msxml6.idl | 24 ++++----
|
|
|
|
6 files changed, 30 insertions(+), 121 deletions(-)
|
2020-09-14 18:15:32 -07:00
|
|
|
|
|
|
|
diff --git a/dlls/msxml3/factory.c b/dlls/msxml3/factory.c
|
2022-02-23 14:58:54 -08:00
|
|
|
index c2d3cd30c60..243ee379712 100644
|
2020-09-14 18:15:32 -07:00
|
|
|
--- a/dlls/msxml3/factory.c
|
|
|
|
+++ b/dlls/msxml3/factory.c
|
2022-02-23 14:58:54 -08:00
|
|
|
@@ -31,6 +31,7 @@
|
2020-09-14 18:15:32 -07:00
|
|
|
#include "ole2.h"
|
|
|
|
#include "msxml.h"
|
|
|
|
#include "msxml2.h"
|
|
|
|
+#include "msxml6.h"
|
|
|
|
#include "xmlparser.h"
|
|
|
|
|
|
|
|
/* undef the #define in msxml2 so that we can access the v.2 version
|
|
|
|
diff --git a/dlls/msxml3/tests/saxreader.c b/dlls/msxml3/tests/saxreader.c
|
2022-02-23 14:58:54 -08:00
|
|
|
index d8101c4ce94..d19ad28fba9 100644
|
2020-09-14 18:15:32 -07:00
|
|
|
--- a/dlls/msxml3/tests/saxreader.c
|
|
|
|
+++ b/dlls/msxml3/tests/saxreader.c
|
|
|
|
@@ -29,6 +29,7 @@
|
|
|
|
#include "windows.h"
|
|
|
|
#include "ole2.h"
|
|
|
|
#include "msxml2.h"
|
|
|
|
+#include "msxml6.h"
|
|
|
|
#include "msxml2did.h"
|
|
|
|
#include "ocidl.h"
|
|
|
|
#include "dispex.h"
|
|
|
|
diff --git a/dlls/msxml3/tests/schema.c b/dlls/msxml3/tests/schema.c
|
2022-02-23 14:58:54 -08:00
|
|
|
index cf55f53dbc9..fd7abca151d 100644
|
2020-09-14 18:15:32 -07:00
|
|
|
--- a/dlls/msxml3/tests/schema.c
|
|
|
|
+++ b/dlls/msxml3/tests/schema.c
|
|
|
|
@@ -32,6 +32,11 @@
|
|
|
|
#include "dispex.h"
|
|
|
|
#include "cguid.h"
|
|
|
|
|
|
|
|
+DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+
|
|
|
|
#include "wine/test.h"
|
|
|
|
|
2022-02-23 14:58:54 -08:00
|
|
|
#define check_interface(a, b, c) check_interface_(__LINE__, a, b, c)
|
2020-09-14 18:15:32 -07:00
|
|
|
diff --git a/dlls/msxml3/uuid.c b/dlls/msxml3/uuid.c
|
2021-01-22 21:51:39 -08:00
|
|
|
index 4abbe5e4763..333d4f3d3c7 100644
|
2020-09-14 18:15:32 -07:00
|
|
|
--- a/dlls/msxml3/uuid.c
|
|
|
|
+++ b/dlls/msxml3/uuid.c
|
|
|
|
@@ -41,6 +41,17 @@
|
|
|
|
#include "initguid.h"
|
|
|
|
#include "msxml2.h"
|
|
|
|
|
|
|
|
+/* Cannot include msxml6 here since we will get a duplicate LIBID_MSXML2 error. */
|
|
|
|
+DEFINE_GUID(CLSID_FreeThreadedDOMDocument60, 0x88d96a06, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_MXNamespaceManager60, 0x88d96a11, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_MXXMLWriter60, 0x88d96a0f, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_SAXAttributes60, 0x88d96a0e, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_SAXXMLReader60, 0x88d96a0c, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_ServerXMLHTTP60, 0x88d96a0b, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_XMLHTTP60, 0x88d96a0a, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_XMLSchemaCache60, 0x88d96a07, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+DEFINE_GUID(CLSID_XSLTemplate60, 0x88d96a08, 0xf192, 0x11d4, 0xa6,0x5f, 0x00,0x40,0x96,0x32,0x51,0xe5);
|
|
|
|
+
|
|
|
|
/*
|
|
|
|
* Note that because of a #define in msxml2.h, we end up initializing
|
|
|
|
* CLSID_DOMDocument2 to be the v.3 version independent DOMDocument
|
|
|
|
diff --git a/include/msxml2.idl b/include/msxml2.idl
|
2021-01-22 21:51:39 -08:00
|
|
|
index 916e0e8ab3d..1d1ba7a5248 100644
|
2020-09-14 18:15:32 -07:00
|
|
|
--- a/include/msxml2.idl
|
|
|
|
+++ b/include/msxml2.idl
|
|
|
|
@@ -1612,15 +1612,6 @@ coclass FreeThreadedDOMDocument40
|
|
|
|
[default, source] dispinterface XMLDOMDocumentEvents;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a06-f192-11d4-a65f-0040963251e5),
|
|
|
|
-]
|
|
|
|
-coclass FreeThreadedDOMDocument60
|
|
|
|
-{
|
|
|
|
- [default] interface IXMLDOMDocument3;
|
|
|
|
- [default, source] dispinterface XMLDOMDocumentEvents;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("Free threaded XML DOM Document"),
|
|
|
|
progid("Msxml2.FreeThreadedDOMDocument"),
|
|
|
|
@@ -1662,14 +1653,6 @@ coclass XMLHTTP40
|
|
|
|
[default] interface IXMLHTTPRequest;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass XMLHTTP60
|
|
|
|
-{
|
|
|
|
- [default] interface IXMLHTTPRequest;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("XML HTTP"),
|
|
|
|
progid("Msxml2.XMLHTTP"),
|
|
|
|
@@ -1702,14 +1685,6 @@ coclass ServerXMLHTTP40
|
|
|
|
[default] interface IServerXMLHTTPRequest2;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass ServerXMLHTTP60
|
|
|
|
-{
|
|
|
|
- [default] interface IServerXMLHTTPRequest2;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("Server XML HTTP"),
|
|
|
|
progid("Msxml2.ServerXMLHTTP"),
|
|
|
|
@@ -1750,14 +1725,6 @@ coclass XMLSchemaCache40
|
|
|
|
[default] interface IXMLDOMSchemaCollection2;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a07-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass XMLSchemaCache60
|
|
|
|
-{
|
|
|
|
- [default] interface IXMLDOMSchemaCollection2;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("XML Schema Cache"),
|
|
|
|
progid("Msxml2.XMLSchemaCache"),
|
|
|
|
@@ -1798,14 +1765,6 @@ coclass XSLTemplate40
|
|
|
|
[default] interface IXSLTemplate;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a08-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass XSLTemplate60
|
|
|
|
-{
|
|
|
|
- [default] interface IXSLTemplate;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("XSL Template"),
|
|
|
|
progid("Msxml2.XSLTemplate"),
|
|
|
|
@@ -3297,15 +3256,6 @@ coclass SAXXMLReader40
|
|
|
|
interface ISAXXMLReader;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a0c-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass SAXXMLReader60
|
|
|
|
-{
|
|
|
|
- [default] interface IVBSAXXMLReader;
|
|
|
|
- interface ISAXXMLReader;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("SAX XML Reader"),
|
|
|
|
progid("Msxml2.SAXXMLReader"),
|
|
|
|
@@ -3380,26 +3330,6 @@ coclass MXHTMLWriter40
|
|
|
|
interface IVBSAXLexicalHandler;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a10-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass MXHTMLWriter60
|
|
|
|
-{
|
|
|
|
- [default] interface IMXWriter;
|
|
|
|
-
|
|
|
|
- interface ISAXContentHandler;
|
|
|
|
- interface ISAXDeclHandler;
|
|
|
|
- interface ISAXDTDHandler;
|
|
|
|
- interface ISAXErrorHandler;
|
|
|
|
- interface ISAXLexicalHandler;
|
|
|
|
-
|
|
|
|
- interface IVBSAXContentHandler;
|
|
|
|
- interface IVBSAXDeclHandler;
|
|
|
|
- interface IVBSAXDTDHandler;
|
|
|
|
- interface IVBSAXErrorHandler;
|
|
|
|
- interface IVBSAXLexicalHandler;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("MXXMLWriter 3.0"),
|
|
|
|
progid("Msxml2.MXXMLWriter.3.0"),
|
|
|
|
@@ -3444,26 +3374,6 @@ coclass MXXMLWriter40
|
|
|
|
interface IVBSAXLexicalHandler;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass MXXMLWriter60
|
|
|
|
-{
|
|
|
|
- [default] interface IMXWriter;
|
|
|
|
-
|
|
|
|
- interface ISAXContentHandler;
|
|
|
|
- interface ISAXDeclHandler;
|
|
|
|
- interface ISAXDTDHandler;
|
|
|
|
- interface ISAXErrorHandler;
|
|
|
|
- interface ISAXLexicalHandler;
|
|
|
|
-
|
|
|
|
- interface IVBSAXContentHandler;
|
|
|
|
- interface IVBSAXDeclHandler;
|
|
|
|
- interface IVBSAXDTDHandler;
|
|
|
|
- interface IVBSAXErrorHandler;
|
|
|
|
- interface IVBSAXLexicalHandler;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("MXXMLWriter"),
|
|
|
|
progid("Msxml2.MXXMLWriter"),
|
|
|
|
@@ -3506,15 +3416,6 @@ coclass MXNamespaceManager40
|
|
|
|
interface IMXNamespaceManager;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a11-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass MXNamespaceManager60
|
|
|
|
-{
|
|
|
|
- [default] interface IVBMXNamespaceManager;
|
|
|
|
- interface IMXNamespaceManager;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("SAXAttributes 3.0"),
|
|
|
|
progid("Msxml2.SAXAttributes.3.0"),
|
|
|
|
@@ -3539,16 +3440,6 @@ coclass SAXAttributes40
|
|
|
|
interface ISAXAttributes;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
|
|
|
|
-]
|
|
|
|
-coclass SAXAttributes60
|
|
|
|
-{
|
|
|
|
- [default] interface IMXAttributes;
|
|
|
|
- interface IVBSAXAttributes;
|
|
|
|
- interface ISAXAttributes;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("SAXAttributes"),
|
|
|
|
progid("Msxml2.SAXAttributes"),
|
2021-01-22 21:51:39 -08:00
|
|
|
diff --git a/include/msxml6.idl b/include/msxml6.idl
|
2022-02-23 14:58:54 -08:00
|
|
|
index 4948de39f1f..e6a0a5feda5 100644
|
2021-01-22 21:51:39 -08:00
|
|
|
--- a/include/msxml6.idl
|
|
|
|
+++ b/include/msxml6.idl
|
2022-02-23 14:58:54 -08:00
|
|
|
@@ -3048,18 +3048,6 @@ coclass DOMDocument60
|
2021-01-22 21:51:39 -08:00
|
|
|
[default, source] dispinterface XMLDOMDocumentEvents;
|
|
|
|
}
|
|
|
|
|
|
|
|
-[
|
|
|
|
- helpstring("Free threaded XML DOM Document 6.0"),
|
|
|
|
- progid("Msxml2.FreeThreadedDOMDocument.6.0"),
|
|
|
|
- threading(both),
|
|
|
|
- uuid(88d96a06-f192-11d4-a65f-0040963251e5),
|
|
|
|
-]
|
|
|
|
-coclass FreeThreadedDOMDocument60
|
|
|
|
-{
|
|
|
|
- [default] interface IXMLDOMDocument3;
|
|
|
|
- [default, source] dispinterface XMLDOMDocumentEvents;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
[
|
|
|
|
helpstring("SAX XML Reader 6.0"),
|
|
|
|
progid("Msxml2.SAXXMLReader.6.0"),
|
2022-02-23 14:58:54 -08:00
|
|
|
@@ -3165,6 +3153,18 @@ coclass XSLTemplate60
|
2021-01-22 21:51:39 -08:00
|
|
|
[default] interface IXSLTemplate;
|
|
|
|
}
|
|
|
|
|
|
|
|
+[
|
|
|
|
+ helpstring("Free threaded XML DOM Document 6.0"),
|
|
|
|
+ progid("Msxml2.FreeThreadedDOMDocument.6.0"),
|
|
|
|
+ threading(both),
|
|
|
|
+ uuid(88d96a06-f192-11d4-a65f-0040963251e5),
|
|
|
|
+]
|
|
|
|
+coclass FreeThreadedDOMDocument60
|
|
|
|
+{
|
|
|
|
+ [default] interface IXMLDOMDocument3;
|
|
|
|
+ [default, source] dispinterface XMLDOMDocumentEvents;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
[
|
|
|
|
helpstring("XML HTTP 6.0"),
|
|
|
|
progid("Msxml2.XMLHTTP.6.0"),
|
2020-09-14 18:15:32 -07:00
|
|
|
--
|
2022-02-23 14:58:54 -08:00
|
|
|
2.34.1
|
2020-09-14 18:15:32 -07:00
|
|
|
|