Regardless of the object to scan, scanning functions use several common parameters defining basic scan settings. These parameters are:
KAV_RESULT object where scanning result is written. This parameter also defines if scanning is synchronous or not. For more details, see section "Synchronous and asynchronous scanning". For more information on scanning results and their possible values, see section "Scan results".Scan priority can take positive integer values. The higher the value is, the higher the priority is. The value defines the order of priority according to which a scan request is selected from the scanning queue. The queue is sorted so as the requests with higher priority get before the requests with lower priority.
Scan timeout defines the maximum time in milliseconds allowed for performing a scan task. After the specified timeout expires, scanning is stopped. This variable can be set to positive integer value or to "INFINITE" (or "0") which corresponds to no timeout.
Scan ID helps to distinguish scan tasks and their results in case of asynchronous scanning—it is used for accessing the scanning result through a callback function. It can also be used for canceling the scanning task with this ID.
Page top