MmQuerySystemSize - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdm.h

MM_SYSTEMSIZE MmQuerySystemSize();
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-mmquerysystemsize)

MmQuerySystemSize function

Description

The MmQuerySystemSize routine returns an estimate of the amount of memory in the system.

Return value

MmQuerySystemSize returns one of MmSmallSystem, MmMediumSystem, or MmLargeSystem.

Remarks

This routine can be called during driver initialization to determine how much memory it is practical to allocate for an internal buffer.

See also

MmIsThisAnNtAsSystem