The KAV API library has several scanning functions. Each function is used to scan certain types of objects for malware:
kaveScanFile—scans fileskaveScanMemory—scans local process memorykaveScanStream—scans IStreams objectskaveScanCriticalArea—scans computer's critical areas which include boot sectors and startup objectskaveScanForRootkitsInFolder—scans for hidden objects and detects rootkitskaveCheckURL—scans a web address by the Web Malicious URL Filtering (WMUF) database.Except for the arguments indicating the objects to be scanned, the scanning functions have the same parameters. The most important are scanning mode and cleaning mode.
The choice of a scanning mode significantly affects the application performance. For more information about the scanning mode options, see section "Scanning modes".
The cleaning mode defines how the application will process malware detection events. For possible values of the cleaning mode parameter, see section "Cleaning modes".