Informs the host that the scripting engine has changed states.
HRESULT OnStateChange( SCRIPTSTATE ssScriptState // new state of engine );
- ssScriptState
[in] Value that indicates the new script state. See the IActiveScript::GetScriptState method for a description of the states.
Returns S_OK if successful.