Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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 | Wer.lib |