IWebApplicationScriptEvents::BeforeScriptExecuted method
Fired before any script is executed on the page.
Syntax
HRESULT BeforeScriptExecuted(
[in] IHTMLWindow2 *htmlWindow,
[in] IActiveScript *scriptEngine
);
Parameters
-
htmlWindow [in]
-
Type: IHTMLWindow2*
The windows or frame that is about to execute its first script.
-
scriptEngine [in]
-
Type: IActiveScript*
The script engine.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
IDL |
|