次の方法で共有


DkmProcess.InvisibleWriteMemory(UInt64, Byte[]) Method

Definition

Write memory to the target process, but hide the write from calls to ReadMemory. This API may be used to patch instructions or data within the target process to implement debugger features. Before data transfer occurs, the system verifies that all data in the base address and memory of the specified size is accessible for write access, and if it is not accessible, the function raises an E_INVALID_MEMORY_ADDRESS error.

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

Parameters

Address
UInt64

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

Data
Byte[]

[In] Data to be written in the address space of the specified process.

Applies to