Win32 API 日本語リファレンス
ホームUI.Wpf › IMILBitmapEffectGroupImpl

IMILBitmapEffectGroupImpl

COM
IID78fed518-1cfc-4807-8b85-6b6e51398f62継承元IUnknown自前メソッド開始 vtbl3

メソッド 3

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT Preprocess(IMILBitmapEffectRenderContext* pContext)
pContextIMILBitmapEffectRenderContext*in前処理に使用するレンダーコンテキストを指定する IMILBitmapEffectRenderContext インターフェイスへのポインタである。
vtbl 4 HRESULT GetNumberChildren(DWORD* puiNumberChildren)
puiNumberChildrenDWORD*outこのグループに含まれる子エフェクトの数を受け取る。
vtbl 5 HRESULT GetChildren(IMILBitmapEffects** pChildren)
pChildrenIMILBitmapEffects**outこのグループに含まれる子エフェクトのコレクションを表す IMILBitmapEffects インターフェイスへのポインタを受け取る。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IMILBitmapEffectGroupImpl "{78FED518-1CFC-4807-8B85-6B6E51398F62}"
#usecom global IMILBitmapEffectGroupImpl IID_IMILBitmapEffectGroupImpl "{}"
#comfunc global IMILBitmapEffectGroupImpl_Preprocess         3 sptr
#comfunc global IMILBitmapEffectGroupImpl_GetNumberChildren  4 var
#comfunc global IMILBitmapEffectGroupImpl_GetChildren        5 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。