kaveSelfDefenseClear

Turns off the Self Defense when called from within your installer.

Syntax

HRESULT kaveSelfDefenseClear()

Parameters

The kaveSelfDefenseClear function does not accept parameters.

Return value

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

kaveSelfDefenseClear function return codes

Return code

Description

S_OK

The function succeeds.

E_NOTIMPL

An attempt has been made to call the kaveSelfDefenseClear function before loading KAV SDK in system memory.

E_FAIL

An error occurred when uninstalling protection by Self Defense from your system.

Remarks

KAV SDK uses the following procedure to uninstall Self Defense from your computer:

  1. Unregisters your public encryption key from the system by removing the key from the registry.
  2. Cleans access rules passed from your application.
  3. Turns off Self Defense.
Page top