The MmUnmapReservedMapping routine unmaps a memory buffer that was mapped by the MmMapLockedPagesWithReservedMapping routine.
VOID MmUnmapReservedMapping( _In_ PVOID BaseAddress, _In_ ULONG PoolTag, _In_ PMDLX MemoryDescriptorList );
Pointer to the beginning of the reserved virtual memory range. This must be an address returned by MmMapLockedPagesWithReservedMapping.
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.
Pointer to the MDL that describes the physical memory mapping.
|Windows version||Available in Windows XP and later versions of Windows.|
|Header||wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)|