WerFreeString function (werapi.h)

Frees up the memory used to store a report key string. This 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.

Syntax

void WerFreeString(
  PCWSTR pwszStr
);

Parameters

pwszStr

The string to be freed (value set to NULL).

Return value

None

Requirements

   
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

WER Functions

WerStoreGetFirstReportKey

WerStoreGetNextReportKey

Windows Error Reporting