IActiveScriptProfilerControl::SetProfilerEventMask
Sets a 4-byte bitmask that specifies the types of events that the scripting engine should raise.
Syntax
HRESULT SetProfilerEventMask(
[in] DWORD dwEventMask);
Parameters
dwEventMask
[in] A 4-byte bitmask that specifies the types of events. The bits are defined in PROFILER_EVENT_MASK Enumeration.
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. |