mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 11:03:38 +00:00
include: Add IDOMParser interface, dispinterface, and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
0c875dfa5f
commit
2a5d096f2c
|
@ -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
|
||||
|
|
|
@ -29588,6 +29588,46 @@ interface IHTMLDOMConstructorCollection : IDispatch
|
|||
HRESULT XMLHttpRequest([out, retval] IDispatch **p);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue