// wdm.h
VOID MmUnlockPages(
[in, out] PMDL MemoryDescriptorList
);
View the official Windows Driver Kit DDI referenceNo description available.
The MmUnlockPages routine unlocks the physical pages that are described by the specified memory descriptor list (MDL).
MemoryDescriptorList [in, out]A pointer to an MDL.
The memory described by the specified MDL must have been locked previously by a call to MmProbeAndLockPages. If the specified MDL is mapped to system address space, MmUnlockPages releases this mapping before it unlocks the pages.
For more information, see Using MDLs.