Expand Minimize

GetMemoryErrorHandlingCapabilities function

Gets the memory error handling capabilities of the system.

Syntax


BOOL WINAPI GetMemoryErrorHandlingCapabilities(
  _Out_  PULONG Capabilities
);

Parameters

Capabilities [out]

A PULONG that receives one or more of the following flags.

ValueMeaning
MEHC_PATROL_SCRUBBER_PRESENT
1

The hardware can detect and report failed memory.

 

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft