Export (0) Print
Expand All

WerReportSetUIOption function

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 [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Werapi.h

Library

Wer.lib

DLL

Wer.dll

See also

WER Functions
WerReportCreate
Windows Error Reporting

 

 

Community Additions

ADD
Show:
© 2014 Microsoft