mshtml.idl: Added more *XMLHttpRequest* declarations.

This commit is contained in:
Jacek Caban 2012-07-20 20:19:37 +02:00 committed by Alexandre Julliard
parent 930065072a
commit 84eb47531d
2 changed files with 166 additions and 1 deletions

View File

@ -640,7 +640,49 @@
#define DISPID_EVPROP_ONHASHCHANGE (DISPID_EVENTS+109)
#define DISPID_EVPROP_ONMESSAGE (DISPID_EVENTS+110)
#define DISPID_EVPROP_ONDOMMUTATION (DISPID_EVENTS+111)
#define DISPID_EVPROPS_COUNT 112
#define DISPID_EVPROP_TIMEOUT (DISPID_EVENTS+112)
#define DISPID_EVPROP_WHEEL (DISPID_EVENTS+113)
#define DISPID_EVPROP_SVGLOAD (DISPID_EVENTS+114)
#define DISPID_EVPROP_SVGUNLOAD (DISPID_EVENTS+115)
#define DISPID_EVPROP_SVGABORT (DISPID_EVENTS+116)
#define DISPID_EVPROP_SVGERROR (DISPID_EVENTS+117)
#define DISPID_EVPROP_SVGRESIZE (DISPID_EVENTS+118)
#define DISPID_EVPROP_SVGSCROLL (DISPID_EVENTS+119)
#define DISPID_EVPROP_SVGZOOM (DISPID_EVENTS+120)
#define DISPID_EVPROP_ONMSTHUMBNAILCLICK (DISPID_EVENTS+121)
#define DISPID_EVPROP_COMPOSITIONSTART (DISPID_EVENTS+122)
#define DISPID_EVPROP_COMPOSITIONUPDATE (DISPID_EVENTS+123)
#define DISPID_EVPROP_COMPOSITIONEND (DISPID_EVENTS+124)
#define DISPID_EVPROP_DOMATTRMODIFIED (DISPID_EVENTS+125)
#define DISPID_EVPROP_DOMCONTENTLOADED (DISPID_EVENTS+126)
#define DISPID_EVPROP_INPUT (DISPID_EVENTS+127)
#define DISPID_EVPROP_DOMCHARDATAMODIFIE (DISPID_EVENTS+128)
#define DISPID_EVPROP_TEXTINPUT (DISPID_EVENTS+129)
#define DISPID_EVPROP_ONMSSITEMODEJUMPLISTITEMREMOVED (DISPID_EVENTS+130)
#define DISPID_EVPROP_DOMNODEINSERTED (DISPID_EVENTS+131)
#define DISPID_EVPROP_DOMNODEREMOVED (DISPID_EVENTS+132)
#define DISPID_EVPROP_DOMSUBTREEMODIFIED (DISPID_EVENTS+133)
#define DISPID_EVPROP_CANPLAY (DISPID_EVENTS+134)
#define DISPID_EVPROP_CANPLAYTHROUGH (DISPID_EVENTS+135)
#define DISPID_EVPROP_DURATIONCHANGE (DISPID_EVENTS+136)
#define DISPID_EVPROP_EMPTIED (DISPID_EVENTS+137)
#define DISPID_EVPROP_ENDED (DISPID_EVENTS+138)
#define DISPID_EVPROP_LOADEDDATA (DISPID_EVENTS+139)
#define DISPID_EVPROP_LOADEDMETADATA (DISPID_EVENTS+140)
#define DISPID_EVPROP_LOADSTART (DISPID_EVENTS+141)
#define DISPID_EVPROP_PAUSE (DISPID_EVENTS+142)
#define DISPID_EVPROP_PLAY (DISPID_EVENTS+143)
#define DISPID_EVPROP_PLAYING (DISPID_EVENTS+144)
#define DISPID_EVPROP_PROGRESS (DISPID_EVENTS+145)
#define DISPID_EVPROP_RATECHANGE (DISPID_EVENTS+146)
#define DISPID_EVPROP_SEEKED (DISPID_EVENTS+147)
#define DISPID_EVPROP_SEEKING (DISPID_EVENTS+148)
#define DISPID_EVPROP_STALLED (DISPID_EVENTS+149)
#define DISPID_EVPROP_SUSPEND (DISPID_EVENTS+150)
#define DISPID_EVPROP_TIMEUPDATE (DISPID_EVENTS+151)
#define DISPID_EVPROP_VOLUMECHANGE (DISPID_EVENTS+152)
#define DISPID_EVPROP_WAITING (DISPID_EVENTS+153)
#define DISPID_EVPROPS_COUNT 154
#define DISPID_EVMETH_ONMOUSEOVER STDDISPID_XOBJ_ONMOUSEOVER
#define DISPID_EVMETH_ONMOUSEOUT STDDISPID_XOBJ_ONMOUSEOUT
@ -1820,6 +1862,10 @@
/* IHTMLXMLHttpRequestFactory */
#define DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE DISPID_VALUE
/* HTMLXMLHttpRequestEvents */
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONTIMEOUT DISPID_XMLHTTPREQUEST+16
#define DISPID_HTMLXMLHTTPREQUESTEVENTS_ONREADYSTATECHANGE DISPID_XMLHTTPREQUEST+8
/* IOmHistory */
#define DISPID_IOMHISTORY_LENGTH DISPID_HISTORY
#define DISPID_IOMHISTORY_BACK (DISPID_HISTORY+1)
@ -2835,6 +2881,11 @@
#define DISPID_IHTMLSTORAGE_REMOVEITEM DISPID_DOMSTORAGE+5
#define DISPID_IHTMLSTORAGE_CLEAR DISPID_DOMSTORAGE+7
/* IEventTarget */
#define DISPID_IEVENTTARGET_ADDEVENTLISTENER DISPID_HTMLOBJECT+10
#define DISPID_IEVENTTARGET_REMOVEEVENTLISTENER DISPID_HTMLOBJECT+11
#define DISPID_IEVENTTARGET_DISPATCHEVENT DISPID_HTMLOBJECT+12
/* IHTMLControlElement */
#define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0)

