Commit 2a5d096f authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

include: Add IDOMParser interface, dispinterface, and coclass.

parent 0c875dfa
......@@ -105,6 +105,7 @@
#define DISPID_NAMESPACE DISPID_NORMAL_FIRST
#define DISPID_TAGNAMES_COLLECTION DISPID_NORMAL_FIRST
#define DISPID_XMLHTTPREQUEST DISPID_NORMAL_FIRST
#define DISPID_DOMPARSER DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST
#define DISPID_XDOMAINREQUEST DISPID_NORMAL_FIRST
......@@ -4631,6 +4632,9 @@
#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XDOMAINREQUEST DISPID_WINDOW+8001+DomConstructorXDomainRequest
#define DISPID_IHTMLDOMCONSTRUCTORCOLLECTION_XMLHTTPREQUEST DISPID_WINDOW+8001+DomConstructorXMLHttpRequest
/* IDOMParser */
#define DISPID_IDOMPARSER_PARSEFROMSTRING DISPID_DOMPARSER
/* IEventTarget */
#define DISPID_IEVENTTARGET_ADDEVENTLISTENER DISPID_HTMLOBJECT+10
#define DISPID_IEVENTTARGET_REMOVEEVENTLISTENER DISPID_HTMLOBJECT+11
......
......@@ -29589,6 +29589,46 @@ interface IHTMLDOMConstructorCollection : IDispatch
}
/*****************************************************************************
* IDOMParser interface
*/
[
odl,
oleautomation,
dual,
uuid(30510781-98b5-11cf-bb82-00aa00bdce0b)
]
interface IDOMParser : IDispatch
{
[id(DISPID_IDOMPARSER_PARSEFROMSTRING)]
HRESULT parseFromString([in] BSTR string, [in] BSTR mimeType, [retval, out] IHTMLDocument2 **ppNode);
}
/*****************************************************************************
* DispDOMParser dispinterface
*/
[
hidden,
uuid(305900ae-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispDOMParser
{
properties:
methods:
[id(DISPID_IDOMPARSER_PARSEFROMSTRING)]
IHTMLDocument2 *parseFromString([in] BSTR string, [in] BSTR mimeType);
}
[
noncreatable,
uuid(30510782-98b5-11cf-bb82-00aa00bdce0b)
]
coclass DOMParser
{
[default] dispinterface DispDOMParser;
interface IDOMParser;
}
/*****************************************************************************
* IXMLGenericParse interface
*/
[
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment