Udostępnij za pośrednictwem


DkmProcess.VolatileReadMemory Method

Definition

Overloads

VolatileReadMemory(UInt64, Byte[])

Read memory from the target process. This method differs from 'ReadMemory' in that this method can be called at any time (not just when the target is stopped) and the debugger will not try to cache the result of this operation.

VolatileReadMemory(UInt64, Void*, Int32)

Read memory from the target process. This method differs from 'ReadMemory' in that this method can be called at any time (not just when the target is stopped) and the debugger will not try to cache the result of this operation.

VolatileReadMemory(UInt64, Byte[])

Read memory from the target process. This method differs from 'ReadMemory' in that this method can be called at any time (not just when the target is stopped) and the debugger will not try to cache the result of this operation.

public:
 void VolatileReadMemory(System::UInt64 Address, cli::array <System::Byte> ^ Buffer);
public:
 void VolatileReadMemory(unsigned long long Address, Platform::Array <byte> ^ Buffer);
void VolatileReadMemory(unsigned long Address, std::Array <byte> const & Buffer);
public void VolatileReadMemory (ulong Address, byte[] Buffer);
member this.VolatileReadMemory : uint64 * byte[] -> unit
Public Sub VolatileReadMemory (Address As ULong, Buffer As Byte())

Parameters

Address
UInt64

[In] The base address from which to read the target process's memory.

Buffer
Byte[]

[In,Out] A buffer that receives the contents from the address space of the target process. On failure, the content of this buffer is unspecified.

Exceptions

E_INVALID_MEMORY_ADDRESS indicates that one or more bytes of the request could not be read.

Applies to

VolatileReadMemory(UInt64, Void*, Int32)

Read memory from the target process. This method differs from 'ReadMemory' in that this method can be called at any time (not just when the target is stopped) and the debugger will not try to cache the result of this operation.

public:
 void VolatileReadMemory(System::UInt64 Address, void* Buffer, int Size);
void VolatileReadMemory(unsigned long Address, void* Buffer, int Size);
public void VolatileReadMemory (ulong Address, void* Buffer, int Size);
member this.VolatileReadMemory : uint64 * nativeptr<unit> * int -> unit

Parameters

Address
UInt64

[In] The base address from which to read the target process's memory.

Buffer
Void*

[In,Out] A buffer that receives the contents from the address space of the target process. On failure, the content of this buffer is unspecified.

Size
Int32

[In] The number of bytes to be read from the process. In scenarios where the call is marshalled to the remote debugger from the IDE, this must be less than 25 MBs.

Exceptions

E_INVALID_MEMORY_ADDRESS indicates that one or more bytes of the request could not be read.

Applies to