ホーム › Graphics.DirectComposition › IDCompositionVisualDebug
IDCompositionVisualDebug
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 22 HRESULT EnableHeatMap(D2D1_COLOR_F* color)
| color | D2D1_COLOR_F* | in | ヒートマップ表示に用いる色を指定するD2D1_COLOR_F構造体へのポインタである。 |
vtbl 23 HRESULT DisableHeatMap()
vtbl 24 HRESULT EnableRedrawRegions()
vtbl 25 HRESULT DisableRedrawRegions()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IDCompositionVisualDebug "{FED2B808-5EB4-43A0-AEA3-35F65280F91B}" #usecom global IDCompositionVisualDebug IID_IDCompositionVisualDebug "{}" #comfunc global IDCompositionVisualDebug_EnableHeatMap 22 var #comfunc global IDCompositionVisualDebug_DisableHeatMap 23 #comfunc global IDCompositionVisualDebug_EnableRedrawRegions 24 #comfunc global IDCompositionVisualDebug_DisableRedrawRegions 25 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IDCompositionVisualDebug "{FED2B808-5EB4-43A0-AEA3-35F65280F91B}" #usecom global IDCompositionVisualDebug IID_IDCompositionVisualDebug "{}" #comfunc global IDCompositionVisualDebug_EnableHeatMap 22 sptr #comfunc global IDCompositionVisualDebug_DisableHeatMap 23 #comfunc global IDCompositionVisualDebug_EnableRedrawRegions 24 #comfunc global IDCompositionVisualDebug_DisableRedrawRegions 25 ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。