ホーム › Security.ExtensibleAuthenticationProtocol › IAuthenticationProviderConfig
IAuthenticationProviderConfig
COMメソッド 5
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| pszMachineName | LPWSTR | in | 設定対象となるコンピューター名を渡す。NULL の場合はローカルコンピューターを対象とする。 |
| puConnectionParam | UINT_PTR* | out | 後続の呼び出しで使用する接続ハンドルを受け取る UINT_PTR へのポインタである。 |
| uConnectionParam | UINT_PTR | in | 解放する接続ハンドルを渡す。 |
vtbl 5 HRESULT Configure(UINT_PTR uConnectionParam, HWND hWnd, DWORD dwFlags, UINT_PTR uReserved1, UINT_PTR uReserved2)
| uConnectionParam | UINT_PTR | in | 対象とする接続ハンドルを渡す。 |
| hWnd | HWND | in | 構成 UI を表示する際の親ウィンドウのハンドル(HWND)を渡す。 |
| dwFlags | DWORD | in | 構成操作の動作を制御するフラグを指定する。 |
| uReserved1 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
| uReserved2 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
| uConnectionParam | UINT_PTR | in | 対象とする接続ハンドルを渡す。 |
| uReserved1 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
| uReserved2 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
| uConnectionParam | UINT_PTR | in | 対象とする接続ハンドルを渡す。 |
| uReserved1 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
| uReserved2 | UINT_PTR | in | 予約済みパラメータであり、0 を指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IAuthenticationProviderConfig "{66A2DB17-D706-11D0-A37B-00C04FC9DA04}" #usecom global IAuthenticationProviderConfig IID_IAuthenticationProviderConfig "{}" #comfunc global IAuthenticationProviderConfig_Initialize 3 wstr,var #comfunc global IAuthenticationProviderConfig_Uninitialize 4 sptr #comfunc global IAuthenticationProviderConfig_Configure 5 sptr,sptr,int,sptr,sptr #comfunc global IAuthenticationProviderConfig_Activate 6 sptr,sptr,sptr #comfunc global IAuthenticationProviderConfig_Deactivate 7 sptr,sptr,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IAuthenticationProviderConfig "{66A2DB17-D706-11D0-A37B-00C04FC9DA04}" #usecom global IAuthenticationProviderConfig IID_IAuthenticationProviderConfig "{}" #comfunc global IAuthenticationProviderConfig_Initialize 3 wstr,sptr #comfunc global IAuthenticationProviderConfig_Uninitialize 4 sptr #comfunc global IAuthenticationProviderConfig_Configure 5 sptr,sptr,int,sptr,sptr #comfunc global IAuthenticationProviderConfig_Activate 6 sptr,sptr,sptr #comfunc global IAuthenticationProviderConfig_Deactivate 7 sptr,sptr,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。