IActiveScriptProfilerCallback::OnFunctionEnter
Notifies the profiler object that the scripting engine is about to execute a function call that is not a call into the Document Object Model (DOM).
Syntax
HRESULT OnFunctionEnter(
[in] PROFILER_TOKEN scriptId,
[in] PROFILER_TOKEN functionId);
Parameters
scriptId
[in] The unique ID of the script that the function is part of. This ID is assigned by the scripting engine.
functionId
[in] The unique ID of the function. This ID is assigned by the scripting engine.
Return Value
The return value of this method is ignored by the scripting engine.
Remarks
For DOM calls, the scripting engine calls IActiveScriptProfilerCallback2::OnFunctionEnterByName instead of IActiveScriptProfilerCallback::OnFunctionEnter
. This is due to the large number of unique methods and properties in the DOM.
See also
IActiveScriptProfilerCallback::OnFunctionExit
IActiveScriptProfilerCallback Interface