Purpose
This function changes the size of the object. This function can be used for disinfection in partner scan function.
Syntax
typedef KAV_SC_RESULT (__cdecl *PFN_SETSIZE)(
KAV_SCAN_CONTEXT context,
unsigned long long size);
Parameters
The PFN_SETSIZE function type has the following parameters.
PFN_SETSIZE parameters
Name |
In/Out |
Type |
Description |
|---|---|---|---|
|
In |
|
Context of the scan task that was passed to the partner scan function. This parameter is a pointer to |
|
In |
|
New size for the object. |
Return value
The return value of PFN_SETSIZE is one of the values of the KAV_SC_RESULT enumeration type. The following return values are possible.
PFN_SETSIZE return values
Return value |
Description |
|---|---|
|
Operation completed successfully. |
|
Operation was canceled by KAV SDK. Check that the monitor cleaning mode allows disinfection. |
|
An error occurred during the operation. See KAV SDK logs for more information. |
|
One or more arguments passed to the function are invalid. |
Remarks
PFN_SETSIZE will return SC_R_FAIL if object modification is not enabled. For more information, see PFN_ONDETECT.