Bewerken

Delen via


MmUnmapReservedMapping function (wdm.h)

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

Syntax

void MmUnmapReservedMapping(
  [in] PVOID BaseAddress,
  [in] ULONG PoolTag,
  [in] PMDL  MemoryDescriptorList
);

Parameters

[in] BaseAddress

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

[in] PoolTag

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.

[in] MemoryDescriptorList

Pointer to the MDL that describes the physical memory mapping.

Return value

None

Requirements

Requirement Value
Minimum supported client Available in Windows XP and later versions of Windows.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=DISPATCH_LEVEL

See also

MmAllocateMappingAddress

MmFreeMappingAddress

MmMapLockedPagesWithReservedMapping