IMILBitmapEffect
COMメソッド 3
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetOutput(DWORD uiIndex, IMILBitmapEffectRenderContext* pContext, IWICBitmapSource** ppBitmapSource)
| uiIndex | DWORD | in | 取得する出力のインデックスを指定する。 |
| pContext | IMILBitmapEffectRenderContext* | in | レンダリングに使用するレンダーコンテキストを指定する IMILBitmapEffectRenderContext インターフェイスへのポインタである。 |
| ppBitmapSource | IWICBitmapSource** | out | エフェクト適用後の出力ビットマップを表す IWICBitmapSource インターフェイスへのポインタを受け取る。 |
vtbl 4 HRESULT GetParentEffect(IMILBitmapEffectGroup** ppParentEffect)
| ppParentEffect | IMILBitmapEffectGroup** | out | このエフェクトを含む親エフェクトグループを表す IMILBitmapEffectGroup インターフェイスへのポインタを受け取る。 |
vtbl 5 HRESULT SetInputSource(DWORD uiIndex, IWICBitmapSource* pBitmapSource)
| uiIndex | DWORD | in | 入力ソースを設定する入力のインデックスを指定する。 |
| pBitmapSource | IWICBitmapSource* | in | 入力ソースとして設定するビットマップを表す IWICBitmapSource インターフェイスへのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IMILBitmapEffect "{8A6FF321-C944-4A1B-9944-9954AF301258}"
#usecom global IMILBitmapEffect IID_IMILBitmapEffect "{}"
#comfunc global IMILBitmapEffect_GetOutput 3 int,sptr,sptr
#comfunc global IMILBitmapEffect_GetParentEffect 4 sptr
#comfunc global IMILBitmapEffect_SetInputSource 5 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。