Expand Minimize

MmUnlockPages routine

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

Syntax


VOID MmUnlockPages(
  _Inout_  PMDL MemoryDescriptorList
);

Parameters

MemoryDescriptorList [in, out]

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

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<=DISPATCH_LEVEL

DDI compliance rules

HwStorPortProhibitedDDIs

See also

MmProbeAndLockPages

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.