#define global IID_IHTMLLocation "{163BB1E0-6E00-11CF-837A-48DC04C10000}"
#usecom global IHTMLLocation IID_IHTMLLocation "{}"
#comfunc global IHTMLLocation_put_href 7 wstr
#comfunc global IHTMLLocation_get_href 8 var
#comfunc global IHTMLLocation_put_protocol 9 wstr
#comfunc global IHTMLLocation_get_protocol 10 var
#comfunc global IHTMLLocation_put_host 11 wstr
#comfunc global IHTMLLocation_get_host 12 var
#comfunc global IHTMLLocation_put_hostname 13 wstr
#comfunc global IHTMLLocation_get_hostname 14 var
#comfunc global IHTMLLocation_put_port 15 wstr
#comfunc global IHTMLLocation_get_port 16 var
#comfunc global IHTMLLocation_put_pathname 17 wstr
#comfunc global IHTMLLocation_get_pathname 18 var
#comfunc global IHTMLLocation_put_search 19 wstr
#comfunc global IHTMLLocation_get_search 20 var
#comfunc global IHTMLLocation_put_hash 21 wstr
#comfunc global IHTMLLocation_get_hash 22 var
#comfunc global IHTMLLocation_reload 23 int
#comfunc global IHTMLLocation_replace 24 wstr
#comfunc global IHTMLLocation_assign 25 wstr
#comfunc global IHTMLLocation_toString 26 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLLocation "{163BB1E0-6E00-11CF-837A-48DC04C10000}"
#usecom global IHTMLLocation IID_IHTMLLocation "{}"
#comfunc global IHTMLLocation_put_href 7 wstr
#comfunc global IHTMLLocation_get_href 8 sptr
#comfunc global IHTMLLocation_put_protocol 9 wstr
#comfunc global IHTMLLocation_get_protocol 10 sptr
#comfunc global IHTMLLocation_put_host 11 wstr
#comfunc global IHTMLLocation_get_host 12 sptr
#comfunc global IHTMLLocation_put_hostname 13 wstr
#comfunc global IHTMLLocation_get_hostname 14 sptr
#comfunc global IHTMLLocation_put_port 15 wstr
#comfunc global IHTMLLocation_get_port 16 sptr
#comfunc global IHTMLLocation_put_pathname 17 wstr
#comfunc global IHTMLLocation_get_pathname 18 sptr
#comfunc global IHTMLLocation_put_search 19 wstr
#comfunc global IHTMLLocation_get_search 20 sptr
#comfunc global IHTMLLocation_put_hash 21 wstr
#comfunc global IHTMLLocation_get_hash 22 sptr
#comfunc global IHTMLLocation_reload 23 int
#comfunc global IHTMLLocation_replace 24 wstr
#comfunc global IHTMLLocation_assign 25 wstr
#comfunc global IHTMLLocation_toString 26 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。