Executes the specified script.
Syntax
HRESULT execScript( BSTR code, BSTR language, VARIANT *pvarRet );
Parameters
- code
- String (BSTR) that specifies the script code to execute.
- language
- String (BSTR) that specifies the language in which the code is executed. The default is Microsoft® JScript® (compatible with ECMA 262 language specification).
- pvarRet
- Address of a VARIANT structure that receives the return value from the script code.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0