Skip to content

Latest commit

 

History

History
87 lines (72 loc) · 3.44 KB

nf-werapi-werreportsetuioption.md

File metadata and controls

87 lines (72 loc) · 3.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:werapi.WerReportSetUIOption
WerReportSetUIOption function (werapi.h)
Sets the user interface options for the specified Windows Error Reporting (WER) report.
WerReportSetUIOption
WerReportSetUIOption function [Windows Error Reporting]
WerUIAdditionalDataDlgHeader
WerUICloseDlgBody
WerUICloseDlgButtonText
WerUICloseDlgHeader
WerUICloseText
WerUIConsentDlgBody
WerUIConsentDlgHeader
WerUIIconFilePath
WerUIOfflineSolutionCheckText
WerUIOnlineSolutionCheckText
base.werreportsetuioption
wer.werreportsetuioption
werapi/WerReportSetUIOption
wer\werreportsetuioption.htm
wer
c8816782-faec-490e-898f-a40df8fb205b
07/25/2023
WerReportSetUIOption, WerReportSetUIOption function [Windows Error Reporting], WerUIAdditionalDataDlgHeader, WerUICloseDlgBody, WerUICloseDlgButtonText, WerUICloseDlgHeader, WerUICloseText, WerUIConsentDlgBody, WerUIConsentDlgHeader, WerUIIconFilePath, WerUIOfflineSolutionCheckText, WerUIOnlineSolutionCheckText, base.werreportsetuioption, wer.werreportsetuioption, werapi/WerReportSetUIOption
werapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Wer.lib
Wer.dll
Windows
19H1
WerReportSetUIOption
werapi/WerReportSetUIOption
c++
APIRef
kbSyntax
DllExport
Wer.dll
WerReportSetUIOption

WerReportSetUIOption function

-description

Sets the user interface options for the specified Windows Error Reporting (WER) report.

-parameters

-param hReportHandle [in]

A handle to the report. This handle is returned by the WerReportCreate function.

-param repUITypeID [in]

The user interface element to be customized. This parameter can be one of the following values from the WER_REPORT_UI enumeration type.

Value Meaning
WerUIAdditionalDataDlgHeader The instructions for the additional data dialog box.
WerUICloseDlgBody The contents of the close dialog box.
WerUICloseDlgButtonText The text for the button in the close dialog box.
WerUICloseDlgHeader The main instructions for the close dialog box.
WerUICloseText The text for the link to just terminate the application.
WerUIConsentDlgBody The contents of the consent dialog box.
WerUIConsentDlgHeader The main instructions for the consent dialog box.
WerUIIconFilePath The icon to be displayed in the consent dialog box.
WerUIOfflineSolutionCheckText The text for the link to check for a solution when offline.
WerUIOnlineSolutionCheckText The text for the link to check for a solution when online.

-param pwzValue [in]

A pointer to a Unicode string that specifies the custom text. For more information, see the description of repUITypeID.

-returns

This function returns S_OK on success or an error code on failure.

-see-also

WerReportCreate, Windows Error Reporting