kaveRemoveTrustedProcess

Removes a process from the trusted processes list: applications from this list are ignored by the KAV monitoring functions.

This function is not available in native builds of KAV SDK for x64 Windows platform and on all types of Linux platforms.

Syntax

HRESULT kaveRemoveTrustedProcess (

 const char *pImagePath);

Parameters

The kaveRemoveTrustedProcess function has the following parameters.

kaveRemoveTrustedProcess function parameters

Name

Type

Description

pImagePath

in

The full path to the name of executable file, which must be excluded from the trusted processes list.

Environment variables can be used when specifying this name, for example, "%ProgramFiles%\\Far\\Far.exe".

Return value

The table below describes the possible return values of the kaveRemoveTrustedProcess function.

kaveRemoveTrustedProcess function return codes

Return code

Description

S_OK

The function succeeds.

E_FAIL

Unexpected error occurred during execution.

E_UNEXPECTED

The function was called at unexpected moment: for example, before the SDK is initialized.

E_INVALIDARG

Invalid arguments have been passed to the function.

Page top