IDkmSymbolProviderCallback.GetFunctionInfo(DkmModule, String) Method

Definition

Search a module's symbols for a function with the specified name. Returns the RVA and size if it is found.

public:
 cli::array <Microsoft::VisualStudio::Debugger::Symbols::DkmRVASizePair> ^ GetFunctionInfo(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::String ^ functionName);
public Microsoft.VisualStudio.Debugger.Symbols.DkmRVASizePair[] GetFunctionInfo (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, string functionName);
public Microsoft.VisualStudio.Debugger.Symbols.DkmRVASizePair[]? GetFunctionInfo (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, string functionName);
abstract member GetFunctionInfo : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * string -> Microsoft.VisualStudio.Debugger.Symbols.DkmRVASizePair[]
Public Function GetFunctionInfo (module As DkmModule, functionName As String) As DkmRVASizePair()

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.

functionName
String

[In] The name of the function to search for.

Returns

[Out] The RVA / size pairs from the query.

Applies to