IInstallationAgent::RecordInstallationResult method (wuapi.h)
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
[in] installationResultCookie
A string value that identifies the result cookie.
[in] hresult
The identifier of the result.
[in] extendedReportingData
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
Requirement | Value |
---|---|
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] |
Target Platform | Windows |
Header | wuapi.h |
Library | Wuguid.lib |
DLL | Wuapi.dll |