#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IUIAnimationInterpolator2 "{EA76AFF8-EA22-4A23-A0EF-A6A966703518}"
#usecom global IUIAnimationInterpolator2 IID_IUIAnimationInterpolator2 "{}"
#comfunc global IUIAnimationInterpolator2_GetDimension 3 var
#comfunc global IUIAnimationInterpolator2_SetInitialValueAndVelocity 4 var,var,int
#comfunc global IUIAnimationInterpolator2_SetDuration 5 double
#comfunc global IUIAnimationInterpolator2_GetDuration 6 var
#comfunc global IUIAnimationInterpolator2_GetFinalValue 7 var,int
#comfunc global IUIAnimationInterpolator2_InterpolateValue 8 double,var,int
#comfunc global IUIAnimationInterpolator2_InterpolateVelocity 9 double,var,int
#comfunc global IUIAnimationInterpolator2_GetPrimitiveInterpolation 10 sptr,int
#comfunc global IUIAnimationInterpolator2_GetDependencies 11 var,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IUIAnimationInterpolator2 "{EA76AFF8-EA22-4A23-A0EF-A6A966703518}"
#usecom global IUIAnimationInterpolator2 IID_IUIAnimationInterpolator2 "{}"
#comfunc global IUIAnimationInterpolator2_GetDimension 3 sptr
#comfunc global IUIAnimationInterpolator2_SetInitialValueAndVelocity 4 sptr,sptr,int
#comfunc global IUIAnimationInterpolator2_SetDuration 5 double
#comfunc global IUIAnimationInterpolator2_GetDuration 6 sptr
#comfunc global IUIAnimationInterpolator2_GetFinalValue 7 sptr,int
#comfunc global IUIAnimationInterpolator2_InterpolateValue 8 double,sptr,int
#comfunc global IUIAnimationInterpolator2_InterpolateVelocity 9 double,sptr,int
#comfunc global IUIAnimationInterpolator2_GetPrimitiveInterpolation 10 sptr,int
#comfunc global IUIAnimationInterpolator2_GetDependencies 11 sptr,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。