Udostępnij za pośrednictwem


IDkmSymbolCompilerIdQueryCallback.GetCompilerIdCallback 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 GetCompilerIdCallback(Microsoft::VisualStudio::Debugger::Symbols::DkmInstructionSymbol ^ instruction, Microsoft::VisualStudio::Debugger::Evaluation::DkmInspectionSession ^ inspectionSession);
public Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId GetCompilerIdCallback (Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol instruction, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession inspectionSession);
public Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId GetCompilerIdCallback (Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol instruction, Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession? inspectionSession);
abstract member GetCompilerIdCallback : Microsoft.VisualStudio.Debugger.Symbols.DkmInstructionSymbol * Microsoft.VisualStudio.Debugger.Evaluation.DkmInspectionSession -> Microsoft.VisualStudio.Debugger.Evaluation.DkmCompilerId
Public Function GetCompilerIdCallback (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