MmUnlockPages function (wdm.h)
The MmUnlockPages routine unlocks the physical pages that are described by the specified memory descriptor list (MDL).
Syntax
void MmUnlockPages(
[in, out] PMDL MemoryDescriptorList
);
Parameters
[in, out] MemoryDescriptorList
A pointer to an MDL.
Return value
None
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 2000. |
Target Platform | Universal |
Header | wdm.h (include Wdm.h, Ntddk.h, Ntifs.h) |
Library | NtosKrnl.lib |
DLL | NtosKrnl.exe |
IRQL | <=DISPATCH_LEVEL |
DDI compliance rules | HwStorPortProhibitedDDIs(storport) |