// wdm.h
VOID MmUnmapIoSpace(
[in] PVOID BaseAddress,
[in] SIZE_T NumberOfBytes
);
View the official Windows Driver Kit DDI reference
No description available.
The MmUnmapIoSpace routine unmaps a specified range of physical addresses previously mapped by MmMapIoSpace.
BaseAddress
[in]Pointer to the base virtual address to which the physical pages were mapped.
NumberOfBytes
[in]Specifies the number of bytes that were mapped.
If a driver calls MmMapIoSpace during device start-up, it must call MmUnmapIoSpace when it receives a PnP stop-device or remove-device IRP for the same device object.