Share via


IActiveScriptSite::OnStateChange

Informs the host that the scripting engine has changed states.

Syntax

HRESULT OnStateChange(  
    SCRIPTSTATE ssScriptState  // new state of engine  
);  

Parameters

ssScriptState
[in] Value that indicates the new script state. See the IActiveScript::GetScriptState method for a description of the states.

Return Value

Returns S_OK if successful.

See also

IActiveScriptSite