IDkmInstructionAddressProvider.GetInstructionAddress Method

Definition

Resolves a CPU InstructionAddress to a DkmInstructionAddress.

public:
 void GetInstructionAddress(Microsoft::VisualStudio::Debugger::DkmProcess ^ process, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, System::UInt64 instructionPointer, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::DkmGetInstructionAddressAsyncResult> ^ completionRoutine);
public void GetInstructionAddress (Microsoft.VisualStudio.Debugger.DkmProcess process, Microsoft.VisualStudio.Debugger.DkmWorkList workList, ulong instructionPointer, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmGetInstructionAddressAsyncResult> completionRoutine);
abstract member GetInstructionAddress : Microsoft.VisualStudio.Debugger.DkmProcess * Microsoft.VisualStudio.Debugger.DkmWorkList * uint64 * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.DkmGetInstructionAddressAsyncResult> -> unit
Public Sub GetInstructionAddress (process As DkmProcess, workList As DkmWorkList, instructionPointer As ULong, completionRoutine As DkmCompletionRoutine(Of DkmGetInstructionAddressAsyncResult))

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.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

instructionPointer
UInt64

[In] Memory address where the native instruction is located.

completionRoutine
DkmCompletionRoutine<DkmGetInstructionAddressAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to