Note: A prerelease of this API is available starting in the Windows Insiders Preview Build 17083
HRESULT WINAPI WHvUnmapGpaRange( _In_ WHV_PARTITION_HANDLE Partition, _In_ WHV_GUEST_PHYSICAL_ADDRESS GuestAddress, _In_ UINT64 SizeInBytes );
Handle to the partition object
Specifies the start address of the region in the VM’s physical address space that is unmapped
Specifies the number of bytes that are to be unmapped
Unmapping a previously mapped GPA range makes the memory range unavailable to the partition. Any further access by a virtual processor to the range will result in a memory access exit.