kaveEnableKSN

Turns on or off Cloud Protection feature.

Syntax

HRESULT kaveEnableKSN (

BOOL bEnable

);

Parameters

The kaveEnableKSN function has the following parameters.

kaveEnableKSN function parameters

Name

Type

Description

bEnable

In

  • TRUE—Turns on Cloud Protection.
  • FALSE—Turns off Cloud Protection.

Return value

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

kaveEnableKSN function return codes

Return code

Description

S_OK

The function succeeds.

S_FALSE

You are attempting to turn on or off Cloud Protection when it is already initialized or turned off.

E_UNEXPECTED

KSN component it not enabled. Initialize KAV SDK with the KAV_SHT_ENGINE_KSN flag specified in the initialization function to enable KSN component, which is used in Cloud Protection.

KAV_E_LICENSE_LIMITED

Your KAV SDK license KEY file with Cloud Protection expired; Cloud Protection is not available.

Page top