mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 08:53:38 +00:00
include/mshtml: Add IHTMLXDomainRequest and factory interfaces and classes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
This commit is contained in:
parent
9a0d0e8616
commit
60279d0d5a
|
@ -105,6 +105,7 @@
|
||||||
#define DISPID_NAMESPACE DISPID_NORMAL_FIRST
|
#define DISPID_NAMESPACE DISPID_NORMAL_FIRST
|
||||||
#define DISPID_TAGNAMES_COLLECTION DISPID_NORMAL_FIRST
|
#define DISPID_TAGNAMES_COLLECTION DISPID_NORMAL_FIRST
|
||||||
#define DISPID_XMLHTTPREQUEST DISPID_NORMAL_FIRST
|
#define DISPID_XMLHTTPREQUEST DISPID_NORMAL_FIRST
|
||||||
|
#define DISPID_XDOMAINREQUEST DISPID_NORMAL_FIRST
|
||||||
#define DISPID_DOMPARSER DISPID_NORMAL_FIRST
|
#define DISPID_DOMPARSER DISPID_NORMAL_FIRST
|
||||||
#define DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION DISPID_NORMAL_FIRST
|
#define DISPID_DOCUMENTCOMPATIBLEINFO_COLLECTION DISPID_NORMAL_FIRST
|
||||||
#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST
|
#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST
|
||||||
|
@ -3085,6 +3086,18 @@
|
||||||
#define DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT DISPID_XMLHTTPREQUEST+15
|
#define DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT DISPID_XMLHTTPREQUEST+15
|
||||||
#define DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT DISPID_EVPROP_TIMEOUT
|
#define DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT DISPID_EVPROP_TIMEOUT
|
||||||
|
|
||||||
|
/* IHTMLXDomainRequest */
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_RESPONSETEXT DISPID_XDOMAINREQUEST+3
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_TIMEOUT DISPID_XDOMAINREQUEST+4
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_CONTENTTYPE DISPID_XDOMAINREQUEST+5
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_ONPROGRESS DISPID_XDOMAINREQUEST+6
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_ONERROR DISPID_EVPROP_ONERROR
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_ONTIMEOUT DISPID_EVPROP_TIMEOUT
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_ONLOAD DISPID_EVPROP_ONLOAD
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_ABORT DISPID_XDOMAINREQUEST+10
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_OPEN DISPID_XDOMAINREQUEST+11
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUEST_SEND DISPID_XDOMAINREQUEST+12
|
||||||
|
|
||||||
/* ISVGAnimatedEnumeration */
|
/* ISVGAnimatedEnumeration */
|
||||||
#define DISPID_ISVGANIMATEDENUMERATION_BASEVAL DISPID_SVGANIMATEDENUMERATION
|
#define DISPID_ISVGANIMATEDENUMERATION_BASEVAL DISPID_SVGANIMATEDENUMERATION
|
||||||
#define DISPID_ISVGANIMATEDENUMERATION_ANIMVAL DISPID_SVGANIMATEDENUMERATION+1
|
#define DISPID_ISVGANIMATEDENUMERATION_ANIMVAL DISPID_SVGANIMATEDENUMERATION+1
|
||||||
|
@ -3344,6 +3357,9 @@
|
||||||
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT DISPID_XMLHTTPREQUEST+16
|
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT DISPID_XMLHTTPREQUEST+16
|
||||||
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE DISPID_XMLHTTPREQUEST+8
|
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE DISPID_XMLHTTPREQUEST+8
|
||||||
|
|
||||||
|
/* IHTMLXDomainRequestFactory */
|
||||||
|
#define DISPID_IHTMLXDOMAINREQUESTFACTORY_CREATE DISPID_VALUE
|
||||||
|
|
||||||
/* IOmHistory */
|
/* IOmHistory */
|
||||||
#define DISPID_IOMHISTORY_LENGTH DISPID_HISTORY
|
#define DISPID_IOMHISTORY_LENGTH DISPID_HISTORY
|
||||||
#define DISPID_IOMHISTORY_BACK (DISPID_HISTORY+1)
|
#define DISPID_IOMHISTORY_BACK (DISPID_HISTORY+1)
|
||||||
|
|
|
@ -14092,6 +14092,117 @@ coclass HTMLXMLHttpRequest
|
||||||
interface IEventTarget;
|
interface IEventTarget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* IHTMLXDomainRequest interface
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
odl,
|
||||||
|
oleautomation,
|
||||||
|
dual,
|
||||||
|
uuid(30510454-98b5-11cf-bb82-00aa00bdce0b)
|
||||||
|
]
|
||||||
|
interface IHTMLXDomainRequest : IDispatch
|
||||||
|
{
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_RESPONSETEXT)]
|
||||||
|
HRESULT responseText([out, retval] BSTR *p);
|
||||||
|
|
||||||
|
[propput, id(DISPID_IHTMLXDOMAINREQUEST_TIMEOUT)]
|
||||||
|
HRESULT timeout([in] LONG v);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_TIMEOUT)]
|
||||||
|
HRESULT timeout([out, retval] LONG *p);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_CONTENTTYPE)]
|
||||||
|
HRESULT contentType([out, retval] BSTR *p);
|
||||||
|
|
||||||
|
[propput, id(DISPID_IHTMLXDOMAINREQUEST_ONPROGRESS)]
|
||||||
|
HRESULT onprogress([in] VARIANT v);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_ONPROGRESS)]
|
||||||
|
HRESULT onprogress([out, retval] VARIANT *p);
|
||||||
|
|
||||||
|
[propput, id(DISPID_IHTMLXDOMAINREQUEST_ONERROR)]
|
||||||
|
HRESULT onerror([in] VARIANT v);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_ONERROR)]
|
||||||
|
HRESULT onerror([out, retval] VARIANT *p);
|
||||||
|
|
||||||
|
[propput, id(DISPID_IHTMLXDOMAINREQUEST_ONTIMEOUT)]
|
||||||
|
HRESULT ontimeout([in] VARIANT v);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_ONTIMEOUT)]
|
||||||
|
HRESULT ontimeout([out, retval] VARIANT *p);
|
||||||
|
|
||||||
|
[propput, id(DISPID_IHTMLXDOMAINREQUEST_ONLOAD)]
|
||||||
|
HRESULT onload([in] VARIANT v);
|
||||||
|
|
||||||
|
[propget, id(DISPID_IHTMLXDOMAINREQUEST_ONLOAD)]
|
||||||
|
HRESULT onload([out, retval] VARIANT *p);
|
||||||
|
|
||||||
|
[id(DISPID_IHTMLXDOMAINREQUEST_ABORT)]
|
||||||
|
HRESULT abort();
|
||||||
|
|
||||||
|
[id(DISPID_IHTMLXDOMAINREQUEST_OPEN)]
|
||||||
|
HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl);
|
||||||
|
|
||||||
|
[id(DISPID_IHTMLXDOMAINREQUEST_SEND)]
|
||||||
|
HRESULT send([in, optional] VARIANT varBody);
|
||||||
|
};
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* IHTMLXDomainRequestFactory interface
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
odl,
|
||||||
|
oleautomation,
|
||||||
|
dual,
|
||||||
|
uuid(30510456-98b5-11cf-bb82-00aa00bdce0b)
|
||||||
|
]
|
||||||
|
interface IHTMLXDomainRequestFactory : IDispatch
|
||||||
|
{
|
||||||
|
[id(DISPID_IHTMLXDOMAINREQUESTFACTORY_CREATE)]
|
||||||
|
HRESULT create([out, retval] IHTMLXDomainRequest **p);
|
||||||
|
};
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* DispXDomainRequest dispinterface
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
hidden,
|
||||||
|
uuid(3050f599-98b5-11cf-bb82-00aa00bdce0b)
|
||||||
|
]
|
||||||
|
dispinterface DispXDomainRequest
|
||||||
|
{
|
||||||
|
properties:
|
||||||
|
methods:
|
||||||
|
WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* XDomainRequest
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
noncreatable,
|
||||||
|
uuid(30510455-98b5-11cf-bb82-00aa00bdce0b)
|
||||||
|
]
|
||||||
|
coclass XDomainRequest
|
||||||
|
{
|
||||||
|
[default] dispinterface DispXDomainRequest;
|
||||||
|
interface IHTMLDOMConstructor;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* XDomainRequestFactory
|
||||||
|
*/
|
||||||
|
[
|
||||||
|
noncreatable,
|
||||||
|
uuid(30510457-98b5-11cf-bb82-00aa00bdce0b)
|
||||||
|
]
|
||||||
|
coclass XDomainRequestFactory
|
||||||
|
{
|
||||||
|
[default] interface IHTMLXDomainRequestFactory;
|
||||||
|
};
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IHTMLControlElement interface
|
* IHTMLControlElement interface
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue