ホーム › System.ComponentServices › ISecurityProperty
ISecurityProperty
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetDirectCreatorSID(PSID* pSID)
| pSID | PSID* | inout | オブジェクトを直接作成した呼び出し元のセキュリティ識別子(SID)を受け取るポインタへのポインタである。 |
vtbl 4 HRESULT GetOriginalCreatorSID(PSID* pSID)
| pSID | PSID* | inout | オブジェクト作成チェーンの起点となった呼び出し元のセキュリティ識別子(SID)を受け取るポインタへのポインタである。 |
vtbl 5 HRESULT GetDirectCallerSID(PSID* pSID)
| pSID | PSID* | inout | 現在のメソッドを直接呼び出した呼び出し元のセキュリティ識別子(SID)を受け取るポインタへのポインタである。 |
vtbl 6 HRESULT GetOriginalCallerSID(PSID* pSID)
| pSID | PSID* | inout | 呼び出しチェーンの起点となった呼び出し元のセキュリティ識別子(SID)を受け取るポインタへのポインタである。 |
vtbl 7 HRESULT ReleaseSID(PSID pSID)
| pSID | PSID | in | Get メソッドで取得したセキュリティ識別子(SID)を解放するために指定するポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ISecurityProperty "{51372AEA-CAE7-11CF-BE81-00AA00A2FA25}"
#usecom global ISecurityProperty IID_ISecurityProperty "{}"
#comfunc global ISecurityProperty_GetDirectCreatorSID 3 sptr
#comfunc global ISecurityProperty_GetOriginalCreatorSID 4 sptr
#comfunc global ISecurityProperty_GetDirectCallerSID 5 sptr
#comfunc global ISecurityProperty_GetOriginalCallerSID 6 sptr
#comfunc global ISecurityProperty_ReleaseSID 7 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。