IDkmInstructionPatchNotification.OnInstructionPatchInserted Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void OnInstructionPatchInserted(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, System::UInt64 address, cli::array <System::Byte> ^ originalMemory);
public void OnInstructionPatchInserted (Microsoft.VisualStudio.Debugger.DkmProcess process, ulong address, byte[] originalMemory);
abstract member OnInstructionPatchInserted : Microsoft.VisualStudio.Debugger.DkmProcess * uint64 * byte[] -> unit
Public Sub OnInstructionPatchInserted (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 replaced in the target process.