mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 08:33:37 +00:00
mshtml.idl: Added IDOMKeyboardEvent declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7ff10d348f
commit
323e49d922
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue