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 |
|---|---|---|
|
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, |
Return value
The table below describes the possible return values of the kaveRemoveTrustedProcess function.
kaveRemoveTrustedProcess function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
Unexpected error occurred during execution. |
|
The function was called at unexpected moment: for example, before the SDK is initialized. |
|
Invalid arguments have been passed to the function. |