IDkmSymbolCompilerIdQuery.GetCompilerId Method

Definition

Returns the compiler id (LanguageId/VendorId) of a given symbol. See DkmSymbol.GetCompilerId for a more detailed description.

public:
 Microsoft::VisualStudio::Debugger::Evaluation::DkmCompilerId GetCompilerId(Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^ instruction, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ inspectionSession);
public Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId GetCompilerId (Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol instruction, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession inspectionSession);
abstract member GetCompilerId : Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId
Public Function GetCompilerId (instruction As DkmInstructionSymbol, inspectionSession As DkmInspectionSession) As DkmCompilerId

Parameters

instruction
DkmInstructionSymbol

[In] DkmInstructionSymbol represents a method in the target process.

inspectionSession
DkmInspectionSession

[In,Optional] A reference object describing the current inspection session. Common usage is for symbol providers to cache lookups using its data container.

Returns

[Out] LanguageId/VendorId for the compiler which produced the code for this symbol. If this is unknown (ex: no symbols info for this block), both values will be Guid.Empty. Otherwise, both values should be non-zero.

Applies to