mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 09:23:39 +00:00
mshtml.idl: Added IDOMMouseEvent declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
059d5ece23
commit
d943a5cc31
|
@ -3493,6 +3493,32 @@
|
|||
#define DISPID_IDOMEVENT_CANCELBUBBLE DISPID_DOMEVENT+14
|
||||
#define DISPID_IDOMEVENT_SRCELEMENT DISPID_DOMEVENT+15
|
||||
|
||||
/* IDOMMouseEvent */
|
||||
#define DISPID_IDOMMOUSEEVENT_SCREENX DISPID_DOMMOUSEEVENT+1
|
||||
#define DISPID_IDOMMOUSEEVENT_SCREENY DISPID_DOMMOUSEEVENT+2
|
||||
#define DISPID_IDOMMOUSEEVENT_CLIENTX DISPID_DOMMOUSEEVENT+3
|
||||
#define DISPID_IDOMMOUSEEVENT_CLIENTY DISPID_DOMMOUSEEVENT+4
|
||||
#define DISPID_IDOMMOUSEEVENT_CTRLKEY DISPID_DOMMOUSEEVENT+5
|
||||
#define DISPID_IDOMMOUSEEVENT_SHIFTKEY DISPID_DOMMOUSEEVENT+6
|
||||
#define DISPID_IDOMMOUSEEVENT_ALTKEY DISPID_DOMMOUSEEVENT+7
|
||||
#define DISPID_IDOMMOUSEEVENT_METAKEY DISPID_DOMMOUSEEVENT+8
|
||||
#define DISPID_IDOMMOUSEEVENT_BUTTON DISPID_DOMMOUSEEVENT+9
|
||||
#define DISPID_IDOMMOUSEEVENT_RELATEDTARGET DISPID_DOMMOUSEEVENT+10
|
||||
#define DISPID_IDOMMOUSEEVENT_INITMOUSEEVENT DISPID_DOMMOUSEEVENT+11
|
||||
#define DISPID_IDOMMOUSEEVENT_GETMODIFIERSTATE DISPID_DOMMOUSEEVENT+12
|
||||
#define DISPID_IDOMMOUSEEVENT_BUTTONS DISPID_DOMMOUSEEVENT+13
|
||||
#define DISPID_IDOMMOUSEEVENT_FROMELEMENT DISPID_DOMMOUSEEVENT+14
|
||||
#define DISPID_IDOMMOUSEEVENT_TOELEMENT DISPID_DOMMOUSEEVENT+15
|
||||
#define DISPID_IDOMMOUSEEVENT_X DISPID_DOMMOUSEEVENT+16
|
||||
#define DISPID_IDOMMOUSEEVENT_Y DISPID_DOMMOUSEEVENT+17
|
||||
#define DISPID_IDOMMOUSEEVENT_OFFSETX DISPID_DOMMOUSEEVENT+18
|
||||
#define DISPID_IDOMMOUSEEVENT_OFFSETY DISPID_DOMMOUSEEVENT+19
|
||||
#define DISPID_IDOMMOUSEEVENT_PAGEX DISPID_DOMMOUSEEVENT+20
|
||||
#define DISPID_IDOMMOUSEEVENT_PAGEY DISPID_DOMMOUSEEVENT+21
|
||||
#define DISPID_IDOMMOUSEEVENT_LAYERX DISPID_DOMMOUSEEVENT+22
|
||||
#define DISPID_IDOMMOUSEEVENT_LAYERY DISPID_DOMMOUSEEVENT+23
|
||||
#define DISPID_IDOMMOUSEEVENT_WHICH DISPID_DOMMOUSEEVENT+24
|
||||
|
||||
/* IDOMKeyboardEvent */
|
||||
#define DISPID_IDOMKEYBOARDEVENT_KEY DISPID_DOMKEYBOARDEVENT+1
|
||||
#define DISPID_IDOMKEYBOARDEVENT_LOCATION DISPID_DOMKEYBOARDEVENT+2
|
||||
|
|
|
@ -20102,6 +20102,107 @@ interface IDOMEvent : IDispatch
|
|||
HRESULT srcElement([out, retval] IHTMLElement **p);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* IDOMMouseEvent interface
|
||||
*/
|
||||
[
|
||||
odl,
|
||||
oleautomation,
|
||||
dual,
|
||||
uuid(305106ce-98b5-11cf-bb82-00aa00bdce0b)
|
||||
]
|
||||
interface IDOMMouseEvent : IDispatch
|
||||
{
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_SCREENX)]
|
||||
HRESULT screenX([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_SCREENY)]
|
||||
HRESULT screenY([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_CLIENTX)]
|
||||
HRESULT clientX([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_CLIENTY)]
|
||||
HRESULT clientY([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_CTRLKEY)]
|
||||
HRESULT ctrlKey([out, retval] VARIANT_BOOL *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_SHIFTKEY)]
|
||||
HRESULT shiftKey([out, retval] VARIANT_BOOL *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_ALTKEY)]
|
||||
HRESULT altKey([out, retval] VARIANT_BOOL *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_METAKEY)]
|
||||
HRESULT metaKey([out, retval] VARIANT_BOOL *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_BUTTON)]
|
||||
HRESULT button([out, retval] USHORT *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_RELATEDTARGET)]
|
||||
HRESULT relatedTarget([out, retval] IEventTarget **p);
|
||||
|
||||
[id(DISPID_IDOMMOUSEEVENT_INITMOUSEEVENT)]
|
||||
HRESULT initMouseEvent(
|
||||
[in] BSTR eventType,
|
||||
[in] VARIANT_BOOL canBubble,
|
||||
[in] VARIANT_BOOL cancelable,
|
||||
[in] IHTMLWindow2 *viewArg,
|
||||
[in] long detailArg,
|
||||
[in] long screenXArg,
|
||||
[in] long screenYArg,
|
||||
[in] long clientXArg,
|
||||
[in] long clientYArg,
|
||||
[in] VARIANT_BOOL ctrlKeyArg,
|
||||
[in] VARIANT_BOOL altKeyArg,
|
||||
[in] VARIANT_BOOL shiftKeyArg,
|
||||
[in] VARIANT_BOOL metaKeyArg,
|
||||
[in] USHORT buttonArg,
|
||||
[in] IEventTarget *relatedTargetArg);
|
||||
|
||||
[id(DISPID_IDOMMOUSEEVENT_GETMODIFIERSTATE)]
|
||||
HRESULT getModifierState(
|
||||
[in] BSTR keyArg,
|
||||
[out, retval] VARIANT_BOOL *activated);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_BUTTONS)]
|
||||
HRESULT buttons([out, retval] USHORT *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_FROMELEMENT)]
|
||||
HRESULT fromElement([out, retval] IHTMLElement **p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_TOELEMENT)]
|
||||
HRESULT toElement([out, retval] IHTMLElement **p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_X)]
|
||||
HRESULT x([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_Y)]
|
||||
HRESULT y([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_OFFSETX)]
|
||||
HRESULT offsetX([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_OFFSETY)]
|
||||
HRESULT offsetY([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_PAGEX)]
|
||||
HRESULT pageX([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_PAGEY)]
|
||||
HRESULT pageY([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_LAYERX)]
|
||||
HRESULT layerX([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_LAYERY)]
|
||||
HRESULT layerY([out, retval] long *p);
|
||||
|
||||
[propget, id(DISPID_IDOMMOUSEEVENT_WHICH)]
|
||||
HRESULT which([out, retval] USHORT *p);
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* IDOMKeyboardEvent interface
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue