Informs the host that the scripting engine has changed states.

Microsoft® Windows® Script Interfaces
IActiveScriptSite::OnStateChange
 Language Reference
Previous
Next

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

  • Returns S_OK if successful.