IActiveScriptProfilerCallback2::OnFunctionEnterByName
Notifies the profiler object that the scripting engine is going to execute a Document Object Model (DOM) function call.
Syntax
HRESULT OnFunctionEnterByName(
[in] [string] const WCHAR *pwszFunctionName,
[in] PROFILER_SCRIPT_TYPE scriptType);
Parameters
pwszFunctionName
[in] The name of the function that the scripting engine is going to execute.
scriptType
[in] The type of the function. For descriptions of valid values, see PROFILER_SCRIPT_TYPE Enumeration.
Return Value
The return value of this method is ignored by the scripting engine.
Remarks
For DOM calls, the scripting engine calls this method instead of calling IActiveScriptProfilerCallback::OnFunctionEnter. This is due to the large number of unique methods and properties in the DOM.
See also
IActiveScriptProfilerCallback2::OnFunctionExitByName
IActiveScriptProfilerCallback2 Interface