#define global IID_IHTMLRect "{3050F4A3-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLRect IID_IHTMLRect "{}"
#comfunc global IHTMLRect_put_left 7 int
#comfunc global IHTMLRect_get_left 8 var
#comfunc global IHTMLRect_put_top 9 int
#comfunc global IHTMLRect_get_top 10 var
#comfunc global IHTMLRect_put_right 11 int
#comfunc global IHTMLRect_get_right 12 var
#comfunc global IHTMLRect_put_bottom 13 int
#comfunc global IHTMLRect_get_bottom 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLRect "{3050F4A3-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLRect IID_IHTMLRect "{}"
#comfunc global IHTMLRect_put_left 7 int
#comfunc global IHTMLRect_get_left 8 sptr
#comfunc global IHTMLRect_put_top 9 int
#comfunc global IHTMLRect_get_top 10 sptr
#comfunc global IHTMLRect_put_right 11 int
#comfunc global IHTMLRect_get_right 12 sptr
#comfunc global IHTMLRect_put_bottom 13 int
#comfunc global IHTMLRect_get_bottom 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。