Result codes of scanning tasks

The table below describes the values returned by the scanning functions to the variable of the KAV_RESULT type pointed by the pResult pointer defined in the scanning function.

These values can also be returned in the dwParam1 parameter of the callback function when the latter is called with the EVENT_RESULT event passed in the dwEvent parameter.

Scan results

Scan result

Description

KAV_S_R_CLEAN

The scanned object is not infected.

KAV_S_R_INFECTED

The scanned object is infected.

KAV_S_R_DISINFECTED

The scanned object has been successfully disinfected.

KAV_S_R_SUSPICIOUS

The scanned object looks suspicious although there is no appropriate signature in the anti-virus database.

KAV_S_R_NONSCANNED

The object was not scanned.

The error source is returned with the EVENT_ERROR event.

Example: this scan result is returned by scanning client when server side ends unexpectedly.

KAV_S_R_CORRUPTED

The object is corrupted.

KAV_S_R_ACCESSDENIED

Access to the object is denied.

KAV_S_R_CANCELED

Scan canceled (also returned when the scan timeout has expired).

KAV_S_R_FAILURE

Scan failed.

KAV_S_R_SKIPPED

Scan skipped.

KAV_S_R_PASSWORD_PROTECTED

The object to scan is password protected; the object cannot be scanned.

Page top