Previous Next

MmUnlockPages

The MmUnlockPages routine unlocks physical pages described by a given MDL.

VOID 
  MmUnlockPages(
    IN PMDL  MemoryDescriptorList
    );

Parameters

MemoryDescriptorList
Pointer to an MDL.

Return Value

None

Headers

Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h.

Comments

The memory described by the specified MDL must have been locked previously by a call to MmProbeAndLockPages. As the pages are unlocked, the MDL is updated.

Callers of MmUnlockPages must be running at IRQL <= DISPATCH_LEVEL.

See Also

MmProbeAndLockPages