IDkmGPUSymbolQuery.GetInstructionOffsetForRva(DkmModule, UInt32) Method

Definition

GetInstructionOffsetForRva is used by components to query symbol provider to perform instruction offset and RVA translation for DPC++.

public:
 System::UInt32 GetInstructionOffsetForRva(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::UInt32 rVA);
public uint GetInstructionOffsetForRva (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, uint rVA);
abstract member GetInstructionOffsetForRva : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * uint32 -> uint32
Public Function GetInstructionOffsetForRva (module As DkmModule, rVA As UInteger) As UInteger

Parameters

module
DkmModule

[In] The DkmModule class represents a code bundle (ex: dll or exe) which is or once was loaded into one or more processes. The DkmModule class is the central object to the symbol APIs, and is 1:1 with the symbol handler's notation of what is loaded. If a code bundle loads into three different processes (or the same process but with three different base addresses or three different app domains) but the symbol handler thinks of all of these as being identical, there will be only one module object.

rVA
UInt32

[In] The RVA within a module.

Returns

[Out] The instruction offset from stub function.

Applies to