Table of Contents

Method ReadPartialMemory

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

ReadPartialMemory(ulong, IntPtr, uint)

Read memory from target and copy it to the local buffer pointed to by destinationBuffer.

public uint ReadPartialMemory(ulong targetRequestStart, IntPtr destinationBuffer, uint destinationBufferSizeInBytes)

Parameters

targetRequestStart ulong

target address in dump file to copy destinationBufferSizeInBytes bytes from.

destinationBuffer IntPtr

pointer to copy the memory to.

destinationBufferSizeInBytes uint

size of the destinationBuffer in bytes.

Returns

uint

Number of contiguous bytes successfully copied into the destination buffer.