kaveSelfDefenseLoad

Loads the Self Defense into system memory.

Before you could use Self Defense features, you must load the Self Defense library into memory by invoking kaveSelfDefenseLoad function and set the path to the location of the Self Defense.

Syntax

BOOL kaveSelfDefenseLoad (

LPCTSTR szPath

)

Parameters

The kaveSelfDefenseLoad function has the following parameters.

kaveSelfDefenseLoad function parameters

Name

Type

Description

szPath

In

Location of the Self Defense library.

Full and relative paths are supported.

NULL—look up for the library in the working folder of your application.

Return value

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

kaveSelfDefenseLoad function return codes

Return code

Description

TRUE

The function succeeds.

FALSE

The Self Defense library failed to load.

Page top