#define global IID_IMediaSeeking "{36B73880-C2C8-11CF-8B46-00805F6CEF60}"
#usecom global IMediaSeeking IID_IMediaSeeking "{}"
#comfunc global IMediaSeeking_GetCapabilities 3 var
#comfunc global IMediaSeeking_CheckCapabilities 4 var
#comfunc global IMediaSeeking_IsFormatSupported 5 var
#comfunc global IMediaSeeking_QueryPreferredFormat 6 var
#comfunc global IMediaSeeking_GetTimeFormat 7 var
#comfunc global IMediaSeeking_IsUsingTimeFormat 8 var
#comfunc global IMediaSeeking_SetTimeFormat 9 var
#comfunc global IMediaSeeking_GetDuration 10 var
#comfunc global IMediaSeeking_GetStopPosition 11 var
#comfunc global IMediaSeeking_GetCurrentPosition 12 var
#comfunc global IMediaSeeking_ConvertTimeFormat 13 var,var,int64,var
#comfunc global IMediaSeeking_SetPositions 14 var,int,var,int
#comfunc global IMediaSeeking_GetPositions 15 var,var
#comfunc global IMediaSeeking_GetAvailable 16 var,var
#comfunc global IMediaSeeking_SetRate 17 double
#comfunc global IMediaSeeking_GetRate 18 var
#comfunc global IMediaSeeking_GetPreroll 19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IMediaSeeking "{36B73880-C2C8-11CF-8B46-00805F6CEF60}"
#usecom global IMediaSeeking IID_IMediaSeeking "{}"
#comfunc global IMediaSeeking_GetCapabilities 3 sptr
#comfunc global IMediaSeeking_CheckCapabilities 4 sptr
#comfunc global IMediaSeeking_IsFormatSupported 5 sptr
#comfunc global IMediaSeeking_QueryPreferredFormat 6 sptr
#comfunc global IMediaSeeking_GetTimeFormat 7 sptr
#comfunc global IMediaSeeking_IsUsingTimeFormat 8 sptr
#comfunc global IMediaSeeking_SetTimeFormat 9 sptr
#comfunc global IMediaSeeking_GetDuration 10 sptr
#comfunc global IMediaSeeking_GetStopPosition 11 sptr
#comfunc global IMediaSeeking_GetCurrentPosition 12 sptr
#comfunc global IMediaSeeking_ConvertTimeFormat 13 sptr,sptr,int64,sptr
#comfunc global IMediaSeeking_SetPositions 14 sptr,int,sptr,int
#comfunc global IMediaSeeking_GetPositions 15 sptr,sptr
#comfunc global IMediaSeeking_GetAvailable 16 sptr,sptr
#comfunc global IMediaSeeking_SetRate 17 double
#comfunc global IMediaSeeking_GetRate 18 sptr
#comfunc global IMediaSeeking_GetPreroll 19 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。