Retrieves the current state of the scripting engine. This method can be called from non-base threads without resulting in a non-base callout to host objects or to the IActiveScriptSite interface.
HRESULT GetScriptState( SCRIPTSTATE *pss // address of structure for state information );
- pss
[out] Address of a variable that receives a value defined in the SCRIPTSTATE Enumeration enumeration. The value indicates the current state of the scripting engine associated with the calling thread.
Returns S_OK if successful, or E_POINTER if an invalid pointer was specified.