WerReportCloseHandle function (werapi.h)

Closes the specified Windows Error Reporting (WER) report.

Syntax

HRESULT WerReportCloseHandle(
  [in] HREPORT hReportHandle
);

Parameters

[in] hReportHandle

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

Return value

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

Requirements

Requirement Value
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

See also

WerReportCreate, Windows Error Reporting