ホーム › System.RemoteDesktop › IWRdsProtocolLogonErrorRedirector
IWRdsProtocolLogonErrorRedirector
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT OnBeginPainting()
vtbl 4 HRESULT RedirectStatus(LPWSTR pszMessage, WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* pResponse)
| pszMessage | LPWSTR | in | クライアントに表示する状態メッセージを表すワイド文字列を指定する。 |
| pResponse | WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* | out | ユーザーの応答を受け取る WTS_LOGON_ERROR_REDIRECTOR_RESPONSE 値へのポインタである。 |
vtbl 5 HRESULT RedirectMessage(LPWSTR pszCaption, LPWSTR pszMessage, DWORD uType, WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* pResponse)
| pszCaption | LPWSTR | in | 表示するメッセージボックスのキャプション (タイトル) を表すワイド文字列を指定する。 |
| pszMessage | LPWSTR | in | 表示するメッセージ本文を表すワイド文字列を指定する。 |
| uType | DWORD | in | メッセージボックスの種類やボタン構成を示すフラグを指定する。 |
| pResponse | WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* | out | ユーザーの応答を受け取る WTS_LOGON_ERROR_REDIRECTOR_RESPONSE 値へのポインタである。 |
vtbl 6 HRESULT RedirectLogonError(INT ntsStatus, INT ntsSubstatus, LPWSTR pszCaption, LPWSTR pszMessage, DWORD uType, WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* pResponse)
| ntsStatus | INT | in | ログオン失敗を示す NTSTATUS のステータスコードを指定する。 |
| ntsSubstatus | INT | in | ログオン失敗の詳細を示す NTSTATUS のサブステータスコードを指定する。 |
| pszCaption | LPWSTR | in | 表示するメッセージボックスのキャプション (タイトル) を表すワイド文字列を指定する。 |
| pszMessage | LPWSTR | in | 表示するメッセージ本文を表すワイド文字列を指定する。 |
| uType | DWORD | in | メッセージボックスの種類やボタン構成を示すフラグを指定する。 |
| pResponse | WTS_LOGON_ERROR_REDIRECTOR_RESPONSE* | out | ユーザーの応答を受け取る WTS_LOGON_ERROR_REDIRECTOR_RESPONSE 値へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IWRdsProtocolLogonErrorRedirector "{519FE83B-142A-4120-A3D5-A405D315281A}" #usecom global IWRdsProtocolLogonErrorRedirector IID_IWRdsProtocolLogonErrorRedirector "{}" #comfunc global IWRdsProtocolLogonErrorRedirector_OnBeginPainting 3 #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectStatus 4 wstr,var #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectMessage 5 wstr,wstr,int,var #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectLogonError 6 int,int,wstr,wstr,int,var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IWRdsProtocolLogonErrorRedirector "{519FE83B-142A-4120-A3D5-A405D315281A}" #usecom global IWRdsProtocolLogonErrorRedirector IID_IWRdsProtocolLogonErrorRedirector "{}" #comfunc global IWRdsProtocolLogonErrorRedirector_OnBeginPainting 3 #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectStatus 4 wstr,sptr #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectMessage 5 wstr,wstr,int,sptr #comfunc global IWRdsProtocolLogonErrorRedirector_RedirectLogonError 6 int,int,wstr,wstr,int,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。