GetLargePageMinimum function

Retrieves the minimum size of a large page.

Syntax

SIZE_T GetLargePageMinimum(

);

Parameters

This function has no parameters.

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

   
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 Kernel32.lib
DLL Kernel32.dll

See Also

Large Page Support

Memory Management Functions