Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Informs the host that the scripting engine has changed states.

HRESULT OnStateChange(
    SCRIPTSTATE ssScriptState  // new state of engine


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

Returns S_OK if successful.

© 2015 Microsoft