Share via


DkmProcess.OnInstructionPatchInserted(UInt64, Byte[]) Method

Definition

Method called by the base debug monitor to inform other components that the instruction memory of the target process was modified. Currently, this is only used for breakpoint insertion.

Location constraint: API must be called from a Monitor component (component level < 100,000).

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

Parameters

Address
UInt64

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

OriginalMemory
Byte[]

[In] The original code bytes which were replaced in the target process.

Applies to