Win32 API 日本語リファレンス
ホームSecurity.Authentication.Identity.Provider › AsyncIIdentityAuthentication

AsyncIIdentityAuthentication

COM
IIDf9a2f918-feca-4e9c-9633-61cbf13ed34d継承元IUnknown自前メソッド開始 vtbl3

メソッド 4

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

vtbl 3 HRESULT Begin_SetIdentityCredential(BYTE* CredBuffer, DWORD CredBufferLength)
CredBufferBYTE*inoptional設定する資格情報データを格納したバッファへのポインタを指定する。
CredBufferLengthDWORDin資格情報データバッファの長さをバイト数で指定する。
vtbl 4 HRESULT Finish_SetIdentityCredential()
vtbl 5 HRESULT Begin_ValidateIdentityCredential(BYTE* CredBuffer, DWORD CredBufferLength, IPropertyStore** ppIdentityProperties)
CredBufferBYTE*in検証する資格情報データを格納したバッファへのポインタを指定する。
CredBufferLengthDWORDin資格情報データバッファの長さをバイト数で指定する。
ppIdentityPropertiesIPropertyStore**inoutoptional検証に成功した ID のプロパティを保持する IPropertyStore インターフェイスを受け取るポインタである。
vtbl 6 HRESULT Finish_ValidateIdentityCredential(IPropertyStore** ppIdentityProperties)
ppIdentityPropertiesIPropertyStore**inoutoptional検証に成功した ID のプロパティを保持する IPropertyStore インターフェイスを受け取るポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_AsyncIIdentityAuthentication "{F9A2F918-FECA-4E9C-9633-61CBF13ED34D}"
#usecom global AsyncIIdentityAuthentication IID_AsyncIIdentityAuthentication "{}"
#comfunc global AsyncIIdentityAuthentication_Begin_SetIdentityCredential        3 var,int
#comfunc global AsyncIIdentityAuthentication_Finish_SetIdentityCredential       4
#comfunc global AsyncIIdentityAuthentication_Begin_ValidateIdentityCredential   5 var,int,sptr
#comfunc global AsyncIIdentityAuthentication_Finish_ValidateIdentityCredential  6 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。