#define global IID_IHTMLDocument3 "{3050F485-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLDocument3 IID_IHTMLDocument3 "{25336920-03F9-11CF-8FD0-00AA00686F13}"
#comfunc global IHTMLDocument3_releaseCapture 7
#comfunc global IHTMLDocument3_recalc 8 int
#comfunc global IHTMLDocument3_createTextNode 9 wstr,sptr
#comfunc global IHTMLDocument3_get_documentElement 10 sptr
#comfunc global IHTMLDocument3_get_uniqueID 11 var
#comfunc global IHTMLDocument3_attachEvent 12 wstr,sptr,var
#comfunc global IHTMLDocument3_detachEvent 13 wstr,sptr
#comfunc global IHTMLDocument3_put_onrowsdelete 14 int
#comfunc global IHTMLDocument3_get_onrowsdelete 15 var
#comfunc global IHTMLDocument3_put_onrowsinserted 16 int
#comfunc global IHTMLDocument3_get_onrowsinserted 17 var
#comfunc global IHTMLDocument3_put_oncellchange 18 int
#comfunc global IHTMLDocument3_get_oncellchange 19 var
#comfunc global IHTMLDocument3_put_ondatasetchanged 20 int
#comfunc global IHTMLDocument3_get_ondatasetchanged 21 var
#comfunc global IHTMLDocument3_put_ondataavailable 22 int
#comfunc global IHTMLDocument3_get_ondataavailable 23 var
#comfunc global IHTMLDocument3_put_ondatasetcomplete 24 int
#comfunc global IHTMLDocument3_get_ondatasetcomplete 25 var
#comfunc global IHTMLDocument3_put_onpropertychange 26 int
#comfunc global IHTMLDocument3_get_onpropertychange 27 var
#comfunc global IHTMLDocument3_put_dir 28 wstr
#comfunc global IHTMLDocument3_get_dir 29 var
#comfunc global IHTMLDocument3_put_oncontextmenu 30 int
#comfunc global IHTMLDocument3_get_oncontextmenu 31 var
#comfunc global IHTMLDocument3_put_onstop 32 int
#comfunc global IHTMLDocument3_get_onstop 33 var
#comfunc global IHTMLDocument3_createDocumentFragment 34 sptr
#comfunc global IHTMLDocument3_get_parentDocument 35 sptr
#comfunc global IHTMLDocument3_put_enableDownload 36 int
#comfunc global IHTMLDocument3_get_enableDownload 37 var
#comfunc global IHTMLDocument3_put_baseUrl 38 wstr
#comfunc global IHTMLDocument3_get_baseUrl 39 var
#comfunc global IHTMLDocument3_get_childNodes 40 sptr
#comfunc global IHTMLDocument3_put_inheritStyleSheets 41 int
#comfunc global IHTMLDocument3_get_inheritStyleSheets 42 var
#comfunc global IHTMLDocument3_put_onbeforeeditfocus 43 int
#comfunc global IHTMLDocument3_get_onbeforeeditfocus 44 var
#comfunc global IHTMLDocument3_getElementsByName 45 wstr,sptr
#comfunc global IHTMLDocument3_getElementById 46 wstr,sptr
#comfunc global IHTMLDocument3_getElementsByTagName 47 wstr,sptr
; ※数字は 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_IHTMLDocument3 "{3050F485-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLDocument3 IID_IHTMLDocument3 "{25336920-03F9-11CF-8FD0-00AA00686F13}"
#comfunc global IHTMLDocument3_releaseCapture 7
#comfunc global IHTMLDocument3_recalc 8 int
#comfunc global IHTMLDocument3_createTextNode 9 wstr,sptr
#comfunc global IHTMLDocument3_get_documentElement 10 sptr
#comfunc global IHTMLDocument3_get_uniqueID 11 sptr
#comfunc global IHTMLDocument3_attachEvent 12 wstr,sptr,sptr
#comfunc global IHTMLDocument3_detachEvent 13 wstr,sptr
#comfunc global IHTMLDocument3_put_onrowsdelete 14 int
#comfunc global IHTMLDocument3_get_onrowsdelete 15 sptr
#comfunc global IHTMLDocument3_put_onrowsinserted 16 int
#comfunc global IHTMLDocument3_get_onrowsinserted 17 sptr
#comfunc global IHTMLDocument3_put_oncellchange 18 int
#comfunc global IHTMLDocument3_get_oncellchange 19 sptr
#comfunc global IHTMLDocument3_put_ondatasetchanged 20 int
#comfunc global IHTMLDocument3_get_ondatasetchanged 21 sptr
#comfunc global IHTMLDocument3_put_ondataavailable 22 int
#comfunc global IHTMLDocument3_get_ondataavailable 23 sptr
#comfunc global IHTMLDocument3_put_ondatasetcomplete 24 int
#comfunc global IHTMLDocument3_get_ondatasetcomplete 25 sptr
#comfunc global IHTMLDocument3_put_onpropertychange 26 int
#comfunc global IHTMLDocument3_get_onpropertychange 27 sptr
#comfunc global IHTMLDocument3_put_dir 28 wstr
#comfunc global IHTMLDocument3_get_dir 29 sptr
#comfunc global IHTMLDocument3_put_oncontextmenu 30 int
#comfunc global IHTMLDocument3_get_oncontextmenu 31 sptr
#comfunc global IHTMLDocument3_put_onstop 32 int
#comfunc global IHTMLDocument3_get_onstop 33 sptr
#comfunc global IHTMLDocument3_createDocumentFragment 34 sptr
#comfunc global IHTMLDocument3_get_parentDocument 35 sptr
#comfunc global IHTMLDocument3_put_enableDownload 36 int
#comfunc global IHTMLDocument3_get_enableDownload 37 sptr
#comfunc global IHTMLDocument3_put_baseUrl 38 wstr
#comfunc global IHTMLDocument3_get_baseUrl 39 sptr
#comfunc global IHTMLDocument3_get_childNodes 40 sptr
#comfunc global IHTMLDocument3_put_inheritStyleSheets 41 int
#comfunc global IHTMLDocument3_get_inheritStyleSheets 42 sptr
#comfunc global IHTMLDocument3_put_onbeforeeditfocus 43 int
#comfunc global IHTMLDocument3_get_onbeforeeditfocus 44 sptr
#comfunc global IHTMLDocument3_getElementsByName 45 wstr,sptr
#comfunc global IHTMLDocument3_getElementById 46 wstr,sptr
#comfunc global IHTMLDocument3_getElementsByTagName 47 wstr,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 不要)。