Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets the number of Windows Error Reporting (WER) reports in the error report store.
Syntax
HRESULT WerStoreGetReportCount(
HREPORTSTORE hReportStore,
DWORD *pdwReportCount
);
Parameters
hReportStore
The error report store (previously retrieved with WerStoreOpen).
pdwReportCount
The report count.
Return value
This function returns S_OK on success or an error code on failure, including the following error code.
| 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 |
| Library | nanosrv.lib |