WerStoreGetSizeOnDisk function (werapi.h)

Gets the size of the Windows Error Reporting (WER) error report store, in bytes.

Syntax

HRESULT WerStoreGetSizeOnDisk(
  HREPORTSTORE hReportStore,
  ULONGLONG    *pqwSizeInBytes
);

Parameters

hReportStore

The error report store (previously retrieved with WerStoreOpen).

pqwSizeInBytes

The error report store size, in bytes.

Return value

Return code Description
E_INVALID_ARG One of the arguments is not a valid value.
ERROR_NO_MORE_FILES There are no more error reports in the store.

Requirements

Requirement Value
Header werapi.h