WerReportSetUIOption function (werapi.h)
Sets the user interface options for the specified report.
Syntax
HRESULT WerReportSetUIOption(
[in] HREPORT hReportHandle,
[in] WER_REPORT_UI repUITypeID,
[in] PCWSTR pwzValue
);
Parameters
[in] hReportHandle
A handle to the report. This handle is returned by the WerReportCreate function.
[in] repUITypeID
The user interface element to be customized. This parameter can be one of the following values from the WER_REPORT_UI enumeration type.
[in] pwzValue
A pointer to a Unicode string that specifies the custom text. For more information, see the description of repUITypeID.
Return value
This function returns S_OK on success or an error code on failure.
Requirements
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | werapi.h |
Library | Wer.lib |
DLL | Wer.dll |