WerStoreClose function (werapi.h)

Closes the collection of stored Windows Error Reporting (WER) reports.

Syntax

void WerStoreClose(
  HREPORTSTORE hReportStore
);

Parameters

hReportStore

The error report store to close (previously retrieved with WerStoreOpen).

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header werapi.h
Library Wer.lib
DLL Wer.dll

See also

WerStoreOpen, Windows Error Reporting