Windows Driver Kit: Kernel-Mode Driver Architecture
Memory Manager Routines
The Memory Manager provides a set of routines that kernel-mode drivers use to allocate and manage memory. These routines have names that begin with the prefix Mm. For more information about memory management for drivers, see Managing Memory for Drivers.
References for the MmXxx routines and macros in this section are in alphabetical order.
For an overview of the functionality of these routines and macros, see Summary of Kernel-Mode Support Routines.
The following routines are reserved for system use. Do not use them in your driver.
MmGetPhysicalMemoryRanges
MmMarkPhysicalMemoryAsBad
MmMarkPhysicalMemoryAsGood
MmProbeAndLockProcessPages
MmUnmapViewInSessionSpace