#define global IID_IHTMLBGsound "{3050F369-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLBGsound IID_IHTMLBGsound "{3050F370-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLBGsound_put_src 7 wstr
#comfunc global IHTMLBGsound_get_src 8 var
#comfunc global IHTMLBGsound_put_loop 9 int
#comfunc global IHTMLBGsound_get_loop 10 var
#comfunc global IHTMLBGsound_put_volume 11 int
#comfunc global IHTMLBGsound_get_volume 12 var
#comfunc global IHTMLBGsound_put_balance 13 int
#comfunc global IHTMLBGsound_get_balance 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLBGsound "{3050F369-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLBGsound IID_IHTMLBGsound "{3050F370-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLBGsound_put_src 7 wstr
#comfunc global IHTMLBGsound_get_src 8 sptr
#comfunc global IHTMLBGsound_put_loop 9 int
#comfunc global IHTMLBGsound_get_loop 10 sptr
#comfunc global IHTMLBGsound_put_volume 11 int
#comfunc global IHTMLBGsound_get_volume 12 sptr
#comfunc global IHTMLBGsound_put_balance 13 int
#comfunc global IHTMLBGsound_get_balance 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。