Bewerken

Delen via


MmIsThisAnNtAsSystem function (ntddk.h)

The MmIsThisAnNtAsSystem routine is obsolete for Windows XP and later versions of Windows. Use RtlGetVersion or RtlVerifyVersionInfo instead.

The MmIsThisAnNtAsSystem routine checks whether the current platform is running a server version of the NT-based operating system.

Syntax

BOOLEAN MmIsThisAnNtAsSystem();

Return value

If the current platform is a server, MmIsThisAnNtAsSystem returns TRUE.

Remarks

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 number of initially allocated entries for a lookaside list that it creates in medium and large systems.

Requirements

Requirement Value
Minimum supported client Obsolete for Windows XP and later versions of Windows. Use RtlGetVersion or RtlVerifyVersionInfo instead.
Target Platform Universal
Header ntddk.h (include Ntddk.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL Any level

See also

MmQuerySystemSize