Sets the maximum CPU load level—after share of the CPU resources utilized by the KAV SDK exceeds the specified level, the KAV SDK turns on the mechanism for conceding resources to other processes.
By default, this level is 0% and the KAV SDK always concedes resources to other programs. If there is no need for the KAV SDK to concede resources, set the maximum CPU load level to 100%.
The current KAV SDK version does not contain implementation of this function for Linux-based solutions.
Syntax
HRESULT kaveSetConcedeResourcesCPULoadLevel (
unsigned long dwPercent);
Parameters
The kaveSetConcedeResourcesCPULoadLevel function has the following parameters.
kaveSetConcedeResourcesCPULoadLevel function parameters
Name |
Type |
Description |
|---|---|---|
|
in |
The maximum share of the CPU load (in percent) that can be utilized by the KAV SDK without conceding resources. |
Return value
If the kaveSetConcedeResourcesCPULoadLevel function succeeds, its return value is S_OK.
For other return codes, see section "Return codes".
Page top