IGWv4ScriptFunction
Interface for calling functions within scripts.
Contents
Public Methods
| Function | Description |
|---|---|
| Bind | Bind the function to the script if it was recompiled. |
| Call | Calls the function (will automatically attempt to bind if not already done so or if the script was recompiled). If the function cannot be bound, this will result in an error E_INVALIDARG. |
Public Methods
Method: Bind
Bind the function to the script if it was recompiled.
HRESULT Bind([out, retval] int *ok)Returns
0 if the function name does not exist or the script is invalid.
Method: Call
Calls the function (will automatically attempt to bind if not already done so or if the script was recompiled). If the function cannot be bound, this will result in an error E_INVALIDARG.
HRESULT Call([in] SAFEARRAY(VARIANT) args, [out, retval] VARIANT *ret)