IInstallationAgent::RecordInstallationResult メソッド (wuapi.h)

更新の結果を記録します。 結果は IStringCollection オブジェクトによって指定されます。

構文

HRESULT RecordInstallationResult(
  [in] BSTR              installationResultCookie,
  [in] LONG              hresult,
  [in] IStringCollection *extendedReportingData
);

パラメーター

[in] installationResultCookie

結果 Cookie を識別する文字列値。

[in] hresult

結果の識別子。

[in] extendedReportingData

更新の結果を含む文字列のコレクションを表す IStringCollection インターフェイス。

戻り値

成功した場合 は、S_OK を返します。 それ以外の場合は、COM または Windows エラー コードを返します。

要件

要件
サポートされている最小のクライアント Windows XP、Windows 2000 Professional sp3 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2003、Windows 2000 Server SP3 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー wuapi.h
Library Wuguid.lib
[DLL] Wuapi.dll

こちらもご覧ください

IInstallationAgent