#define global IID_IHTMLVideoElement "{30510709-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLVideoElement IID_IHTMLVideoElement "{3051070F-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLVideoElement_put_width 7 int
#comfunc global IHTMLVideoElement_get_width 8 var
#comfunc global IHTMLVideoElement_put_height 9 int
#comfunc global IHTMLVideoElement_get_height 10 var
#comfunc global IHTMLVideoElement_get_videoWidth 11 var
#comfunc global IHTMLVideoElement_get_videoHeight 12 var
#comfunc global IHTMLVideoElement_put_poster 13 wstr
#comfunc global IHTMLVideoElement_get_poster 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_IHTMLVideoElement "{30510709-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLVideoElement IID_IHTMLVideoElement "{3051070F-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLVideoElement_put_width 7 int
#comfunc global IHTMLVideoElement_get_width 8 sptr
#comfunc global IHTMLVideoElement_put_height 9 int
#comfunc global IHTMLVideoElement_get_height 10 sptr
#comfunc global IHTMLVideoElement_get_videoWidth 11 sptr
#comfunc global IHTMLVideoElement_get_videoHeight 12 sptr
#comfunc global IHTMLVideoElement_put_poster 13 wstr
#comfunc global IHTMLVideoElement_get_poster 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。