#define global IID_IHTMLDocument5 "{3050F80C-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLDocument5 IID_IHTMLDocument5 "{25336920-03F9-11CF-8FD0-00AA00686F13}"
#comfunc global IHTMLDocument5_put_onmousewheel 7 int
#comfunc global IHTMLDocument5_get_onmousewheel 8 var
#comfunc global IHTMLDocument5_get_doctype 9 sptr
#comfunc global IHTMLDocument5_get_implementation 10 sptr
#comfunc global IHTMLDocument5_createAttribute 11 wstr,sptr
#comfunc global IHTMLDocument5_createComment 12 wstr,sptr
#comfunc global IHTMLDocument5_put_onfocusin 13 int
#comfunc global IHTMLDocument5_get_onfocusin 14 var
#comfunc global IHTMLDocument5_put_onfocusout 15 int
#comfunc global IHTMLDocument5_get_onfocusout 16 var
#comfunc global IHTMLDocument5_put_onactivate 17 int
#comfunc global IHTMLDocument5_get_onactivate 18 var
#comfunc global IHTMLDocument5_put_ondeactivate 19 int
#comfunc global IHTMLDocument5_get_ondeactivate 20 var
#comfunc global IHTMLDocument5_put_onbeforeactivate 21 int
#comfunc global IHTMLDocument5_get_onbeforeactivate 22 var
#comfunc global IHTMLDocument5_put_onbeforedeactivate 23 int
#comfunc global IHTMLDocument5_get_onbeforedeactivate 24 var
#comfunc global IHTMLDocument5_get_compatMode 25 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLDocument5 "{3050F80C-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLDocument5 IID_IHTMLDocument5 "{25336920-03F9-11CF-8FD0-00AA00686F13}"
#comfunc global IHTMLDocument5_put_onmousewheel 7 int
#comfunc global IHTMLDocument5_get_onmousewheel 8 sptr
#comfunc global IHTMLDocument5_get_doctype 9 sptr
#comfunc global IHTMLDocument5_get_implementation 10 sptr
#comfunc global IHTMLDocument5_createAttribute 11 wstr,sptr
#comfunc global IHTMLDocument5_createComment 12 wstr,sptr
#comfunc global IHTMLDocument5_put_onfocusin 13 int
#comfunc global IHTMLDocument5_get_onfocusin 14 sptr
#comfunc global IHTMLDocument5_put_onfocusout 15 int
#comfunc global IHTMLDocument5_get_onfocusout 16 sptr
#comfunc global IHTMLDocument5_put_onactivate 17 int
#comfunc global IHTMLDocument5_get_onactivate 18 sptr
#comfunc global IHTMLDocument5_put_ondeactivate 19 int
#comfunc global IHTMLDocument5_get_ondeactivate 20 sptr
#comfunc global IHTMLDocument5_put_onbeforeactivate 21 int
#comfunc global IHTMLDocument5_get_onbeforeactivate 22 sptr
#comfunc global IHTMLDocument5_put_onbeforedeactivate 23 int
#comfunc global IHTMLDocument5_get_onbeforedeactivate 24 sptr
#comfunc global IHTMLDocument5_get_compatMode 25 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。