This section describes what happens in the situation when the scanning function is called with the KAV_DELETE cleaning mode and the suspicious object is detected.
The stateflow for this mode when dealing with suspicious objects is the same as for infected objects. The only difference is that the KAV SDK will invoke the callback function with the EVENT_SUSPECTED event after EVENT_PREDETECT event is handled.
For any of the cleaning modes the EVENT_PREDETECT callback event always arises before the detection event. It enables to cancel further scanning of the object by using the corresponding callback function return code.
The diagram below demonstrates the sequence of callback function calls.

Detection of suspicious objects in KAV_DELETE cleaning mode
Page top