wine/include xmldomdid.h xmldom.idl
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 7 14:11:43 CST 2005
ChangeSet ID: 21144
CVSROOT: /opt/cvs-commit
Module name: wine
Changes by: julliard at winehq.org 2005/11/07 14:11:43
Modified files:
include : xmldomdid.h xmldom.idl
Log message:
Huw Davies <huw at codeweavers.com>
Add IXMLDOMParseError.
Patch: http://cvs.winehq.org/patch.py?id=21144
Old revision New revision Changes Path
1.2 1.3 +12 -0 wine/include/xmldomdid.h
1.4 1.5 +35 -0 wine/include/xmldom.idl
Index: wine/include/xmldomdid.h
diff -u -p wine/include/xmldomdid.h:1.2 wine/include/xmldomdid.h:1.3
--- wine/include/xmldomdid.h:1.2 7 Nov 2005 20:11:43 -0000
+++ wine/include/xmldomdid.h 7 Nov 2005 20:11:43 -0000
@@ -171,4 +171,16 @@
#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 131
#define DISPID_DOM_DOCUMENTTYPE__TOP 132
+
+#define DISPID_DOM_ERROR 0x000000b0
+#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
+#define DISPID_DOM_ERROR_URL 0x000000b2
+#define DISPID_DOM_ERROR_REASON 0x000000b3
+#define DISPID_DOM_ERROR_SRCTEXT 0x000000b4
+#define DISPID_DOM_ERROR_LINE 0x000000b5
+#define DISPID_DOM_ERROR_LINEPOS 0x000000b6
+#define DISPID_DOM_ERROR_FILEPOS 0x000000b7
+#define DISPID_DOM_ERROR__TOP 0x000000b8
+
+
#endif /* __XMLDOMDID_H__ */
Index: wine/include/xmldom.idl
diff -u -p wine/include/xmldom.idl:1.4 wine/include/xmldom.idl:1.5
--- wine/include/xmldom.idl:1.4 7 Nov 2005 20:11:43 -0000
+++ wine/include/xmldom.idl 7 Nov 2005 20:11:43 -0000
@@ -613,6 +613,41 @@ interface IXMLDOMDocumentType : IXMLDOMN
HRESULT notations( [out,retval] IXMLDOMNamedNodeMap **notationMap );
};
+[
+local,
+object,
+odl,
+dual,
+oleautomation,
+/*nonextensible,*/
+helpstring("structure for reporting parse errors"),
+pointer_default(unique),
+uuid (3efaa426-272f-11d2-836f-0000f87a7782)
+]
+interface IXMLDOMParseError : IDispatch
+{
+ [propget, id(DISPID_VALUE)]
+ HRESULT errorCode([retval, out] long *errCode);
+
+ [propget, id(DISPID_DOM_ERROR_URL)]
+ HRESULT url([retval, out] BSTR *p);
+
+ [propget, id(DISPID_DOM_ERROR_REASON)]
+ HRESULT reason([retval, out] BSTR *p);
+
+ [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
+ HRESULT srcText([retval, out] BSTR *p);
+
+ [propget, id(DISPID_DOM_ERROR_LINE)]
+ HRESULT line([retval, out] long *lineNo);
+
+ [propget, id(DISPID_DOM_ERROR_LINEPOS)]
+ HRESULT linepos([retval, out] long * linePos);
+
+ [propget, id(DISPID_DOM_ERROR_FILEPOS)]
+ HRESULT filepos([retval, out] long * filePos);
+};
+
[
uuid(2933bf90-7b36-11d2-b20e-00c04f983e60)
More information about the wine-cvs
mailing list