Purpose
This function function moves the current position in the object. This function can be used from partner scan function.
Syntax
typedef KAV_SC_RESULT (__cdecl *PFN_SEEK)(
KAV_SCAN_CONTEXT context,
KAV_SC_ORIGIN origin,
long long distance,
unsigned long long* position);
Parameters
The PFN_SEEK function type has the following parameters.
PFN_SEEK 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 |
|
Starting position. For more information, see |
|
In |
|
Distance to move, in bytes. |
|
Out |
|
Resulting position. You can specify |
Return value
The return value of PFN_SEEK is one of the values of the KAV_SC_RESULT enumeration type. The following return values are possible.
PFN_SEEK return values
Return value |
Description |
|---|---|
|
Operation completed successfully. |
|
An error occurred during the operation. See KAV SDK logs for more information. |
|
One or more arguments passed to the function are invalid. |