Note: These APIs are not yet publicly available and will be available in the latest release of the Windows SDK.
HRESULT WINAPI ReadGuestRawSavedMemory( _In_ VM_SAVED_STATE_DUMP_HANDLE VmSavedStateDumpHandle, _In_ UINT64 RawSavedMemoryOffset, _Out_writes_bytes_(BufferSize) LPVOID Buffer, _In_ UINT32 BufferSize, _Out_opt_ UINT32* BytesRead );
Supplies a handle to a dump provider instance.
Byte offset on the raw saved memory from where to start reading.
Returns the raw memory read on the current raw memory offset.
Supplies the requested byte count to read.
Optionally returns the bytes actually read.
If the operation completes successfully, the return value is
Reads raw memory from the saved state file. This function reads raw memory from the saved state file as if it were a flat memory layout, regardless of the guest memory layout. If BytesRead returns something lower than BufferSize, then the end of memory has been reached.