Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Stops profiling on the scripting engine. This method calls IActiveScriptProfilerCallback::Shutdown on the profiler object and then releases it.
Syntax
HRESULT StopProfiling(
[in] HRESULT hrShutdownReason);
Parameters
hrShutdownReason
[in] The HRESULT to be passed as a parameter to the IActiveScriptProfilerCallback::Shutdown method of the profiler object.
Return Value
Returns an HRESULT. Possible values are as follows:
Return Value | Meaning |
---|---|
S_OK |
The method succeeded. |
ACTIVPROF_E_PROFILER_ABSENT |
Profiling is not enabled. |