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 |
|---|---|---|
|
In |
|
Return value
The table below contains possible values that the kaveEnableKSN function can return.
kaveEnableKSN function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
You are attempting to turn on or off Cloud Protection when it is already initialized or turned off. |
|
KSN component it not enabled. Initialize KAV SDK with the |
|
Your KAV SDK license KEY file with Cloud Protection expired; Cloud Protection is not available. |