MmQuerySystemSize routine

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

Syntax


MM_SYSTEMSIZE MmQuerySystemSize(void);

Parameters

This routine has no parameters.

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.

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

NtosKrnl.lib

DLL

NtosKrnl.exe

IRQL

Any level

See also

MmIsThisAnNtAsSystem

 

 

Send comments about this topic to Microsoft

Show: