#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IVMRDeinterlaceControl9 "{A215FB8D-13C2-4F7F-993C-003D6271A459}"
#usecom global IVMRDeinterlaceControl9 IID_IVMRDeinterlaceControl9 "{}"
#comfunc global IVMRDeinterlaceControl9_GetNumberOfDeinterlaceModes 3 var,var,var
#comfunc global IVMRDeinterlaceControl9_GetDeinterlaceModeCaps 4 var,var,var
#comfunc global IVMRDeinterlaceControl9_GetDeinterlaceMode 5 int,var
#comfunc global IVMRDeinterlaceControl9_SetDeinterlaceMode 6 int,var
#comfunc global IVMRDeinterlaceControl9_GetDeinterlacePrefs 7 var
#comfunc global IVMRDeinterlaceControl9_SetDeinterlacePrefs 8 int
#comfunc global IVMRDeinterlaceControl9_GetActualDeinterlaceMode 9 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IVMRDeinterlaceControl9 "{A215FB8D-13C2-4F7F-993C-003D6271A459}"
#usecom global IVMRDeinterlaceControl9 IID_IVMRDeinterlaceControl9 "{}"
#comfunc global IVMRDeinterlaceControl9_GetNumberOfDeinterlaceModes 3 sptr,sptr,sptr
#comfunc global IVMRDeinterlaceControl9_GetDeinterlaceModeCaps 4 sptr,sptr,sptr
#comfunc global IVMRDeinterlaceControl9_GetDeinterlaceMode 5 int,sptr
#comfunc global IVMRDeinterlaceControl9_SetDeinterlaceMode 6 int,sptr
#comfunc global IVMRDeinterlaceControl9_GetDeinterlacePrefs 7 sptr
#comfunc global IVMRDeinterlaceControl9_SetDeinterlacePrefs 8 int
#comfunc global IVMRDeinterlaceControl9_GetActualDeinterlaceMode 9 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。