Udostępnij za pośrednictwem


IDkmInstructionPatchNotification.OnInstructionPatchRemoved Method

Definition

Method called by the base debug monitor to inform other components that the instruction memory of the target process was restored to its original state. Currently, this is only used for breakpoint removal.

public:
 void OnInstructionPatchRemoved(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, System::UInt64 address, cli::array <System::Byte> ^ originalMemory);
public void OnInstructionPatchRemoved (Microsoft.VisualStudio.Debugger.DkmProcess process, ulong address, byte[] originalMemory);
abstract member OnInstructionPatchRemoved : Microsoft.VisualStudio.Debugger.DkmProcess * uint64 * byte[] -> unit
Public Sub OnInstructionPatchRemoved (process As DkmProcess, address As ULong, originalMemory As Byte())

Parameters

process
DkmProcess

[In] DkmProcess represents a target process which is being debugged. The debugger debugs processes, so this is the basic unit of debugging. A DkmProcess can represent a system process or a virtual process such as minidumps.

address
UInt64

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

originalMemory
Byte[]

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

Applies to