Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |