IMILBitmapEffectRenderContextImpl
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetUseSoftwareRenderer(VARIANT_BOOL* pfSoftware)
| pfSoftware | VARIANT_BOOL* | out | ソフトウェアレンダラを使用する設定になっているかどうかを示す論理値を受け取る。 |
vtbl 4 HRESULT GetTransform(MILMatrixF* pMatrix)
| pMatrix | MILMatrixF* | inout | 現在の変換行列を受け取る MILMatrixF 構造体へのポインタである。 |
vtbl 5 HRESULT UpdateTransform(MILMatrixF* pMatrix)
| pMatrix | MILMatrixF* | in | 現在の変換に適用 (合成) する行列を指定する MILMatrixF 構造体へのポインタである。 |
| pRect | MilRectD* | inout | 現在の出力境界矩形を受け取る MilRectD 構造体へのポインタである。 |
| pRect | MilRectD* | in | 出力境界として更新する矩形を指定する MilRectD 構造体へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMILBitmapEffectRenderContextImpl "{4D25ACCB-797D-4FD2-B128-DFFEFF84FCC3}" #usecom global IMILBitmapEffectRenderContextImpl IID_IMILBitmapEffectRenderContextImpl "{}" #comfunc global IMILBitmapEffectRenderContextImpl_GetUseSoftwareRenderer 3 var #comfunc global IMILBitmapEffectRenderContextImpl_GetTransform 4 var #comfunc global IMILBitmapEffectRenderContextImpl_UpdateTransform 5 var #comfunc global IMILBitmapEffectRenderContextImpl_GetOutputBounds 6 var #comfunc global IMILBitmapEffectRenderContextImpl_UpdateOutputBounds 7 var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IMILBitmapEffectRenderContextImpl "{4D25ACCB-797D-4FD2-B128-DFFEFF84FCC3}" #usecom global IMILBitmapEffectRenderContextImpl IID_IMILBitmapEffectRenderContextImpl "{}" #comfunc global IMILBitmapEffectRenderContextImpl_GetUseSoftwareRenderer 3 sptr #comfunc global IMILBitmapEffectRenderContextImpl_GetTransform 4 sptr #comfunc global IMILBitmapEffectRenderContextImpl_UpdateTransform 5 sptr #comfunc global IMILBitmapEffectRenderContextImpl_GetOutputBounds 6 sptr #comfunc global IMILBitmapEffectRenderContextImpl_UpdateOutputBounds 7 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。