WerReportCloseHandle function

Closes the specified report.

Syntax

HRESULT WerReportCloseHandle(
  HREPORT hReportHandle
);

Parameters

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

   
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

WER Functions

WerReportCreate

Windows Error Reporting