Udostępnij za pośrednictwem


DkmProcess.WriteMemory(UInt64, Byte[]) Method

Definition

Writes memory to the target process. 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 WriteMemory(System::UInt64 Address, cli::array <System::Byte> ^ Data);
public:
 void WriteMemory(unsigned long long Address, Platform::Array <byte> ^ Data);
void WriteMemory(unsigned long Address, std::Array <byte> const & Data);
public void WriteMemory (ulong Address, byte[] Data);
member this.WriteMemory : uint64 * byte[] -> unit
Public Sub WriteMemory (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