GetLargePageMinimum function (memoryapi.h)

Retrieves the minimum size of a large page.

Syntax

SIZE_T GetLargePageMinimum();

Return value

If the processor supports large pages, the return value is the minimum size of a large page.

If the processor does not support large pages, the return value is zero.

Remarks

The minimum large page size varies, but it is typically 2 MB or greater.

Requirements

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

See also

Large Page Support

Memory Management Functions