Udostępnij za pośrednictwem


IDkmSymbolQuery.GetSymbolInterface(DkmModule, Guid) Method

Definition

GetSymbolInterface is used to obtain a raw COM interface to a symbol store. This is useful to either callers that find the symbol abstraction presented by the debugger to be either too restrictive for their needs, or simply undesirable due to how their component is implemented.

public:
 System::Object ^ GetSymbolInterface(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ module, Guid interfaceID);
public object GetSymbolInterface (Microsoft.VisualStudio.Debugger.Symbols.DkmModule module, Guid interfaceID);
abstract member GetSymbolInterface : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * Guid -> obj
Public Function GetSymbolInterface (module As DkmModule, interfaceID As Guid) As Object

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.

interfaceID
Guid

[In] The GUID of the desired interface. Microsoft supports IID_IDiaSession for Native DkmModule's, and IID_ISymUnmanagedReader for Managed modules.

Returns

[Out] Returned symbol interface. This may be cast to the interface pointer corresponding to 'InterfaceID'.

Applies to