Callback For Scan Progress Report (COM)

Method

MyScanProgressReport

Description

This method is called to initialize the connection to the Metadefender Core service. This method needs to be called before any other method can be called.

Note

Connection Points

Function prototype

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

Arguments

Argument

Description

Data Type

ticket

The ticket that 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

productNumber

The order of scan completion among the usable AVs.

UINT32

totalNumberOfProducts

The number of products scan is requested for this ticket.

UINT32

scanStartTime

The time when the scan is started.

date

scanEndTime

The time when the scan is finished.

date