Turns on logging for the Self Defense technology.
Please turn logging before using Self Defense API.
KAV SDK creates a log file at the specified location upon the invocation of the function.
Syntax
/* ANSI version */
HRESULT kaveSelfDefenseEnableLogA (
const char * logPath
);
/* UNICODE version */
HRESULT kaveSelfDefenseEnableLogW (
const wchar * logPath
);
Parameters
The kaveSelfDefenseEnableLog function has the following parameters.
kaveSelfDefenseEnableLog function parameters
Name |
Type |
Description |
|---|---|---|
|
In |
Full path in UNICODE (for |
Return value
The table below contains possible values that the kaveSelfDefenseEnableLog function can return.
kaveSelfDefenseEnableLog function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
|
|
An attempt has been made to call the |
|
An error occurred when enabling logging for the Self Defense technology. |