IMILBitmapEffectImpl
COMメソッド 7
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT IsInPlaceModificationAllowed(IMILBitmapEffectOutputConnector* pOutputConnector, VARIANT_BOOL* pfModifyInPlace)
| pOutputConnector | IMILBitmapEffectOutputConnector* | in | 対象とする出力コネクタを表す IMILBitmapEffectOutputConnector インターフェイスへのポインタである。 |
| pfModifyInPlace | VARIANT_BOOL* | out | インプレース (その場での) 変更が許可されるかどうかを示す論理値を受け取る。 |
vtbl 4 HRESULT SetParentEffect(IMILBitmapEffectGroup* pParentEffect)
| pParentEffect | IMILBitmapEffectGroup* | in | このエフェクトの親として設定するエフェクトグループを表す IMILBitmapEffectGroup インターフェイスへのポインタである。 |
vtbl 5 HRESULT GetInputSource(DWORD uiIndex, IWICBitmapSource** ppBitmapSource)
| uiIndex | DWORD | in | 入力ソースを取得する入力のインデックスを指定する。 |
| ppBitmapSource | IWICBitmapSource** | out | 指定した入力に設定されているビットマップソースを表す IWICBitmapSource インターフェイスへのポインタを受け取る。 |
| uiIndex | DWORD | in | 境界を取得する入力のインデックスを指定する。 |
| pRect | MilRectD* | out | 入力ソースの境界矩形を受け取る MilRectD 構造体へのポインタである。 |
vtbl 7 HRESULT GetInputBitmapSource(DWORD uiIndex, IMILBitmapEffectRenderContext* pRenderContext, VARIANT_BOOL* pfModifyInPlace, IWICBitmapSource** ppBitmapSource)
| uiIndex | DWORD | in | 取得する入力のインデックスを指定する。 |
| pRenderContext | IMILBitmapEffectRenderContext* | in | レンダリングに使用するレンダーコンテキストを指定する IMILBitmapEffectRenderContext インターフェイスへのポインタである。 |
| pfModifyInPlace | VARIANT_BOOL* | inout | 返されるビットマップソースをインプレースで変更してよいかどうかを示す論理値を受け取る。 |
| ppBitmapSource | IWICBitmapSource** | out | 入力ビットマップソースを表す IWICBitmapSource インターフェイスへのポインタを受け取る。 |
vtbl 8 HRESULT GetOutputBitmapSource(DWORD uiIndex, IMILBitmapEffectRenderContext* pRenderContext, VARIANT_BOOL* pfModifyInPlace, IWICBitmapSource** ppBitmapSource)
| uiIndex | DWORD | in | 取得する出力のインデックスを指定する。 |
| pRenderContext | IMILBitmapEffectRenderContext* | in | レンダリングに使用するレンダーコンテキストを指定する IMILBitmapEffectRenderContext インターフェイスへのポインタである。 |
| pfModifyInPlace | VARIANT_BOOL* | inout | 返されるビットマップソースをインプレースで変更してよいかどうかを示す論理値を受け取る。 |
| ppBitmapSource | IWICBitmapSource** | out | 出力ビットマップソースを表す IWICBitmapSource インターフェイスへのポインタを受け取る。 |
| pInner | IUnknown* | in | アグリゲーション (集約) における内部オブジェクトの IUnknown インターフェイスへのポインタである。集約しない場合は NULL を指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMILBitmapEffectImpl "{CC2468F2-9936-47BE-B4AF-06B5DF5DBCBB}" #usecom global IMILBitmapEffectImpl IID_IMILBitmapEffectImpl "{}" #comfunc global IMILBitmapEffectImpl_IsInPlaceModificationAllowed 3 sptr,var #comfunc global IMILBitmapEffectImpl_SetParentEffect 4 sptr #comfunc global IMILBitmapEffectImpl_GetInputSource 5 int,sptr #comfunc global IMILBitmapEffectImpl_GetInputSourceBounds 6 int,var #comfunc global IMILBitmapEffectImpl_GetInputBitmapSource 7 int,sptr,var,sptr #comfunc global IMILBitmapEffectImpl_GetOutputBitmapSource 8 int,sptr,var,sptr #comfunc global IMILBitmapEffectImpl_Initialize 9 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IMILBitmapEffectImpl "{CC2468F2-9936-47BE-B4AF-06B5DF5DBCBB}" #usecom global IMILBitmapEffectImpl IID_IMILBitmapEffectImpl "{}" #comfunc global IMILBitmapEffectImpl_IsInPlaceModificationAllowed 3 sptr,sptr #comfunc global IMILBitmapEffectImpl_SetParentEffect 4 sptr #comfunc global IMILBitmapEffectImpl_GetInputSource 5 int,sptr #comfunc global IMILBitmapEffectImpl_GetInputSourceBounds 6 int,sptr #comfunc global IMILBitmapEffectImpl_GetInputBitmapSource 7 int,sptr,sptr,sptr #comfunc global IMILBitmapEffectImpl_GetOutputBitmapSource 8 int,sptr,sptr,sptr #comfunc global IMILBitmapEffectImpl_Initialize 9 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。