IActiveScript::GetScriptState

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.

Syntax

HRESULT GetScriptState(  
    SCRIPTSTATE *pss  // address of structure for state information  
);  

Parameters

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.

Return Value

Returns S_OK if successful, or E_POINTER if an invalid pointer was specified.

See also

IActiveScript