GuestPhysicalAddressToRawSavedMemoryOffset function

Translates the given guest physical address to a raw saved memory offset. This is specially useful if callers need to read a memory range directly from all of the guest's saved memory starting in the saved memory address equivalent to the supplied guest physical address. Translation from raw saved memory offset to physical address is not supported.

Syntax

HRESULT
WINAPI
GuestPhysicalAddressToRawSavedMemoryOffset(
    _In_    VM_SAVED_STATE_DUMP_HANDLE      VmSavedStateDumpHandle,
    _In_    GUEST_PHYSICAL_ADDRESS          PhysicalAddress,
    _Out_   UINT64*                         RawSavedMemoryOffset
    );

Parameters

VmSavedStateDumpHandle

Supplies a handle to a dump provider instance.

PhysicalAddress

Supplies the guest physical address to translate.

RawSavedMemoryOffset

Returns the raw saved memory offset for a given physical address.

Return Value

If the operation completes successfully, the return value is S_OK.

Requirements

Parameter Description
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Library ComputeCore.ext
Dll ComputeCore.ext