#define global IID_IDOMKeyboardEvent "{305106D6-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IDOMKeyboardEvent IID_IDOMKeyboardEvent "{}"
#comfunc global IDOMKeyboardEvent_get_key 7 var
#comfunc global IDOMKeyboardEvent_get_location 8 var
#comfunc global IDOMKeyboardEvent_get_ctrlKey 9 var
#comfunc global IDOMKeyboardEvent_get_shiftKey 10 var
#comfunc global IDOMKeyboardEvent_get_altKey 11 var
#comfunc global IDOMKeyboardEvent_get_metaKey 12 var
#comfunc global IDOMKeyboardEvent_get_repeat 13 var
#comfunc global IDOMKeyboardEvent_getModifierState 14 wstr,var
#comfunc global IDOMKeyboardEvent_initKeyboardEvent 15 wstr,int,int,sptr,wstr,int,wstr,int,wstr
#comfunc global IDOMKeyboardEvent_get_keyCode 16 var
#comfunc global IDOMKeyboardEvent_get_charCode 17 var
#comfunc global IDOMKeyboardEvent_get_which 18 var
#comfunc global IDOMKeyboardEvent_get_ie9_char 19 var
#comfunc global IDOMKeyboardEvent_get_locale 20 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IDOMKeyboardEvent "{305106D6-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IDOMKeyboardEvent IID_IDOMKeyboardEvent "{}"
#comfunc global IDOMKeyboardEvent_get_key 7 sptr
#comfunc global IDOMKeyboardEvent_get_location 8 sptr
#comfunc global IDOMKeyboardEvent_get_ctrlKey 9 sptr
#comfunc global IDOMKeyboardEvent_get_shiftKey 10 sptr
#comfunc global IDOMKeyboardEvent_get_altKey 11 sptr
#comfunc global IDOMKeyboardEvent_get_metaKey 12 sptr
#comfunc global IDOMKeyboardEvent_get_repeat 13 sptr
#comfunc global IDOMKeyboardEvent_getModifierState 14 wstr,sptr
#comfunc global IDOMKeyboardEvent_initKeyboardEvent 15 wstr,int,int,sptr,wstr,int,wstr,int,wstr
#comfunc global IDOMKeyboardEvent_get_keyCode 16 sptr
#comfunc global IDOMKeyboardEvent_get_charCode 17 sptr
#comfunc global IDOMKeyboardEvent_get_which 18 sptr
#comfunc global IDOMKeyboardEvent_get_ie9_char 19 sptr
#comfunc global IDOMKeyboardEvent_get_locale 20 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。