// wdm.h
VOID MmUnmapReservedMapping(
[in] PVOID BaseAddress,
[in] ULONG PoolTag,
[in] PMDL MemoryDescriptorList
);
View the official Windows Driver Kit DDI reference
No description available.
The MmUnmapReservedMapping routine unmaps a memory buffer that was mapped by the MmMapLockedPagesWithReservedMapping routine.
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.
MmMapLockedPagesWithReservedMapping