// wdm.h
NTSTATUS MmMapMemoryDumpMdlEx(
PVOID Va,
PFN_NUMBER PageTotal,
PMDL MemoryDumpMdl,
ULONG Flags
);
View the official Windows Driver Kit DDI referenceNo description available.
The MmMapMemoryDumpMdlEx function maps an MDL into a specified virtual address.
Only one MDL can be mapped at a time. For use by crash dump, hibernate and live dump routines only.
VaSupplies the VA to map.
PageTotalSupplies the total number of pages in the VA range.
MemoryDumpMdlSupplies the MDL to map.
FlagsSupplies MM_DUMP_MAP_INVALIDATE to indicate the mapping PTEs should be zeroed and the local TB flushed.
This function returns NTSTATUS.