#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IUIAnimationInterpolator "{7815CBBA-DDF7-478C-A46C-7B6C738B7978}"
#usecom global IUIAnimationInterpolator IID_IUIAnimationInterpolator "{}"
#comfunc global IUIAnimationInterpolator_SetInitialValueAndVelocity 3 double,double
#comfunc global IUIAnimationInterpolator_SetDuration 4 double
#comfunc global IUIAnimationInterpolator_GetDuration 5 var
#comfunc global IUIAnimationInterpolator_GetFinalValue 6 var
#comfunc global IUIAnimationInterpolator_InterpolateValue 7 double,var
#comfunc global IUIAnimationInterpolator_InterpolateVelocity 8 double,var
#comfunc global IUIAnimationInterpolator_GetDependencies 9 var,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IUIAnimationInterpolator "{7815CBBA-DDF7-478C-A46C-7B6C738B7978}"
#usecom global IUIAnimationInterpolator IID_IUIAnimationInterpolator "{}"
#comfunc global IUIAnimationInterpolator_SetInitialValueAndVelocity 3 double,double
#comfunc global IUIAnimationInterpolator_SetDuration 4 double
#comfunc global IUIAnimationInterpolator_GetDuration 5 sptr
#comfunc global IUIAnimationInterpolator_GetFinalValue 6 sptr
#comfunc global IUIAnimationInterpolator_InterpolateValue 7 double,sptr
#comfunc global IUIAnimationInterpolator_InterpolateVelocity 8 double,sptr
#comfunc global IUIAnimationInterpolator_GetDependencies 9 sptr,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。