Expand Minimize

MmUnmapReservedMapping routine

The MmUnmapReservedMapping routine unmaps a memory buffer that was mapped by the MmMapLockedPagesWithReservedMapping routine.

Syntax


VOID MmUnmapReservedMapping(
  _In_  PVOID BaseAddress,
  _In_  ULONG PoolTag,
  _In_  PMDLX MemoryDescriptorList
);

Parameters

BaseAddress [in]

Pointer to the beginning of the reserved virtual memory range. This must be an address returned by MmMapLockedPagesWithReservedMapping.

PoolTag [in]

Specifies the pool tag for the reserved memory buffer. This must be identical to the value specified in the PoolTag parameter of the call to MmAllocateMappingAddress that initially reserved the buffer.

MemoryDescriptorList [in]

Pointer to the MDL that describes the physical memory mapping.

Return value

None

Requirements

Version

Available in Windows XP and later versions of Windows.

Header

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

Library

Ntoskrnl.lib

IRQL

<=DISPATCH_LEVEL

See also

MmAllocateMappingAddress
MmFreeMappingAddress
MmMapLockedPagesWithReservedMapping

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft