kaveGetKsnSettings

Gets the parameters of file and URL reputation requests which are performed by scanning and monitoring functions when Cloud Protection is enabled.

Be sure to initialize the structSize field of the passed structure before invoking kaveGetKsnSettings.

The function is not supported on Linux platform when KAV SDK is integrated in service mode.

Syntax

HRESULT kaveGetKsnSettings (

KAV_KSN_SETTINGS *settings);

Parameters

The kaveGetKsnSettings function has the following parameters.

kaveGetKsnSettings function parameters

Name

Type

Description

settings

out

A pointer to the structure to store settings of the cloud requests. The function fills the structure with actual values.

For more details on cloud request settings structure, see KAV_KSN_SETTINGS.

Return value

The table below contains possible values that the kaveGetKsnSettings function can return.

kaveGetKsnSettings function return codes

Return code

Description

S_OK

The function succeeds.

E_UNEXPECTED

The KAV_SHT_ENGINE_KSN flag was not set on KAV SDK initialization.

Page top