Commit 323e49d9 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml.idl: Added IDOMKeyboardEvent declaration.

parent 7ff10d34
......@@ -3493,6 +3493,22 @@
#define DISPID_IDOMEVENT_CANCELBUBBLE DISPID_DOMEVENT+14
#define DISPID_IDOMEVENT_SRCELEMENT DISPID_DOMEVENT+15
/* IDOMKeyboardEvent */
#define DISPID_IDOMKEYBOARDEVENT_KEY DISPID_DOMKEYBOARDEVENT+1
#define DISPID_IDOMKEYBOARDEVENT_LOCATION DISPID_DOMKEYBOARDEVENT+2
#define DISPID_IDOMKEYBOARDEVENT_CTRLKEY DISPID_DOMKEYBOARDEVENT+3
#define DISPID_IDOMKEYBOARDEVENT_SHIFTKEY DISPID_DOMKEYBOARDEVENT+4
#define DISPID_IDOMKEYBOARDEVENT_ALTKEY DISPID_DOMKEYBOARDEVENT+5
#define DISPID_IDOMKEYBOARDEVENT_METAKEY DISPID_DOMKEYBOARDEVENT+6
#define DISPID_IDOMKEYBOARDEVENT_REPEAT DISPID_DOMKEYBOARDEVENT+7
#define DISPID_IDOMKEYBOARDEVENT_GETMODIFIERSTATE DISPID_DOMKEYBOARDEVENT+8
#define DISPID_IDOMKEYBOARDEVENT_INITKEYBOARDEVENT DISPID_DOMKEYBOARDEVENT+9
#define DISPID_IDOMKEYBOARDEVENT_KEYCODE DISPID_DOMKEYBOARDEVENT+10
#define DISPID_IDOMKEYBOARDEVENT_CHARCODE DISPID_DOMKEYBOARDEVENT+11
#define DISPID_IDOMKEYBOARDEVENT_WHICH DISPID_DOMKEYBOARDEVENT+12
#define DISPID_IDOMKEYBOARDEVENT_IE9_CHAR DISPID_DOMKEYBOARDEVENT+13
#define DISPID_IDOMKEYBOARDEVENT_LOCALE DISPID_DOMKEYBOARDEVENT+14
/* IDOMMessageEvent */
#define DISPID_IDOMMESSAGEEVENT_DATA DISPID_DOMMESSAGEEVENT+1
#define DISPID_IDOMMESSAGEEVENT_ORIGIN DISPID_DOMMESSAGEEVENT+2
......
......@@ -20102,6 +20102,74 @@ interface IDOMEvent : IDispatch
HRESULT srcElement([out, retval] IHTMLElement **p);
}
/*****************************************************************************
* IDOMKeyboardEvent interface
*/
[
odl,
oleautomation,
dual,
uuid(305106d6-98b5-11cf-bb82-00aa00bdce0b)
]
interface IDOMKeyboardEvent : IDispatch
{
[propget, id(DISPID_IDOMKEYBOARDEVENT_KEY)]
HRESULT key([retval, out] BSTR *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_LOCATION)]
HRESULT location([out, retval] ULONG *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_CTRLKEY)]
HRESULT ctrlKey([out, retval] VARIANT_BOOL *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_SHIFTKEY)]
HRESULT shiftKey([out, retval] VARIANT_BOOL *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_ALTKEY)]
HRESULT altKey([out, retval] VARIANT_BOOL *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_METAKEY)]
HRESULT metaKey([out, retval] VARIANT_BOOL *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_REPEAT)]
HRESULT repeat([out, retval] VARIANT_BOOL *p);
[id(DISPID_IDOMKEYBOARDEVENT_GETMODIFIERSTATE)]
HRESULT getModifierState(
[in] BSTR keyArg,
[out, retval] VARIANT_BOOL *state);
[id(DISPID_IDOMKEYBOARDEVENT_INITKEYBOARDEVENT)]
HRESULT initKeyboardEvent(
[in] BSTR eventType,
[in] VARIANT_BOOL canBubble,
[in] VARIANT_BOOL cancelable,
[in] IHTMLWindow2 *viewArg,
[in] BSTR keyArg,
[in] ULONG locationArg,
[in] BSTR modifiersListArg,
[in] VARIANT_BOOL repeat,
[in] BSTR locale);
[propget, id(DISPID_IDOMKEYBOARDEVENT_KEYCODE)]
HRESULT keyCode([out, retval] long *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_CHARCODE)]
HRESULT charCode([out, retval] long *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_WHICH)]
HRESULT which([out, retval] long *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_IE9_CHAR)]
HRESULT ie9_char([out, retval] VARIANT *p);
[propget, id(DISPID_IDOMKEYBOARDEVENT_LOCALE)]
HRESULT locale([out, retval] BSTR *p);
}
/*****************************************************************************
* IDOMMessageEvent interface
*/
[
odl,
oleautomation,
......
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