IDkmIntrinsicFunctionEvaluator.Execute 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.
Executes an intrinsic function.
public:
cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ Execute(Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILExecuteIntrinsic ^ executeIntrinsic, Microsoft::VisualStudio::Debugger::Evaluation::DkmILContext ^ iLContext, cli::array <Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILEvaluationResult ^> ^ arguments, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Evaluation::DkmCompiledInspectionQuery ^> ^ subroutines, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Debugger::Evaluation::IL::DkmILFailureReason % failureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] Execute (Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILExecuteIntrinsic executeIntrinsic, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext iLContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason failureReason);
public Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[]? Execute (Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILExecuteIntrinsic executeIntrinsic, Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext iLContext, Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] arguments, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery>? subroutines, out Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILFailureReason failureReason);
abstract member Execute : Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILExecuteIntrinsic * Microsoft.VisualStudio.Debugger.Evaluation.DkmILContext * Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[] * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Evaluation.DkmCompiledInspectionQuery> * DkmILFailureReason -> Microsoft.VisualStudio.Debugger.Evaluation.IL.DkmILEvaluationResult[]
Public Function Execute (executeIntrinsic As DkmILExecuteIntrinsic, iLContext As DkmILContext, arguments As DkmILEvaluationResult(), subroutines As ReadOnlyCollection(Of DkmCompiledInspectionQuery), ByRef failureReason As DkmILFailureReason) As DkmILEvaluationResult()
Parameters
- executeIntrinsic
- DkmILExecuteIntrinsic
[In] Pops the arguments off the IL stack in reverse order (prior to the DkmILExecuteIntrinsic instruction, arguments should be pushed on the stack in order). Then, executes an EE-defined operation that makes use of these values. Then, pushes the result back onto the IL stack.
- iLContext
- DkmILContext
[In] The stack frame context we are evaluating on.
- arguments
- DkmILEvaluationResult[]
[In] The arguments supplied to the intrinsic function.
- subroutines
- ReadOnlyCollection<DkmCompiledInspectionQuery>
[In,Optional] Optional array of IL-based subroutines that the intrinsic function may choose to invoke during its operation.
- failureReason
- DkmILFailureReason
[Out] If an error occurs, specifies the reason for the error. To indicate an error code whose meaning is specific to the particular intrinsic function being executed, return a value less than zero.
Returns
[Out] The results of the evaluation to be pushed onto the IL stack (in order).