View File

@ -7863,6 +7863,120 @@ interface IHTMLXMLHttpRequest : IDispatch
[in] BSTR bstrValue);
}
/*****************************************************************************
* IHTMLXMLHttpRequest2 interface
*/
[
odl,
oleautomation,
dual,
uuid(30510482-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLXMLHttpRequest2 : IDispatch
{
[propput, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)]
HRESULT timeout([in] long v);
[propget, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)]
HRESULT timeout([out, retval] long *p);
[propput, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable]
HRESULT ontimeout([in] VARIANT v);
[propget, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable]
HRESULT ontimeout([out, retval] VARIANT *p);
}
/*****************************************************************************
* IHTMLXMLHttpRequestFactory interface
*/
[
odl,
oleautomation,
dual,
uuid(3051040c-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLXMLHttpRequestFactory : IDispatch
{
[id(DISPID_IHTMLXMLHTTPREQUESTFACTORY_CREATE)]
HRESULT create([out, retval] IHTMLXMLHttpRequest **p);
}
/*****************************************************************************
* DispHTMLXMLHttpRequest dispinterface
*/
[
hidden,
uuid(3050f596-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLXMLHttpRequest
{
properties:
methods:
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_READYSTATE)]
long readyState();
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEBODY)]
VARIANT responseBody();
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSETEXT)]
BSTR responseText();
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_RESPONSEXML)]
IDispatch *responseXML();
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUS)]
long status();
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_STATUSTEXT)]
BSTR statusText();
[propput, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable]
void onreadystatechange(VARIANT v);
[propget, id(DISPID_IHTMLXMLHTTPREQUEST_ONREADYSTATECHANGE), displaybind, bindable]
VARIANT onreadystatechange();
[id(DISPID_IHTMLXMLHTTPREQUEST_ABORT)]
void abort();
[id(DISPID_IHTMLXMLHTTPREQUEST_OPEN)]
void open(
[in] BSTR bstrMethod,
[in] BSTR bstrUrl,
[in] VARIANT varAsync,
[in, optional] VARIANT varUser,
[in, optional] VARIANT varPassword);
[id(DISPID_IHTMLXMLHTTPREQUEST_SEND)]
void send([in, optional] VARIANT varBody);
[id(DISPID_IHTMLXMLHTTPREQUEST_GETALLRESPONSEHEADERS)]
BSTR getAllResponseHeaders();
[id(DISPID_IHTMLXMLHTTPREQUEST_GETRESPONSEHEADER)]
BSTR getResponseHeader([in] BSTR bstrHeader);
[id(DISPID_IHTMLXMLHTTPREQUEST_SETREQUESTHEADER)]
void setRequestHeader(
[in] BSTR bstrHeader,
[in] BSTR bstrValue);
[propput, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)]
void timeout(long v);
[propget, id(DISPID_IHTMLXMLHTTPREQUEST2_TIMEOUT)]
long timeout();
[propput, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable]
void ontimeout(VARIANT v);
[propget, id(DISPID_IHTMLXMLHTTPREQUEST2_ONTIMEOUT), displaybind, bindable]
VARIANT ontimeout();
WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL;
}
/*****************************************************************************
* IHTMLControlElement interface
*/