#define global IID_IBasicVideo "{56A868B5-0AD4-11CE-B03A-0020AF0BA770}"
#usecom global IBasicVideo IID_IBasicVideo "{}"
#comfunc global IBasicVideo_get_AvgTimePerFrame 7 var
#comfunc global IBasicVideo_get_BitRate 8 var
#comfunc global IBasicVideo_get_BitErrorRate 9 var
#comfunc global IBasicVideo_get_VideoWidth 10 var
#comfunc global IBasicVideo_get_VideoHeight 11 var
#comfunc global IBasicVideo_put_SourceLeft 12 int
#comfunc global IBasicVideo_get_SourceLeft 13 var
#comfunc global IBasicVideo_put_SourceWidth 14 int
#comfunc global IBasicVideo_get_SourceWidth 15 var
#comfunc global IBasicVideo_put_SourceTop 16 int
#comfunc global IBasicVideo_get_SourceTop 17 var
#comfunc global IBasicVideo_put_SourceHeight 18 int
#comfunc global IBasicVideo_get_SourceHeight 19 var
#comfunc global IBasicVideo_put_DestinationLeft 20 int
#comfunc global IBasicVideo_get_DestinationLeft 21 var
#comfunc global IBasicVideo_put_DestinationWidth 22 int
#comfunc global IBasicVideo_get_DestinationWidth 23 var
#comfunc global IBasicVideo_put_DestinationTop 24 int
#comfunc global IBasicVideo_get_DestinationTop 25 var
#comfunc global IBasicVideo_put_DestinationHeight 26 int
#comfunc global IBasicVideo_get_DestinationHeight 27 var
#comfunc global IBasicVideo_SetSourcePosition 28 int,int,int,int
#comfunc global IBasicVideo_GetSourcePosition 29 var,var,var,var
#comfunc global IBasicVideo_SetDefaultSourcePosition 30
#comfunc global IBasicVideo_SetDestinationPosition 31 int,int,int,int
#comfunc global IBasicVideo_GetDestinationPosition 32 var,var,var,var
#comfunc global IBasicVideo_SetDefaultDestinationPosition 33
#comfunc global IBasicVideo_GetVideoSize 34 var,var
#comfunc global IBasicVideo_GetVideoPaletteEntries 35 int,int,var,var
#comfunc global IBasicVideo_GetCurrentImage 36 var,var
#comfunc global IBasicVideo_IsUsingDefaultSource 37
#comfunc global IBasicVideo_IsUsingDefaultDestination 38
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IBasicVideo "{56A868B5-0AD4-11CE-B03A-0020AF0BA770}"
#usecom global IBasicVideo IID_IBasicVideo "{}"
#comfunc global IBasicVideo_get_AvgTimePerFrame 7 sptr
#comfunc global IBasicVideo_get_BitRate 8 sptr
#comfunc global IBasicVideo_get_BitErrorRate 9 sptr
#comfunc global IBasicVideo_get_VideoWidth 10 sptr
#comfunc global IBasicVideo_get_VideoHeight 11 sptr
#comfunc global IBasicVideo_put_SourceLeft 12 int
#comfunc global IBasicVideo_get_SourceLeft 13 sptr
#comfunc global IBasicVideo_put_SourceWidth 14 int
#comfunc global IBasicVideo_get_SourceWidth 15 sptr
#comfunc global IBasicVideo_put_SourceTop 16 int
#comfunc global IBasicVideo_get_SourceTop 17 sptr
#comfunc global IBasicVideo_put_SourceHeight 18 int
#comfunc global IBasicVideo_get_SourceHeight 19 sptr
#comfunc global IBasicVideo_put_DestinationLeft 20 int
#comfunc global IBasicVideo_get_DestinationLeft 21 sptr
#comfunc global IBasicVideo_put_DestinationWidth 22 int
#comfunc global IBasicVideo_get_DestinationWidth 23 sptr
#comfunc global IBasicVideo_put_DestinationTop 24 int
#comfunc global IBasicVideo_get_DestinationTop 25 sptr
#comfunc global IBasicVideo_put_DestinationHeight 26 int
#comfunc global IBasicVideo_get_DestinationHeight 27 sptr
#comfunc global IBasicVideo_SetSourcePosition 28 int,int,int,int
#comfunc global IBasicVideo_GetSourcePosition 29 sptr,sptr,sptr,sptr
#comfunc global IBasicVideo_SetDefaultSourcePosition 30
#comfunc global IBasicVideo_SetDestinationPosition 31 int,int,int,int
#comfunc global IBasicVideo_GetDestinationPosition 32 sptr,sptr,sptr,sptr
#comfunc global IBasicVideo_SetDefaultDestinationPosition 33
#comfunc global IBasicVideo_GetVideoSize 34 sptr,sptr
#comfunc global IBasicVideo_GetVideoPaletteEntries 35 int,int,sptr,sptr
#comfunc global IBasicVideo_GetCurrentImage 36 sptr,sptr
#comfunc global IBasicVideo_IsUsingDefaultSource 37
#comfunc global IBasicVideo_IsUsingDefaultDestination 38
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。