#define global IID_IHTMLEventObj "{3050F32D-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLEventObj IID_IHTMLEventObj "{}"
#comfunc global IHTMLEventObj_get_srcElement 7 sptr
#comfunc global IHTMLEventObj_get_altKey 8 var
#comfunc global IHTMLEventObj_get_ctrlKey 9 var
#comfunc global IHTMLEventObj_get_shiftKey 10 var
#comfunc global IHTMLEventObj_put_returnValue 11 int
#comfunc global IHTMLEventObj_get_returnValue 12 var
#comfunc global IHTMLEventObj_put_cancelBubble 13 int
#comfunc global IHTMLEventObj_get_cancelBubble 14 var
#comfunc global IHTMLEventObj_get_fromElement 15 sptr
#comfunc global IHTMLEventObj_get_toElement 16 sptr
#comfunc global IHTMLEventObj_put_keyCode 17 int
#comfunc global IHTMLEventObj_get_keyCode 18 var
#comfunc global IHTMLEventObj_get_button 19 var
#comfunc global IHTMLEventObj_get_type 20 var
#comfunc global IHTMLEventObj_get_qualifier 21 var
#comfunc global IHTMLEventObj_get_reason 22 var
#comfunc global IHTMLEventObj_get_x 23 var
#comfunc global IHTMLEventObj_get_y 24 var
#comfunc global IHTMLEventObj_get_clientX 25 var
#comfunc global IHTMLEventObj_get_clientY 26 var
#comfunc global IHTMLEventObj_get_offsetX 27 var
#comfunc global IHTMLEventObj_get_offsetY 28 var
#comfunc global IHTMLEventObj_get_screenX 29 var
#comfunc global IHTMLEventObj_get_screenY 30 var
#comfunc global IHTMLEventObj_get_srcFilter 31 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLEventObj "{3050F32D-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLEventObj IID_IHTMLEventObj "{}"
#comfunc global IHTMLEventObj_get_srcElement 7 sptr
#comfunc global IHTMLEventObj_get_altKey 8 sptr
#comfunc global IHTMLEventObj_get_ctrlKey 9 sptr
#comfunc global IHTMLEventObj_get_shiftKey 10 sptr
#comfunc global IHTMLEventObj_put_returnValue 11 int
#comfunc global IHTMLEventObj_get_returnValue 12 sptr
#comfunc global IHTMLEventObj_put_cancelBubble 13 int
#comfunc global IHTMLEventObj_get_cancelBubble 14 sptr
#comfunc global IHTMLEventObj_get_fromElement 15 sptr
#comfunc global IHTMLEventObj_get_toElement 16 sptr
#comfunc global IHTMLEventObj_put_keyCode 17 int
#comfunc global IHTMLEventObj_get_keyCode 18 sptr
#comfunc global IHTMLEventObj_get_button 19 sptr
#comfunc global IHTMLEventObj_get_type 20 sptr
#comfunc global IHTMLEventObj_get_qualifier 21 sptr
#comfunc global IHTMLEventObj_get_reason 22 sptr
#comfunc global IHTMLEventObj_get_x 23 sptr
#comfunc global IHTMLEventObj_get_y 24 sptr
#comfunc global IHTMLEventObj_get_clientX 25 sptr
#comfunc global IHTMLEventObj_get_clientY 26 sptr
#comfunc global IHTMLEventObj_get_offsetX 27 sptr
#comfunc global IHTMLEventObj_get_offsetY 28 sptr
#comfunc global IHTMLEventObj_get_screenX 29 sptr
#comfunc global IHTMLEventObj_get_screenY 30 sptr
#comfunc global IHTMLEventObj_get_srcFilter 31 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。