ホーム › System.ClrHosting › ICLRHostProtectionManager
ICLRHostProtectionManager
COMメソッド 2
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT SetProtectedCategories(EApiCategories categories)
| categories | EApiCategories | in | ホスト環境で禁止する API カテゴリを表す EApiCategories のビットフラグの組み合わせを指定する。 |
vtbl 4 HRESULT SetEagerSerializeGrantSets()
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ICLRHostProtectionManager "{89F25F5C-CEEF-43E1-9CFA-A68CE863AAAC}"
#usecom global ICLRHostProtectionManager IID_ICLRHostProtectionManager "{}"
#comfunc global ICLRHostProtectionManager_SetProtectedCategories 3 int
#comfunc global ICLRHostProtectionManager_SetEagerSerializeGrantSets 4
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。