This topic has not yet been rated - Rate this topic

WerReportSetUIOption function

Applies to: desktop apps only

Sets the user interface options for the specified report.

Syntax

HRESULT WINAPI WerReportSetUIOption(
  __in  HREPORT hReportHandle,
  __in  WER_REPORT_UI repUITypeID,
  __in  PCWSTR pwzValue
);

Parameters

hReportHandle [in]

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

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.

ValueMeaning
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.

 

pwzValue [in]

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

Minimum supported server

Windows Server 2008

Header

Werapi.h

Library

Wer.lib

DLL

Wer.dll

See also

WER Functions
WerReportCreate
Windows Error Reporting

 

 

Send comments about this topic to Microsoft

Build date: 2/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