DkmModule.GetSymbolInterface(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.

Location constraint: With the exception of managed symbols, this method must be called from the same process where the symbol provider has opened the symbol file. For Native PDB files, this means that the API must be called from the IDE process. For Managed symbols, a subset of the symbol provider API is provided on both sides of the remote connection.

public:
 System::Object ^ GetSymbolInterface(Guid InterfaceID);
public object GetSymbolInterface (Guid InterfaceID);
member this.GetSymbolInterface : Guid -> obj
Public Function GetSymbolInterface (InterfaceID As Guid) As Object

Parameters

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