MmUnlockPages function

The MmUnlockPages routine unlocks the physical pages that are described by the specified memory descriptor list (MDL).

Syntax

NTKERNELAPI VOID MmUnlockPages(
  PMDL MemoryDescriptorList
);

Parameters

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

   
Windows version 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

See Also

MmProbeAndLockPages