#define global IID_IHTMLScriptElement "{3050F28B-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLScriptElement IID_IHTMLScriptElement "{3050F28C-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLScriptElement_put_src 7 wstr
#comfunc global IHTMLScriptElement_get_src 8 var
#comfunc global IHTMLScriptElement_put_htmlFor 9 wstr
#comfunc global IHTMLScriptElement_get_htmlFor 10 var
#comfunc global IHTMLScriptElement_put_event 11 wstr
#comfunc global IHTMLScriptElement_get_event 12 var
#comfunc global IHTMLScriptElement_put_text 13 wstr
#comfunc global IHTMLScriptElement_get_text 14 var
#comfunc global IHTMLScriptElement_put_defer 15 int
#comfunc global IHTMLScriptElement_get_defer 16 var
#comfunc global IHTMLScriptElement_get_readyState 17 var
#comfunc global IHTMLScriptElement_put_onerror 18 int
#comfunc global IHTMLScriptElement_get_onerror 19 var
#comfunc global IHTMLScriptElement_put_type 20 wstr
#comfunc global IHTMLScriptElement_get_type 21 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLScriptElement "{3050F28B-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLScriptElement IID_IHTMLScriptElement "{3050F28C-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLScriptElement_put_src 7 wstr
#comfunc global IHTMLScriptElement_get_src 8 sptr
#comfunc global IHTMLScriptElement_put_htmlFor 9 wstr
#comfunc global IHTMLScriptElement_get_htmlFor 10 sptr
#comfunc global IHTMLScriptElement_put_event 11 wstr
#comfunc global IHTMLScriptElement_get_event 12 sptr
#comfunc global IHTMLScriptElement_put_text 13 wstr
#comfunc global IHTMLScriptElement_get_text 14 sptr
#comfunc global IHTMLScriptElement_put_defer 15 int
#comfunc global IHTMLScriptElement_get_defer 16 sptr
#comfunc global IHTMLScriptElement_get_readyState 17 sptr
#comfunc global IHTMLScriptElement_put_onerror 18 int
#comfunc global IHTMLScriptElement_get_onerror 19 sptr
#comfunc global IHTMLScriptElement_put_type 20 wstr
#comfunc global IHTMLScriptElement_get_type 21 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。