WerUnregisterExcludedMemoryBlock function

Removes a memory block that was previously marked as excluded (it will again be included in error reports).

Syntax


HRESULT WINAPI WerUnregisterExcludedMemoryBlock(
   PVOID address
);

Parameters

address

The starting address of the memory block. This memory block must have been registered using the WerRegisterExcludedMemoryBlock function.

Return value

This function returns S_OK on success or an error code on failure, including the following error code.

Return codeDescription
WER_E_INVALID_STATE

The process state is not valid. For example, the process is in application recovery mode.

 

Requirements

Minimum supported client

Windows 10, version 1703 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Werapi.h

Library

Kernel32.lib

DLL

Kernel32.dll

See also

WER Functions
WerRegisterExcludedMemoryBlock
Windows Error Reporting

 

 

Show: