#define global IID_IHTMLElement2 "{3050F434-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLElement2 IID_IHTMLElement2 "{}"
#comfunc global IHTMLElement2_get_scopeName 7 var
#comfunc global IHTMLElement2_setCapture 8 int
#comfunc global IHTMLElement2_releaseCapture 9
#comfunc global IHTMLElement2_put_onlosecapture 10 int
#comfunc global IHTMLElement2_get_onlosecapture 11 var
#comfunc global IHTMLElement2_componentFromPoint 12 int,int,var
#comfunc global IHTMLElement2_doScroll 13 int
#comfunc global IHTMLElement2_put_onscroll 14 int
#comfunc global IHTMLElement2_get_onscroll 15 var
#comfunc global IHTMLElement2_put_ondrag 16 int
#comfunc global IHTMLElement2_get_ondrag 17 var
#comfunc global IHTMLElement2_put_ondragend 18 int
#comfunc global IHTMLElement2_get_ondragend 19 var
#comfunc global IHTMLElement2_put_ondragenter 20 int
#comfunc global IHTMLElement2_get_ondragenter 21 var
#comfunc global IHTMLElement2_put_ondragover 22 int
#comfunc global IHTMLElement2_get_ondragover 23 var
#comfunc global IHTMLElement2_put_ondragleave 24 int
#comfunc global IHTMLElement2_get_ondragleave 25 var
#comfunc global IHTMLElement2_put_ondrop 26 int
#comfunc global IHTMLElement2_get_ondrop 27 var
#comfunc global IHTMLElement2_put_onbeforecut 28 int
#comfunc global IHTMLElement2_get_onbeforecut 29 var
#comfunc global IHTMLElement2_put_oncut 30 int
#comfunc global IHTMLElement2_get_oncut 31 var
#comfunc global IHTMLElement2_put_onbeforecopy 32 int
#comfunc global IHTMLElement2_get_onbeforecopy 33 var
#comfunc global IHTMLElement2_put_oncopy 34 int
#comfunc global IHTMLElement2_get_oncopy 35 var
#comfunc global IHTMLElement2_put_onbeforepaste 36 int
#comfunc global IHTMLElement2_get_onbeforepaste 37 var
#comfunc global IHTMLElement2_put_onpaste 38 int
#comfunc global IHTMLElement2_get_onpaste 39 var
#comfunc global IHTMLElement2_get_currentStyle 40 sptr
#comfunc global IHTMLElement2_put_onpropertychange 41 int
#comfunc global IHTMLElement2_get_onpropertychange 42 var
#comfunc global IHTMLElement2_getClientRects 43 sptr
#comfunc global IHTMLElement2_getBoundingClientRect 44 sptr
#comfunc global IHTMLElement2_setExpression 45 wstr,wstr,wstr
#comfunc global IHTMLElement2_getExpression 46 wstr,var
#comfunc global IHTMLElement2_removeExpression 47 wstr,var
#comfunc global IHTMLElement2_put_tabIndex 48 int
#comfunc global IHTMLElement2_get_tabIndex 49 var
#comfunc global IHTMLElement2_focus 50
#comfunc global IHTMLElement2_put_accessKey 51 wstr
#comfunc global IHTMLElement2_get_accessKey 52 var
#comfunc global IHTMLElement2_put_onblur 53 int
#comfunc global IHTMLElement2_get_onblur 54 var
#comfunc global IHTMLElement2_put_onfocus 55 int
#comfunc global IHTMLElement2_get_onfocus 56 var
#comfunc global IHTMLElement2_put_onresize 57 int
#comfunc global IHTMLElement2_get_onresize 58 var
#comfunc global IHTMLElement2_blur 59
#comfunc global IHTMLElement2_addFilter 60 sptr
#comfunc global IHTMLElement2_removeFilter 61 sptr
#comfunc global IHTMLElement2_get_clientHeight 62 var
#comfunc global IHTMLElement2_get_clientWidth 63 var
#comfunc global IHTMLElement2_get_clientTop 64 var
#comfunc global IHTMLElement2_get_clientLeft 65 var
#comfunc global IHTMLElement2_attachEvent 66 wstr,sptr,var
#comfunc global IHTMLElement2_detachEvent 67 wstr,sptr
#comfunc global IHTMLElement2_get_readyState 68 var
#comfunc global IHTMLElement2_put_onreadystatechange 69 int
#comfunc global IHTMLElement2_get_onreadystatechange 70 var
#comfunc global IHTMLElement2_put_onrowsdelete 71 int
#comfunc global IHTMLElement2_get_onrowsdelete 72 var
#comfunc global IHTMLElement2_put_onrowsinserted 73 int
#comfunc global IHTMLElement2_get_onrowsinserted 74 var
#comfunc global IHTMLElement2_put_oncellchange 75 int
#comfunc global IHTMLElement2_get_oncellchange 76 var
#comfunc global IHTMLElement2_put_dir 77 wstr
#comfunc global IHTMLElement2_get_dir 78 var
#comfunc global IHTMLElement2_createControlRange 79 sptr
#comfunc global IHTMLElement2_get_scrollHeight 80 var
#comfunc global IHTMLElement2_get_scrollWidth 81 var
#comfunc global IHTMLElement2_put_scrollTop 82 int
#comfunc global IHTMLElement2_get_scrollTop 83 var
#comfunc global IHTMLElement2_put_scrollLeft 84 int
#comfunc global IHTMLElement2_get_scrollLeft 85 var
#comfunc global IHTMLElement2_clearAttributes 86
#comfunc global IHTMLElement2_mergeAttributes 87 sptr
#comfunc global IHTMLElement2_put_oncontextmenu 88 int
#comfunc global IHTMLElement2_get_oncontextmenu 89 var
#comfunc global IHTMLElement2_insertAdjacentElement 90 wstr,sptr,sptr
#comfunc global IHTMLElement2_applyElement 91 sptr,wstr,sptr
#comfunc global IHTMLElement2_getAdjacentText 92 wstr,var
#comfunc global IHTMLElement2_replaceAdjacentText 93 wstr,wstr,var
#comfunc global IHTMLElement2_get_canHaveChildren 94 var
#comfunc global IHTMLElement2_addBehavior 95 wstr,var,var
#comfunc global IHTMLElement2_removeBehavior 96 int,var
#comfunc global IHTMLElement2_get_runtimeStyle 97 sptr
#comfunc global IHTMLElement2_get_behaviorUrns 98 sptr
#comfunc global IHTMLElement2_put_tagUrn 99 wstr
#comfunc global IHTMLElement2_get_tagUrn 100 var
#comfunc global IHTMLElement2_put_onbeforeeditfocus 101 int
#comfunc global IHTMLElement2_get_onbeforeeditfocus 102 var
#comfunc global IHTMLElement2_get_readyStateValue 103 var
#comfunc global IHTMLElement2_getElementsByTagName 104 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLElement2 "{3050F434-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLElement2 IID_IHTMLElement2 "{}"
#comfunc global IHTMLElement2_get_scopeName 7 sptr
#comfunc global IHTMLElement2_setCapture 8 int
#comfunc global IHTMLElement2_releaseCapture 9
#comfunc global IHTMLElement2_put_onlosecapture 10 int
#comfunc global IHTMLElement2_get_onlosecapture 11 sptr
#comfunc global IHTMLElement2_componentFromPoint 12 int,int,sptr
#comfunc global IHTMLElement2_doScroll 13 int
#comfunc global IHTMLElement2_put_onscroll 14 int
#comfunc global IHTMLElement2_get_onscroll 15 sptr
#comfunc global IHTMLElement2_put_ondrag 16 int
#comfunc global IHTMLElement2_get_ondrag 17 sptr
#comfunc global IHTMLElement2_put_ondragend 18 int
#comfunc global IHTMLElement2_get_ondragend 19 sptr
#comfunc global IHTMLElement2_put_ondragenter 20 int
#comfunc global IHTMLElement2_get_ondragenter 21 sptr
#comfunc global IHTMLElement2_put_ondragover 22 int
#comfunc global IHTMLElement2_get_ondragover 23 sptr
#comfunc global IHTMLElement2_put_ondragleave 24 int
#comfunc global IHTMLElement2_get_ondragleave 25 sptr
#comfunc global IHTMLElement2_put_ondrop 26 int
#comfunc global IHTMLElement2_get_ondrop 27 sptr
#comfunc global IHTMLElement2_put_onbeforecut 28 int
#comfunc global IHTMLElement2_get_onbeforecut 29 sptr
#comfunc global IHTMLElement2_put_oncut 30 int
#comfunc global IHTMLElement2_get_oncut 31 sptr
#comfunc global IHTMLElement2_put_onbeforecopy 32 int
#comfunc global IHTMLElement2_get_onbeforecopy 33 sptr
#comfunc global IHTMLElement2_put_oncopy 34 int
#comfunc global IHTMLElement2_get_oncopy 35 sptr
#comfunc global IHTMLElement2_put_onbeforepaste 36 int
#comfunc global IHTMLElement2_get_onbeforepaste 37 sptr
#comfunc global IHTMLElement2_put_onpaste 38 int
#comfunc global IHTMLElement2_get_onpaste 39 sptr
#comfunc global IHTMLElement2_get_currentStyle 40 sptr
#comfunc global IHTMLElement2_put_onpropertychange 41 int
#comfunc global IHTMLElement2_get_onpropertychange 42 sptr
#comfunc global IHTMLElement2_getClientRects 43 sptr
#comfunc global IHTMLElement2_getBoundingClientRect 44 sptr
#comfunc global IHTMLElement2_setExpression 45 wstr,wstr,wstr
#comfunc global IHTMLElement2_getExpression 46 wstr,sptr
#comfunc global IHTMLElement2_removeExpression 47 wstr,sptr
#comfunc global IHTMLElement2_put_tabIndex 48 int
#comfunc global IHTMLElement2_get_tabIndex 49 sptr
#comfunc global IHTMLElement2_focus 50
#comfunc global IHTMLElement2_put_accessKey 51 wstr
#comfunc global IHTMLElement2_get_accessKey 52 sptr
#comfunc global IHTMLElement2_put_onblur 53 int
#comfunc global IHTMLElement2_get_onblur 54 sptr
#comfunc global IHTMLElement2_put_onfocus 55 int
#comfunc global IHTMLElement2_get_onfocus 56 sptr
#comfunc global IHTMLElement2_put_onresize 57 int
#comfunc global IHTMLElement2_get_onresize 58 sptr
#comfunc global IHTMLElement2_blur 59
#comfunc global IHTMLElement2_addFilter 60 sptr
#comfunc global IHTMLElement2_removeFilter 61 sptr
#comfunc global IHTMLElement2_get_clientHeight 62 sptr
#comfunc global IHTMLElement2_get_clientWidth 63 sptr
#comfunc global IHTMLElement2_get_clientTop 64 sptr
#comfunc global IHTMLElement2_get_clientLeft 65 sptr
#comfunc global IHTMLElement2_attachEvent 66 wstr,sptr,sptr
#comfunc global IHTMLElement2_detachEvent 67 wstr,sptr
#comfunc global IHTMLElement2_get_readyState 68 sptr
#comfunc global IHTMLElement2_put_onreadystatechange 69 int
#comfunc global IHTMLElement2_get_onreadystatechange 70 sptr
#comfunc global IHTMLElement2_put_onrowsdelete 71 int
#comfunc global IHTMLElement2_get_onrowsdelete 72 sptr
#comfunc global IHTMLElement2_put_onrowsinserted 73 int
#comfunc global IHTMLElement2_get_onrowsinserted 74 sptr
#comfunc global IHTMLElement2_put_oncellchange 75 int
#comfunc global IHTMLElement2_get_oncellchange 76 sptr
#comfunc global IHTMLElement2_put_dir 77 wstr
#comfunc global IHTMLElement2_get_dir 78 sptr
#comfunc global IHTMLElement2_createControlRange 79 sptr
#comfunc global IHTMLElement2_get_scrollHeight 80 sptr
#comfunc global IHTMLElement2_get_scrollWidth 81 sptr
#comfunc global IHTMLElement2_put_scrollTop 82 int
#comfunc global IHTMLElement2_get_scrollTop 83 sptr
#comfunc global IHTMLElement2_put_scrollLeft 84 int
#comfunc global IHTMLElement2_get_scrollLeft 85 sptr
#comfunc global IHTMLElement2_clearAttributes 86
#comfunc global IHTMLElement2_mergeAttributes 87 sptr
#comfunc global IHTMLElement2_put_oncontextmenu 88 int
#comfunc global IHTMLElement2_get_oncontextmenu 89 sptr
#comfunc global IHTMLElement2_insertAdjacentElement 90 wstr,sptr,sptr
#comfunc global IHTMLElement2_applyElement 91 sptr,wstr,sptr
#comfunc global IHTMLElement2_getAdjacentText 92 wstr,sptr
#comfunc global IHTMLElement2_replaceAdjacentText 93 wstr,wstr,sptr
#comfunc global IHTMLElement2_get_canHaveChildren 94 sptr
#comfunc global IHTMLElement2_addBehavior 95 wstr,sptr,sptr
#comfunc global IHTMLElement2_removeBehavior 96 int,sptr
#comfunc global IHTMLElement2_get_runtimeStyle 97 sptr
#comfunc global IHTMLElement2_get_behaviorUrns 98 sptr
#comfunc global IHTMLElement2_put_tagUrn 99 wstr
#comfunc global IHTMLElement2_get_tagUrn 100 sptr
#comfunc global IHTMLElement2_put_onbeforeeditfocus 101 int
#comfunc global IHTMLElement2_get_onbeforeeditfocus 102 sptr
#comfunc global IHTMLElement2_get_readyStateValue 103 sptr
#comfunc global IHTMLElement2_getElementsByTagName 104 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。