WerFreeString function (werapi.h)
Frees up the memory used to store a Windows Error Reporting (WER) key string.
Syntax
void WerFreeString(
PCWSTR pwszStr
);
Parameters
pwszStr
The string to be freed (value set to NULL).
Return value
None
Remarks
This method should be called after each successive call to WerStoreGetFirstReportKey or WerStoreGetNextReportKey, once the particular report key string has been used and is no longer needed.
Requirements
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 |
See also
WerStoreGetFirstReportKey, WerStoreGetNextReportKey, Windows Error Reporting