Callback For Additional Scan Progress Report (COM)

Method

MyScanProgressReport

Description

This callback method is invoked when each engine completes the scan. The callback can be used for a scan progress report when more than one engine is used. If an engine is not used for any reason such as encrypted archive or scan request on a known file inside the folder, no progress report will be fired for the specific file.

Note

Connection Points

Function prototype

void MyScanProgressReport
(
VARIANT ticket,
VARIANT result,
VARIANT threatList,
VARIANT productName,
VARIANT scanStartTime
VARIANT scanEndTime
VARIANT filePath
)

Arguments

Argument

Description

Data Type

ticket

The ticket which is generated when this scan has been requested.

UINT32

result

A UINT32 value that specifies the scan outcome.

UINT32

threatList

An array of strings(String []). Each string element in the array is the name of the virus which has been detected.

Array of strings

productName

The description of the product.

string

scanStartTime

The time when the scan is started.

date

scanEndTime

The time when the scan is finished.

date

filePath

The path to the file which is scanned.

string