DllModule.Execute
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
DllModule.Execute
Syntax
DllModule.Execute( sequenceContextParam, argumentsParam)
Purpose
Use this method to call a DLL module function directly without using a step, sequence, or execution.
Remarks
When you call a DLL module function using this method you can evaluate the parameter expressions to determine the argument values or specify the argument values directly using a DllArguments collection.
To use the parameter value expressions, pass a valid SequenceContext object to the sequenceContextParam to use to evaluate the CommonCParameter.ValueExpr expressions.
To pass specific argument values, use the DllParameters.NewArguments method to create a collection of DllArgument objects and set the DllArgument.Value property on each item in the collection.
Parameters
sequenceContextParam As SequenceContext
[In] Specifies the SequenceContext object that this method uses to evaluate each of the CommonCParameter.ValueExpr expressions in the module parameters. Pass NULL for this parameter if you pass a DllArguments collection to the argumentsParam parameter.
argumentsParam As DllArguments
[In] Specifies the argument collection that contains the argument values to pass to the function. Pass NULL for this parameter to pass the values obtained from evaluating each of the CommonCParameter.ValueExpr expressions in the module parameters.