Callback for Scan Completion (COM)

Method

MyOnScanComplete

Description

This connection point is fired whenever a scan is completed. This event is not global, but is specific to the client that makes this scan request. In other words, when scanning is requested by a client, other client objects will not get a callback when the scanning is completed.

Note

Connection Points

Function prototype

void MyOnScanComplete
(
VARIANT ticket,
VARIANT * result,
VARIANT * threatList,
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

scanStartTime

The time when the scan is started.

Date

scanEndTime

The time when the scan is finished.

Date