UnregisterBadMemoryNotification function (memoryapi.h)

Closes the specified bad memory notification handle.

Syntax

BOOL UnregisterBadMemoryNotification(
  [in] PVOID RegistrationHandle
);

Parameters

[in] RegistrationHandle

Registration handle returned from the RegisterBadMemoryNotification function.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

To compile an application that calls this function, define _WIN32_WINNT as _WIN32_WINNT_WIN8 or higher. For more information, see Using the Windows Headers.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header memoryapi.h (include Windows.h, Memoryapi.h)
Library onecore.lib
DLL Kernel32.dll