#define global IID_IAMVideoCompression "{C6E13343-30AC-11D0-A18C-00A0C9118956}"
#usecom global IAMVideoCompression IID_IAMVideoCompression "{}"
#comfunc global IAMVideoCompression_put_KeyFrameRate 3 int
#comfunc global IAMVideoCompression_get_KeyFrameRate 4 var
#comfunc global IAMVideoCompression_put_PFramesPerKeyFrame 5 int
#comfunc global IAMVideoCompression_get_PFramesPerKeyFrame 6 var
#comfunc global IAMVideoCompression_put_Quality 7 double
#comfunc global IAMVideoCompression_get_Quality 8 var
#comfunc global IAMVideoCompression_put_WindowSize 9 int64
#comfunc global IAMVideoCompression_get_WindowSize 10 var
#comfunc global IAMVideoCompression_GetInfo 11 var,var,var,var,var,var,var,var
#comfunc global IAMVideoCompression_OverrideKeyFrame 12 int
#comfunc global IAMVideoCompression_OverrideFrameSize 13 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IAMVideoCompression "{C6E13343-30AC-11D0-A18C-00A0C9118956}"
#usecom global IAMVideoCompression IID_IAMVideoCompression "{}"
#comfunc global IAMVideoCompression_put_KeyFrameRate 3 int
#comfunc global IAMVideoCompression_get_KeyFrameRate 4 sptr
#comfunc global IAMVideoCompression_put_PFramesPerKeyFrame 5 int
#comfunc global IAMVideoCompression_get_PFramesPerKeyFrame 6 sptr
#comfunc global IAMVideoCompression_put_Quality 7 double
#comfunc global IAMVideoCompression_get_Quality 8 sptr
#comfunc global IAMVideoCompression_put_WindowSize 9 int64
#comfunc global IAMVideoCompression_get_WindowSize 10 sptr
#comfunc global IAMVideoCompression_GetInfo 11 sptr,sptr,sptr,sptr,sptr,sptr,sptr,sptr
#comfunc global IAMVideoCompression_OverrideKeyFrame 12 int
#comfunc global IAMVideoCompression_OverrideFrameSize 13 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。