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

include: Add IDOMProgressEvent interface and dispinterface.

parent d617eecc
......@@ -141,6 +141,12 @@
#define DISPID_DOMSTORAGEEVENT (DISPID_DOMMESSAGEEVENT+25)
#define DISPID_DOMBEFOREUNLOADEVENT (DISPID_DOMSTORAGEEVENT+25)
#define DISPID_DOMDRAGEVENT (DISPID_DOMBEFOREUNLOADEVENT+25)
#define DISPID_DOMMSPOINTEREVENT (DISPID_DOMDRAGEVENT+25)
#define DISPID_DOMMSGESTUREEVENT (DISPID_DOMMSPOINTEREVENT+25)
#define DISPID_DOMMSTRANSITIONEVENT (DISPID_DOMMSGESTUREEVENT+25)
#define DISPID_DOMMSANIMATIONEVENT (DISPID_DOMMSTRANSITIONEVENT+25)
#define DISPID_DOMMSMANIPULATIONEVENT (DISPID_DOMMSANIMATIONEVENT+25)
#define DISPID_DOMPROGRESSEVENT (DISPID_DOMMSMANIPULATIONEVENT+25)
#define DISPID_DOMIMPLEMENTATION DISPID_NORMAL_FIRST
#define DISPID_DOCUMENTCOMPATIBLEINFO DISPID_NORMAL_FIRST
......@@ -4704,6 +4710,12 @@
#define DISPID_IDOMMESSAGEEVENT_SOURCE DISPID_DOMMESSAGEEVENT+3
#define DISPID_IDOMMESSAGEEVENT_INITMESSAGEEVENT DISPID_DOMMESSAGEEVENT+4
/* IDOMProgressEvent */
#define DISPID_IDOMPROGRESSEVENT_LENGTHCOMPUTABLE DISPID_DOMPROGRESSEVENT+1
#define DISPID_IDOMPROGRESSEVENT_LOADED DISPID_DOMPROGRESSEVENT+2
#define DISPID_IDOMPROGRESSEVENT_TOTAL DISPID_DOMPROGRESSEVENT+3
#define DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT DISPID_DOMPROGRESSEVENT+4
/* IHTMLControlElement */
#define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0)
......
......@@ -28496,6 +28496,68 @@ methods:
}
/*****************************************************************************
* IDOMProgressEvent interface
*/
[
odl,
oleautomation,
dual,
uuid(3051071e-98b5-11cf-bb82-00aa00bdce0b)
]
interface IDOMProgressEvent : IDispatch
{
[propget, id(DISPID_IDOMPROGRESSEVENT_LENGTHCOMPUTABLE)]
HRESULT lengthComputable([out, retval] VARIANT_BOOL *p);
[propget, id(DISPID_IDOMPROGRESSEVENT_LOADED)]
HRESULT loaded([out, retval] ULONGLONG *p);
[propget, id(DISPID_IDOMPROGRESSEVENT_TOTAL)]
HRESULT total([out, retval] ULONGLONG *p);
[id(DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT)]
HRESULT initProgressEvent(
[in] BSTR eventType,
[in] VARIANT_BOOL canBubble,
[in] VARIANT_BOOL cancelable,
[in] VARIANT_BOOL lengthComputableArg,
[in] ULONGLONG loadedArg,
[in] ULONGLONG totalArg);
};
/*****************************************************************************
* DispDOMProgressEvent dispinterface
*/
[
hidden,
uuid(30590091-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispDOMProgressEvent
{
properties:
methods:
WINE_IDOMEVENT_DISPINTERFACE_DECL;
[propget, id(DISPID_IDOMPROGRESSEVENT_LENGTHCOMPUTABLE)]
VARIANT_BOOL lengthComputable();
[propget, id(DISPID_IDOMPROGRESSEVENT_LOADED)]
ULONGLONG loaded();
[propget, id(DISPID_IDOMPROGRESSEVENT_TOTAL)]
ULONGLONG total();
[id(DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT)]
void initProgressEvent(
[in] BSTR eventType,
[in] VARIANT_BOOL canBubble,
[in] VARIANT_BOOL cancelable,
[in] VARIANT_BOOL lengthComputableArg,
[in] ULONGLONG loadedArg,
[in] ULONGLONG totalArg);
};
/*****************************************************************************
* IHTMLNamespaceCollection 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