UnregisterBadMemoryNotification 函数 (memoryapi.h)

关闭指定的错误内存通知句柄。

语法

BOOL UnregisterBadMemoryNotification(
  [in] PVOID RegistrationHandle
);

parameters

[in] RegistrationHandle

RegisterBadMemoryNotification 函数返回的注册句柄。

返回值

如果该函数成功,则返回值为非零值。

如果函数失败,则返回值为零。 要获得更多的错误信息,请调用 GetLastError。

注解

若要编译调用此函数的应用程序, 请将_WIN32_WINNT 定义为 _WIN32_WINNT_WIN8 或更高版本。 有关详细信息,请参阅 使用 Windows 标头

要求

   
最低受支持的客户端 Windows 8 [仅限桌面应用]
最低受支持的服务器 Windows Server 2012 [仅限桌面应用]
目标平台 Windows
标头 memoryapi.h (包括 Windows.h、Memoryapi.h)
Library onecore.lib
DLL Kernel32.dll