DkmClrNcContainerModuleInstance.CreateInstructionAddressFromRva Method

Definition

Creates a DkmClrNcInstructionAddress from an RVA into the module.

This method will append a new work item to the specified work list, and return once the work item has been appended. The actual processing of the work item is asynchronous. The caller will be notified that the request is complete through the completion routine.

This API was introduced in Visual Studio 15 Update 6 (DkmApiVersion.VS15Update6).

public:
 void CreateInstructionAddressFromRva(Microsoft::VisualStudio::Debugger::DkmWorkList ^ WorkList, System::UInt32 Rva, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Clr::NativeCompilation::DkmCreateInstructionAddressFromRvaAsyncResult> ^ CompletionRoutine);
public void CreateInstructionAddressFromRva (Microsoft.VisualStudio.Debugger.DkmWorkList WorkList, uint Rva, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.NativeCompilation.DkmCreateInstructionAddressFromRvaAsyncResult> CompletionRoutine);
member this.CreateInstructionAddressFromRva : Microsoft.VisualStudio.Debugger.DkmWorkList * uint32 * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Clr.NativeCompilation.DkmCreateInstructionAddressFromRvaAsyncResult> -> unit
Public Sub CreateInstructionAddressFromRva (WorkList As DkmWorkList, Rva As UInteger, CompletionRoutine As DkmCompletionRoutine(Of DkmCreateInstructionAddressFromRvaAsyncResult))

Parameters

WorkList
DkmWorkList

WorkList to append the new work item to.

Rva
UInt32

[In] RVA of the instruction address.

CompletionRoutine
DkmCompletionRoutine<DkmCreateInstructionAddressFromRvaAsyncResult>

Routine to fire when the request is complete. If the request is successfully appended to the work list, this will always fire (including when the operation is canceled). This will never fire if appending the work item fails.

Applies to