// ntddk.h
BOOLEAN MmIsThisAnNtAsSystem();
View the official Windows Driver Kit DDI referenceNo description available.
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.
If the current platform is a server, MmIsThisAnNtAsSystem returns TRUE.
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.