WerFreeString function

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 WINAPI WerFreeString(
   PCWSTR reportKey
);

Parameters

reportKey

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

Return value

This function does not return a value.

Requirements

Minimum supported client

Windows 10, version 1703 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Werapi.h

Library

Wer.lib

DLL

Wer.dll

See also

WER Functions
WerStoreGetFirstReportKey
WerStoreGetNextReportKey
Windows Error Reporting

 

 

Show: