IDkmDisassemblyFunctionLabelProvider.GetFunctionRva(DkmModule, UInt64) Method

Definition

Gets the RVA of the function containing the specified RVA.

public:
 System::UInt64 GetFunctionRva(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::UInt64 rVA);
public ulong GetFunctionRva (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, ulong rVA);
abstract member GetFunctionRva : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * uint64 -> uint64
Public Function GetFunctionRva (module As DkmModule, rVA As ULong) As ULong

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
UInt64

[In] The RVA to find the function for.

Returns

[Out] The RVA of the function.

Applies to