MmGetMaximumFileSectionSize function (ntifs.h)

The MmGetMaximumFileSectionSize returns the maximum possible size of a file section for the current version of Windows.

Syntax

ULONGLONG MmGetMaximumFileSectionSize();

Return value

The maximum file section size supported by the current version of Windows.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL