Expand Minimize
0 out of 2 rated this helpful - Rate this topic

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

Version

Available starting with Windows 2000.

Header

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

Library

Contained in Ntoskrnl.lib.

IRQL

Any level

See also

MmIsThisAnNtAsSystem

 

 

Send comments about this topic to Microsoft

Build date: 5/2/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.