Callback Return Values in the Profiling API
A profiler returns a status value as an HRESULT for each notification that the common language runtime (CLR) raises. This status value may be S_OK or E_FAIL. Currently, the runtime ignores the status value in every callback except for the ICorProfilerCallback::ObjectReferences method.