MmAllocateMappingAddressEx function (wdm.h)
The MmAllocateMappingAddressEx function allocates a system PTE mapping of the requested length that can be used later to map arbitrary addresses.
Syntax
PVOID MmAllocateMappingAddressEx(
SIZE_T NumberOfBytes,
ULONG PoolTag,
ULONG Flags
);
Parameters
NumberOfBytes
Supplies the maximum number of bytes the mapping can span.
PoolTag
Supplies a pool tag to associate this mapping to the caller.
Flags
Return value
Returns a virtual address where to use for later mappings.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 |
Header | wdm.h |
IRQL | <=APC_LEVEL |