DkmProcess.VolatileReadMemory 方法

定义

重载

VolatileReadMemory(UInt64, Byte[])

从目标进程读取内存。 此方法与 "ReadMemory" 的不同之处在于,在任何时候都可以调用此方法 (不只是当目标停止时) 并且调试器不会尝试缓存此操作的结果。

VolatileReadMemory(UInt64, Void*, Int32)

从目标进程读取内存。 此方法与 "ReadMemory" 的不同之处在于,在任何时候都可以调用此方法 (不只是当目标停止时) 并且调试器不会尝试缓存此操作的结果。

VolatileReadMemory(UInt64, Byte[])

从目标进程读取内存。 此方法与 "ReadMemory" 的不同之处在于,在任何时候都可以调用此方法 (不只是当目标停止时) 并且调试器不会尝试缓存此操作的结果。

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())

参数

Address
UInt64

中从中读取目标进程的内存的基址。

Buffer
Byte[]

[In,Out]接收目标进程的地址空间中的内容的缓冲区。 失败时,此缓冲区内容是未指定的。

例外

E_INVALID_MEMORY_ADDRESS 指示无法读取请求的一个或多个字节。

适用于

VolatileReadMemory(UInt64, Void*, Int32)

从目标进程读取内存。 此方法与 "ReadMemory" 的不同之处在于,在任何时候都可以调用此方法 (不只是当目标停止时) 并且调试器不会尝试缓存此操作的结果。

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

参数

Address
UInt64

中从中读取目标进程的内存的基址。

Buffer
Void*

[In,Out]接收目标进程的地址空间中的内容的缓冲区。 失败时,此缓冲区内容是未指定的。

Size
Int32

中要从进程中读取的字节数。 在从 IDE 向远程调试器封送到远程调试器的情况下,这必须小于 25 Mb。

例外

E_INVALID_MEMORY_ADDRESS 指示无法读取请求的一个或多个字节。

适用于