#define global IID_IHTMLMediaElement "{30510706-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLMediaElement IID_IHTMLMediaElement "{3051070C-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLMediaElement_get_error 7 sptr
#comfunc global IHTMLMediaElement_put_src 8 wstr
#comfunc global IHTMLMediaElement_get_src 9 var
#comfunc global IHTMLMediaElement_get_currentSrc 10 var
#comfunc global IHTMLMediaElement_get_networkState 11 var
#comfunc global IHTMLMediaElement_put_preload 12 wstr
#comfunc global IHTMLMediaElement_get_preload 13 var
#comfunc global IHTMLMediaElement_get_buffered 14 sptr
#comfunc global IHTMLMediaElement_load 15
#comfunc global IHTMLMediaElement_canPlayType 16 wstr,var
#comfunc global IHTMLMediaElement_get_seeking 17 var
#comfunc global IHTMLMediaElement_put_currentTime 18 float
#comfunc global IHTMLMediaElement_get_currentTime 19 var
#comfunc global IHTMLMediaElement_get_initialTime 20 var
#comfunc global IHTMLMediaElement_get_duration 21 var
#comfunc global IHTMLMediaElement_get_paused 22 var
#comfunc global IHTMLMediaElement_put_defaultPlaybackRate 23 float
#comfunc global IHTMLMediaElement_get_defaultPlaybackRate 24 var
#comfunc global IHTMLMediaElement_put_playbackRate 25 float
#comfunc global IHTMLMediaElement_get_playbackRate 26 var
#comfunc global IHTMLMediaElement_get_played 27 sptr
#comfunc global IHTMLMediaElement_get_seekable 28 sptr
#comfunc global IHTMLMediaElement_get_ended 29 var
#comfunc global IHTMLMediaElement_put_autoplay 30 int
#comfunc global IHTMLMediaElement_get_autoplay 31 var
#comfunc global IHTMLMediaElement_put_loop 32 int
#comfunc global IHTMLMediaElement_get_loop 33 var
#comfunc global IHTMLMediaElement_play 34
#comfunc global IHTMLMediaElement_pause 35
#comfunc global IHTMLMediaElement_put_controls 36 int
#comfunc global IHTMLMediaElement_get_controls 37 var
#comfunc global IHTMLMediaElement_put_volume 38 float
#comfunc global IHTMLMediaElement_get_volume 39 var
#comfunc global IHTMLMediaElement_put_muted 40 int
#comfunc global IHTMLMediaElement_get_muted 41 var
#comfunc global IHTMLMediaElement_put_autobuffer 42 int
#comfunc global IHTMLMediaElement_get_autobuffer 43 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IHTMLMediaElement "{30510706-98B5-11CF-BB82-00AA00BDCE0B}"
#usecom global IHTMLMediaElement IID_IHTMLMediaElement "{3051070C-98B5-11CF-BB82-00AA00BDCE0B}"
#comfunc global IHTMLMediaElement_get_error 7 sptr
#comfunc global IHTMLMediaElement_put_src 8 wstr
#comfunc global IHTMLMediaElement_get_src 9 sptr
#comfunc global IHTMLMediaElement_get_currentSrc 10 sptr
#comfunc global IHTMLMediaElement_get_networkState 11 sptr
#comfunc global IHTMLMediaElement_put_preload 12 wstr
#comfunc global IHTMLMediaElement_get_preload 13 sptr
#comfunc global IHTMLMediaElement_get_buffered 14 sptr
#comfunc global IHTMLMediaElement_load 15
#comfunc global IHTMLMediaElement_canPlayType 16 wstr,sptr
#comfunc global IHTMLMediaElement_get_seeking 17 sptr
#comfunc global IHTMLMediaElement_put_currentTime 18 float
#comfunc global IHTMLMediaElement_get_currentTime 19 sptr
#comfunc global IHTMLMediaElement_get_initialTime 20 sptr
#comfunc global IHTMLMediaElement_get_duration 21 sptr
#comfunc global IHTMLMediaElement_get_paused 22 sptr
#comfunc global IHTMLMediaElement_put_defaultPlaybackRate 23 float
#comfunc global IHTMLMediaElement_get_defaultPlaybackRate 24 sptr
#comfunc global IHTMLMediaElement_put_playbackRate 25 float
#comfunc global IHTMLMediaElement_get_playbackRate 26 sptr
#comfunc global IHTMLMediaElement_get_played 27 sptr
#comfunc global IHTMLMediaElement_get_seekable 28 sptr
#comfunc global IHTMLMediaElement_get_ended 29 sptr
#comfunc global IHTMLMediaElement_put_autoplay 30 int
#comfunc global IHTMLMediaElement_get_autoplay 31 sptr
#comfunc global IHTMLMediaElement_put_loop 32 int
#comfunc global IHTMLMediaElement_get_loop 33 sptr
#comfunc global IHTMLMediaElement_play 34
#comfunc global IHTMLMediaElement_pause 35
#comfunc global IHTMLMediaElement_put_controls 36 int
#comfunc global IHTMLMediaElement_get_controls 37 sptr
#comfunc global IHTMLMediaElement_put_volume 38 float
#comfunc global IHTMLMediaElement_get_volume 39 sptr
#comfunc global IHTMLMediaElement_put_muted 40 int
#comfunc global IHTMLMediaElement_get_muted 41 sptr
#comfunc global IHTMLMediaElement_put_autobuffer 42 int
#comfunc global IHTMLMediaElement_get_autobuffer 43 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。