Memory Manager Routines

The Windows 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.

This section contains reference pages for the MmXxx routines and memory-management macros. These reference pages are listed in alphabetical order.

For an overview of the functionality of these routines and macros, see Memory Allocation and Buffer Management. For an introduction to memory management support for kernel-mode drivers, see Memory Management for Windows Drivers.

The following routines are reserved for system use. Do not use them in your driver.

MmAddPhysicalMemory

MmAddPhysicalMemoryEx

MmAddVerifierThunks

MmCreateMirror

MmGetMdlBaseVa

MmGetPhysicalMemoryRanges

MmGetProcedureAddress

MmGetVirtualForPhysical

MmIsVerifierEnabled

MmIsIoSpaceActive

MmMapUserAddressesToPage

MmMapVideoDisplay

MmMapViewInSessionSpace

MmMapViewInSystemSpace

MmMarkPhysicalMemoryAsBad

MmMarkPhysicalMemoryAsGood

MmProbeAndLockProcessPages

MmRemovePhysicalMemory

MmRemovePhysicalMemoryEx

MmRotatePhysicalView

MmUnmapVideoDisplay

MmUnmapViewInSessionSpace

MmUnmapViewInSystemSpace

 

 

Send comments about this topic to Microsoft