Rob Shearman : include: Add more IXMLDOMNotation, IXMLDOMEntity, IXMLDOMEntityReference and IXMLDOMImplementation interfaces to xmldom.idl.
Alexandre Julliard
julliard at winehq.org
Wed Jun 25 16:44:36 CDT 2008
Module: wine
Branch: master
Commit: 8d0699e03b161769afe34db5556266cc2fe01bbf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8d0699e03b161769afe34db5556266cc2fe01bbf
Author: Rob Shearman <robertshearman at gmail.com>
Date: Wed Jun 25 18:28:59 2008 +0100
include: Add more IXMLDOMNotation, IXMLDOMEntity, IXMLDOMEntityReference and IXMLDOMImplementation interfaces to xmldom.idl.
---
include/xmldom.idl | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++
include/xmldomdid.h | 15 ++++++++++
2 files changed, 87 insertions(+), 0 deletions(-)
diff --git a/include/xmldom.idl b/include/xmldom.idl
index 1aac0ba..bf85acf 100644
--- a/include/xmldom.idl
+++ b/include/xmldom.idl
@@ -591,6 +591,7 @@ interface IXMLDOMCDATASection : IXMLDOMText
{
/* empty */
}
+
[
local,
object,
@@ -618,6 +619,77 @@ local,
object,
odl,
dual,
+nonextensible,
+oleautomation,
+uuid(2933bf8c-7b36-11d2-b20e-00c04f983e60),
+pointer_default(unique)
+]
+interface IXMLDOMNotation : IXMLDOMNode
+{
+ [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
+ HRESULT publicId([out, retval] VARIANT *publicId);
+
+ [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
+ HRESULT systemId([out, retval] VARIANT *systemId);
+}
+
+[
+local,
+object,
+odl,
+dual,
+nonextensible,
+oleautomation,
+uuid(2933bf8d-7b36-11d2-b20e-00c04f983e60),
+pointer_default(unique)
+]
+interface IXMLDOMEntity : IXMLDOMNode
+{
+ [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
+ HRESULT publicId([out, retval] VARIANT *publicId);
+
+ [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
+ HRESULT systemId([out, retval] VARIANT *systemId);
+
+ [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
+ HRESULT notationName([out, retval] BSTR *name);
+}
+
+[
+local,
+object,
+odl,
+dual,
+nonextensible,
+oleautomation,
+uuid(2933bf8e-7b36-11d2-b20e-00c04f983e60),
+pointer_default(unique)
+]
+interface IXMLDOMEntityReference : IXMLDOMNode
+{
+}
+
+[
+local,
+object,
+odl,
+dual,
+nonextensible,
+oleautomation,
+uuid(2933bf8f-7b36-11d2-b20e-00c04f983e60),
+pointer_default(unique)
+]
+interface IXMLDOMImplementation : IDispatch
+{
+ [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
+ HRESULT hasFeature([in] BSTR feature, [in] BSTR version, [out, retval] VARIANT_BOOL *pbool);
+}
+
+[
+local,
+object,
+odl,
+dual,
oleautomation,
/*nonextensible,*/
helpstring("structure for reporting parse errors"),
diff --git a/include/xmldomdid.h b/include/xmldomdid.h
index 4e8dc85..a299157 100644
--- a/include/xmldomdid.h
+++ b/include/xmldomdid.h
@@ -171,6 +171,21 @@
#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 131
#define DISPID_DOM_DOCUMENTTYPE__TOP 132
+#define DISPID_DOM_NOTATION 133
+#define DISPID_DOM_NOTATION_PUBLICID 134
+#define DISPID_DOM_NOTATION_SYSTEMID 135
+#define DISPID_DOM_NOTATION__TOP 136
+
+#define DISPID_DOM_ENTITY 137
+#define DISPID_DOM_ENTITY_PUBLICID 138
+#define DISPID_DOM_ENTITY_SYSTEMID 139
+#define DISPID_DOM_ENTITY_NOTATIONNAME 140
+#define DISPID_DOM_ENTITY__TOP 141
+
+#define DISPID_DOM_IMPLEMENTATION 142
+#define DISPID_DOM_IMPLEMENTATION_HASFEATURE 143
+#define DISPID_DOM_IMPLEMENTATION__TOP 144
+
#define DISPID_DOM_ERROR 0x000000b0
#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
More information about the wine-cvs
mailing list