IPmCustomActions::RunCustomAction メソッドによって要求されたRun-Time Status 操作と Control 操作の結果を返します。
構文
virtual HRESULT ReportResult(
IN HRESULT hrStatus,
IN PBYTE pbResponse,
IN DWORD cbResponse
) = 0;
パラメーター
hrStatus
HRESULTRun-Time状態と制御操作の状態を格納している 。
pbResponse
Run-Time状態と制御操作の結果を受け取るバッファーへの BYTE ポインター。
cbResponse
がpbResponse指すデータのサイズを受け取るバッファーへのポインターDWORD。
戻り値
HRESULT。 有効な値を次の表に示しますが、これ以外にもあります。
| 値 | 説明 |
|---|---|
| S_OK | 操作が成功したことを示します。 |
要件
| Type | 説明 |
|---|---|
| Client | - Windows Vista 上の IIS 7.0 - Windows 7 上の IIS 7.5 - Windows 8 上の IIS 8.0 - Windows 10の IIS 10.0 |
| サーバー | - Windows Server 2008 の IIS 7.0 - Windows Server 2008 R2 の IIS 7.5 - Windows Server 2012 の IIS 8.0 - Windows Server 2012 R2 の IIS 8.5 - Windows Server 2016の IIS 10.0 |
| 製品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 - IIS Express 7.5、IIS Express 8.0、IIS Express 10.0 |
| Header | Wpframework.h |
参照
ICustomActionResultCallback インターフェイス
IPmCustomActions::RunCustomAction メソッド