[PATCH 1/8] Add xml DOMDocument60 definition

Nikolay Sivov nsivov at codeweavers.com
Sun Aug 29 16:29:29 CDT 2010


---
 .gitignore          |    1 +
 include/Makefile.in |    2 +
 include/msxml6.idl  |   61 +++++++++++++++++++++++++++++++++++++++++++++++++++
 include/msxml6did.h |   27 ++++++++++++++++++++++
 4 files changed, 91 insertions(+), 0 deletions(-)
 create mode 100644 include/msxml6.idl
 create mode 100644 include/msxml6did.h

diff --git a/.gitignore b/.gitignore
index a007dcc..d009da6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -189,6 +189,7 @@ include/msinkaut.h
 include/mstask.h
 include/msxml.h
 include/msxml2.h
+include/msxml6.h
 include/netcon.h
 include/netfw.h
 include/oaidl.h
diff --git a/include/Makefile.in b/include/Makefile.in
index b8d26ec..c454490 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -61,6 +61,7 @@ PUBLIC_IDL_H_SRCS = \
 	mstask.idl \
 	msxml.idl \
 	msxml2.idl \
+	msxml6.idl \
 	netcon.idl \
 	netfw.idl \
 	oaidl.idl \
@@ -379,6 +380,7 @@ SRCDIR_INCLUDES = \
 	msvcrt/wctype.h \
 	mswsock.h \
 	msxml2did.h \
+	msxml6did.h \
 	msxmldid.h \
 	nb30.h \
 	ndrtypes.h \
diff --git a/include/msxml6.idl b/include/msxml6.idl
new file mode 100644
index 0000000..52ce7fb
--- /dev/null
+++ b/include/msxml6.idl
@@ -0,0 +1,61 @@
+/*
+ * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+
+#include <msxml6did.h>
+import "msxml2.idl";
+
+[
+    uuid(88d96a05-f192-11d4-a65f-0040963251e5)
+]
+coclass DOMDocument60
+{
+    [default] interface IXMLDOMDocument3;
+    [default, source] dispinterface XMLDOMDocumentEvents;
+}
+
+[
+    uuid(88d96a06-f192-11d4-a65f-0040963251e5),
+]
+coclass FreeThreadedDOMDocument60
+{
+    [default] interface IXMLDOMDocument3;
+    [default, source] dispinterface XMLDOMDocumentEvents;
+}
+
+[
+    local,
+    object,
+    dual,
+    uuid(2933bf96-7b36-11d2-b20e-00c04f983e60),
+    oleautomation,
+]
+interface IXMLDOMDocument3 : IXMLDOMDocument2
+{
+    [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)]
+    HRESULT validateNode(
+        [in] IXMLDOMNode *node,
+        [out, retval] IXMLDOMParseError **error);
+
+    [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)]
+    HRESULT importNode(
+        [in] IXMLDOMNode *node,
+        [in] VARIANT_BOOL deep,
+        [out, retval] IXMLDOMNode **clone);
+}
+
diff --git a/include/msxml6did.h b/include/msxml6did.h
new file mode 100644
index 0000000..192976f
--- /dev/null
+++ b/include/msxml6did.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#ifndef __MSXML6DID_H__
+#define __MSXML6DID_H__
+
+#define DISPID_XMLDOM_DOCUMENT3                0x000000ce
+#define DISPID_XMLDOM_DOCUMENT3_VALIDATENODE   0x000000cf
+#define DISPID_XMLDOM_DOCUMENT3_IMPORTNODE     0x000000d0
+#define DISPID_XMLDOM_DOCUMENT3__TOP           0x000000d1
+
+#endif /* __MSXML6DID_H__ */
-- 
1.5.6.5



--------------060205070405090504080601--



More information about the wine-patches mailing list