Retrieves the current maximum CPU load level—a share of the CPU resources that can be utilized by the KAV SDK without conceding resources to other processes.
By default, this level is set to 0% and the KAV SDK always concedes resources to other programs. It can be changed by using the kaveSetConcedeResourcesCPULoadLevel function described above.
The current KAV SDK version does not contain implementation of this function for Linux-based solutions.
Syntax
HRESULT kaveGetConcedeResourcesCPULoadLevel (
unsigned long *pdwPercent);
Parameters
The kaveGetConcedeResourcesCPULoadLevel function has the following parameters.
kaveGetConcedeResourcesCPULoadLevel function parameters
Name |
Type |
Description |
|---|---|---|
|
out |
A pointer to the variable where the current maximum CPU load level will be written. |
Return value
If the kaveGetConcedeResourcesCPULoadLevel function succeeds, its return value is S_OK.
For other return codes, see section "Return codes".
Page top