ホーム › Graphics.CompositionSwapchain › IPresentationFactory
IPresentationFactory
COMメソッド 3
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 BYTE IsPresentationSupported()
vtbl 4 BYTE IsPresentationSupportedWithIndependentFlip()
vtbl 5 HRESULT CreatePresentationManager(IPresentationManager** ppPresentationManager)
| ppPresentationManager | IPresentationManager** | out | 生成された提示マネージャIPresentationManagerを受け取る出力ポインタ。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IPresentationFactory "{8FB37B58-1D74-4F64-A49C-1F97A80A2EC0}"
#usecom global IPresentationFactory IID_IPresentationFactory "{}"
#comfunc global IPresentationFactory_IsPresentationSupported 3
#comfunc global IPresentationFactory_IsPresentationSupportedWithIndependentFlip 4
#comfunc global IPresentationFactory_CreatePresentationManager 5 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。