MmIsThisAnNtAsSystem

BOOLEAN
MmIsThisAnNtAsSystem(

);

MmIsThisAnNtAsSystem checks whether the current platform is running a workstation or server version of Windows NT.

Return Value

If Windows NT Advanced Server is running, MmIsThisAnNtAsSystem returns TRUE.

Comments

Drivers can use this routine during initialization, along with MmQuerySystemSize, for sizing estimates of how many resources to allocate. For example, if MmIsThisAnNtAsSystem returns TRUE, the caller can increase the number of threads or the size of a zone segment that it creates in medium and large systems.

Callers of MmIsThisAnNtAsSystem must be running at IRQL PASSIVE_LEVEL.

See Also

MmQuerySystemSize, ExInitializeZone