Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Opens the collection of stored Windows Error Reporting (WER) error reports.
HRESULT WerStoreOpen(
REPORT_STORE_TYPES repStoreType,
PHREPORTSTORE phReportStore
);
repStoreType
The type of report store to open. See Remarks for details.
phReportStore
A pointer to a report store. On a successful call, this will point to the retrieved report store.
This function returns S_OK on success or an error code on failure, including the following error code.
Return code | Description |
---|---|
E_INVALIDARG | One of the arguments is not a valid value. |
A storeType value of E_STORE_MACHINE_QUEUE opens the queue of all error reports on the machine that have not yet been sent to Microsoft. A value of E_STORE_MACHINE_ARCHIVE opens the store of error reports that have already been sent.
The Windows Error Report (WER) Store is the queue of error reports that have been marked to be sent to Microsoft but have not yet been uploaded. The upload of an error report can be postponed under a number of circumstances. The WerStore functions allow developers to access the stored reports and query the status of each one.
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 |
WerStoreClose, WerStoreGetFirstReportKey, Windows Error Reporting
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today