Udostępnij za pośrednictwem


IDkmNativeSymbolProviderCallback.GetPublicSymbolByNameCallback Method

Definition

Return the RVA for an S_PUBLIC32 for a particular name by string.

public:
 Microsoft::VisualStudio::Debugger::Native::DkmNativeInstructionSymbol ^ GetPublicSymbolByNameCallback(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, System::String ^ publicName);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol GetPublicSymbolByNameCallback (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, string publicName);
public Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol? GetPublicSymbolByNameCallback (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, string publicName);
abstract member GetPublicSymbolByNameCallback : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * string -> Microsoft.VisualStudio.Debugger.Native.DkmNativeInstructionSymbol
Public Function GetPublicSymbolByNameCallback (module As DkmModule, publicName As String) As DkmNativeInstructionSymbol

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.

publicName
String

[In] The name of the public symbol to lookup.

Returns

[Out,Optional] The native instruction symbol for this public symbol.

Applies to