Note: These APIs are not yet publicly available and will be available in the latest release of the Windows SDK.
HRESULT WINAPI ReadGuestPhysicalAddress( _In_ VM_SAVED_STATE_DUMP_HANDLE VmSavedStateDumpHandle, _In_ GUEST_PHYSICAL_ADDRESS PhysicalAddress, _Out_writes_bytes_(BufferSize) LPVOID Buffer, _In_ UINT32 BufferSize, _Out_opt_ UINT32* BytesRead );
Supplies a handle to a dump provider instance.
Supplies the physical address to read.
Returns the read memory range on the given address.
Supplies the requested byte count to read.
Optionally returns the bytes actually read
If the operation completes successfully, the return value is
Reads from the saved state file the given guest physical address range and then it is written into the supplied buffer. If BytesRead returns something lower than BufferSize, then the end of memory has been reached.