To remove event handlers, call
TraceEvent()
with these commands:
- _NTO_TRACE_DELCLASSEVHANDLER
- Remove the function for the given class and event type:
TraceEvent(_NTO_TRACE_DELCLASSEVHANDLER, class);
- _NTO_TRACE_DELEVENTHANDLER
- Remove the function for the given class and event type:
TraceEvent(_NTO_TRACE_DELEVENTHANDLER, class, event);