IInstallationAgent::RecordInstallationResult method
Records the result for an update. The result is specified by an IStringCollection object.
Syntax
HRESULT RecordInstallationResult(
[in] BSTR installationResultCookie,
[in] LONG hresult,
[in] IStringCollection *extendedReportingData
);
Parameters
installationResultCookie [in]
A string value that identifies the result cookie.hresult [in]
The identifier of the result.extendedReportingData [in]
An IStringCollection interface that represents a collection of strings that contain the result for an update.
Return value
Returns S_OK if successful. Otherwise, returns a COM or Windows error code.
Requirements
Minimum supported client |
Windows XP, Windows 2000 Professional with SP3 [desktop apps only] |
Minimum supported server |
Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only] |
Header |
Wuapi.h |
IDL |
Wuapi.idl |
Library |
Wuguid.lib |
DLL |
Wuapi.dll |