kaveGetDatabasesInfo

Gets information about the loaded and currently used anti-virus database. This information includes the database release date and time (local time set on the given machine). If the stream anti-virus engine is loaded, the function gets the current total number of signatures of malware in the database and does not return database release time.

The kaveGetDatabasesInfo function returns the correct database release time only if the SDK is initialized with the KAV_SHT_ENGINE_KLAV anti-virus database loading option. This flag is added by default to the dwScannerHostType parameter of the initialization function, but may be absent if you explicitly omitted it. For more information about initialization functions, see kaveInitialize and kaveInitializeEx.

Syntax

HRESULT kaveGetDatabasesInfo (

KAV_DATABASES_INFO *pDatabasesInfo);

Parameters

The kaveGetDatabasesInfo function has the following parameters.

kaveGetDatabasesInfo function parameters

Name

Type

Description

pDatabasesInfo

out

If the function succeeds, it is a pointer to the structure containing information about the anti-virus database.

For more information about this structure, see KAV_DATABASES_INFO.

Return value

If the kaveGetDatabasesInfo function succeeds, its return value is S_OK.

For other return codes, see section "Return codes".

Page top