IDkmSymbolCompilerIdQueryCallback.GetCompilerIdCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.