#define global IID_IHTMLElement "{3050F1FF-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLElement IID_IHTMLElement "{}"
#comfunc global IHTMLElement_setAttribute 7 wstr,int,int
#comfunc global IHTMLElement_getAttribute 8 wstr,int,var
#comfunc global IHTMLElement_removeAttribute 9 wstr,int,var
#comfunc global IHTMLElement_put_className 10 wstr
#comfunc global IHTMLElement_get_className 11 var
#comfunc global IHTMLElement_put_id 12 wstr
#comfunc global IHTMLElement_get_id 13 var
#comfunc global IHTMLElement_get_tagName 14 var
#comfunc global IHTMLElement_get_parentElement 15 sptr
#comfunc global IHTMLElement_get_style 16 sptr
#comfunc global IHTMLElement_put_onhelp 17 int
#comfunc global IHTMLElement_get_onhelp 18 var
#comfunc global IHTMLElement_put_onclick 19 int
#comfunc global IHTMLElement_get_onclick 20 var
#comfunc global IHTMLElement_put_ondblclick 21 int
#comfunc global IHTMLElement_get_ondblclick 22 var
#comfunc global IHTMLElement_put_onkeydown 23 int
#comfunc global IHTMLElement_get_onkeydown 24 var
#comfunc global IHTMLElement_put_onkeyup 25 int
#comfunc global IHTMLElement_get_onkeyup 26 var
#comfunc global IHTMLElement_put_onkeypress 27 int
#comfunc global IHTMLElement_get_onkeypress 28 var
#comfunc global IHTMLElement_put_onmouseout 29 int
#comfunc global IHTMLElement_get_onmouseout 30 var
#comfunc global IHTMLElement_put_onmouseover 31 int
#comfunc global IHTMLElement_get_onmouseover 32 var
#comfunc global IHTMLElement_put_onmousemove 33 int
#comfunc global IHTMLElement_get_onmousemove 34 var
#comfunc global IHTMLElement_put_onmousedown 35 int
#comfunc global IHTMLElement_get_onmousedown 36 var
#comfunc global IHTMLElement_put_onmouseup 37 int
#comfunc global IHTMLElement_get_onmouseup 38 var
#comfunc global IHTMLElement_get_document 39 sptr
#comfunc global IHTMLElement_put_title 40 wstr
#comfunc global IHTMLElement_get_title 41 var
#comfunc global IHTMLElement_put_language 42 wstr
#comfunc global IHTMLElement_get_language 43 var
#comfunc global IHTMLElement_put_onselectstart 44 int
#comfunc global IHTMLElement_get_onselectstart 45 var
#comfunc global IHTMLElement_scrollIntoView 46 int
#comfunc global IHTMLElement_contains 47 sptr,var
#comfunc global IHTMLElement_get_sourceIndex 48 var
#comfunc global IHTMLElement_get_recordNumber 49 var
#comfunc global IHTMLElement_put_lang 50 wstr
#comfunc global IHTMLElement_get_lang 51 var
#comfunc global IHTMLElement_get_offsetLeft 52 var
#comfunc global IHTMLElement_get_offsetTop 53 var
#comfunc global IHTMLElement_get_offsetWidth 54 var
#comfunc global IHTMLElement_get_offsetHeight 55 var
#comfunc global IHTMLElement_get_offsetParent 56 sptr
#comfunc global IHTMLElement_put_innerHTML 57 wstr
#comfunc global IHTMLElement_get_innerHTML 58 var
#comfunc global IHTMLElement_put_innerText 59 wstr
#comfunc global IHTMLElement_get_innerText 60 var
#comfunc global IHTMLElement_put_outerHTML 61 wstr
#comfunc global IHTMLElement_get_outerHTML 62 var
#comfunc global IHTMLElement_put_outerText 63 wstr
#comfunc global IHTMLElement_get_outerText 64 var
#comfunc global IHTMLElement_insertAdjacentHTML 65 wstr,wstr
#comfunc global IHTMLElement_insertAdjacentText 66 wstr,wstr
#comfunc global IHTMLElement_get_parentTextEdit 67 sptr
#comfunc global IHTMLElement_get_isTextEdit 68 var
#comfunc global IHTMLElement_click 69
#comfunc global IHTMLElement_get_filters 70 sptr
#comfunc global IHTMLElement_put_ondragstart 71 int
#comfunc global IHTMLElement_get_ondragstart 72 var
#comfunc global IHTMLElement_toString 73 var
#comfunc global IHTMLElement_put_onbeforeupdate 74 int
#comfunc global IHTMLElement_get_onbeforeupdate 75 var
#comfunc global IHTMLElement_put_onafterupdate 76 int
#comfunc global IHTMLElement_get_onafterupdate 77 var
#comfunc global IHTMLElement_put_onerrorupdate 78 int
#comfunc global IHTMLElement_get_onerrorupdate 79 var
#comfunc global IHTMLElement_put_onrowexit 80 int
#comfunc global IHTMLElement_get_onrowexit 81 var
#comfunc global IHTMLElement_put_onrowenter 82 int
#comfunc global IHTMLElement_get_onrowenter 83 var
#comfunc global IHTMLElement_put_ondatasetchanged 84 int
#comfunc global IHTMLElement_get_ondatasetchanged 85 var
#comfunc global IHTMLElement_put_ondataavailable 86 int
#comfunc global IHTMLElement_get_ondataavailable 87 var
#comfunc global IHTMLElement_put_ondatasetcomplete 88 int
#comfunc global IHTMLElement_get_ondatasetcomplete 89 var
#comfunc global IHTMLElement_put_onfilterchange 90 int
#comfunc global IHTMLElement_get_onfilterchange 91 var
#comfunc global IHTMLElement_get_children 92 sptr
#comfunc global IHTMLElement_get_all 93 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLElement "{3050F1FF-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLElement IID_IHTMLElement "{}"
#comfunc global IHTMLElement_setAttribute 7 wstr,int,int
#comfunc global IHTMLElement_getAttribute 8 wstr,int,sptr
#comfunc global IHTMLElement_removeAttribute 9 wstr,int,sptr
#comfunc global IHTMLElement_put_className 10 wstr
#comfunc global IHTMLElement_get_className 11 sptr
#comfunc global IHTMLElement_put_id 12 wstr
#comfunc global IHTMLElement_get_id 13 sptr
#comfunc global IHTMLElement_get_tagName 14 sptr
#comfunc global IHTMLElement_get_parentElement 15 sptr
#comfunc global IHTMLElement_get_style 16 sptr
#comfunc global IHTMLElement_put_onhelp 17 int
#comfunc global IHTMLElement_get_onhelp 18 sptr
#comfunc global IHTMLElement_put_onclick 19 int
#comfunc global IHTMLElement_get_onclick 20 sptr
#comfunc global IHTMLElement_put_ondblclick 21 int
#comfunc global IHTMLElement_get_ondblclick 22 sptr
#comfunc global IHTMLElement_put_onkeydown 23 int
#comfunc global IHTMLElement_get_onkeydown 24 sptr
#comfunc global IHTMLElement_put_onkeyup 25 int
#comfunc global IHTMLElement_get_onkeyup 26 sptr
#comfunc global IHTMLElement_put_onkeypress 27 int
#comfunc global IHTMLElement_get_onkeypress 28 sptr
#comfunc global IHTMLElement_put_onmouseout 29 int
#comfunc global IHTMLElement_get_onmouseout 30 sptr
#comfunc global IHTMLElement_put_onmouseover 31 int
#comfunc global IHTMLElement_get_onmouseover 32 sptr
#comfunc global IHTMLElement_put_onmousemove 33 int
#comfunc global IHTMLElement_get_onmousemove 34 sptr
#comfunc global IHTMLElement_put_onmousedown 35 int
#comfunc global IHTMLElement_get_onmousedown 36 sptr
#comfunc global IHTMLElement_put_onmouseup 37 int
#comfunc global IHTMLElement_get_onmouseup 38 sptr
#comfunc global IHTMLElement_get_document 39 sptr
#comfunc global IHTMLElement_put_title 40 wstr
#comfunc global IHTMLElement_get_title 41 sptr
#comfunc global IHTMLElement_put_language 42 wstr
#comfunc global IHTMLElement_get_language 43 sptr
#comfunc global IHTMLElement_put_onselectstart 44 int
#comfunc global IHTMLElement_get_onselectstart 45 sptr
#comfunc global IHTMLElement_scrollIntoView 46 int
#comfunc global IHTMLElement_contains 47 sptr,sptr
#comfunc global IHTMLElement_get_sourceIndex 48 sptr
#comfunc global IHTMLElement_get_recordNumber 49 sptr
#comfunc global IHTMLElement_put_lang 50 wstr
#comfunc global IHTMLElement_get_lang 51 sptr
#comfunc global IHTMLElement_get_offsetLeft 52 sptr
#comfunc global IHTMLElement_get_offsetTop 53 sptr
#comfunc global IHTMLElement_get_offsetWidth 54 sptr
#comfunc global IHTMLElement_get_offsetHeight 55 sptr
#comfunc global IHTMLElement_get_offsetParent 56 sptr
#comfunc global IHTMLElement_put_innerHTML 57 wstr
#comfunc global IHTMLElement_get_innerHTML 58 sptr
#comfunc global IHTMLElement_put_innerText 59 wstr
#comfunc global IHTMLElement_get_innerText 60 sptr
#comfunc global IHTMLElement_put_outerHTML 61 wstr
#comfunc global IHTMLElement_get_outerHTML 62 sptr
#comfunc global IHTMLElement_put_outerText 63 wstr
#comfunc global IHTMLElement_get_outerText 64 sptr
#comfunc global IHTMLElement_insertAdjacentHTML 65 wstr,wstr
#comfunc global IHTMLElement_insertAdjacentText 66 wstr,wstr
#comfunc global IHTMLElement_get_parentTextEdit 67 sptr
#comfunc global IHTMLElement_get_isTextEdit 68 sptr
#comfunc global IHTMLElement_click 69
#comfunc global IHTMLElement_get_filters 70 sptr
#comfunc global IHTMLElement_put_ondragstart 71 int
#comfunc global IHTMLElement_get_ondragstart 72 sptr
#comfunc global IHTMLElement_toString 73 sptr
#comfunc global IHTMLElement_put_onbeforeupdate 74 int
#comfunc global IHTMLElement_get_onbeforeupdate 75 sptr
#comfunc global IHTMLElement_put_onafterupdate 76 int
#comfunc global IHTMLElement_get_onafterupdate 77 sptr
#comfunc global IHTMLElement_put_onerrorupdate 78 int
#comfunc global IHTMLElement_get_onerrorupdate 79 sptr
#comfunc global IHTMLElement_put_onrowexit 80 int
#comfunc global IHTMLElement_get_onrowexit 81 sptr
#comfunc global IHTMLElement_put_onrowenter 82 int
#comfunc global IHTMLElement_get_onrowenter 83 sptr
#comfunc global IHTMLElement_put_ondatasetchanged 84 int
#comfunc global IHTMLElement_get_ondatasetchanged 85 sptr
#comfunc global IHTMLElement_put_ondataavailable 86 int
#comfunc global IHTMLElement_get_ondataavailable 87 sptr
#comfunc global IHTMLElement_put_ondatasetcomplete 88 int
#comfunc global IHTMLElement_get_ondatasetcomplete 89 sptr
#comfunc global IHTMLElement_put_onfilterchange 90 int
#comfunc global IHTMLElement_get_onfilterchange 91 sptr
#comfunc global IHTMLElement_get_children 92 sptr
#comfunc global IHTMLElement_get_all 93 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。