One of the structures that defines file monitor settings.
The new KAV_FILE_MONITOR_SETTINGS2 structure is available for configuring the File Monitor. This structure provides more settings that you can configure within the File Monitor to tailor it to your needs.
This structure is not used for Linux-based solutions. This structure is used for backward compatibility only.
Syntax
struct KAV_FILE_MONITOR_SETTINGS
{
KAV_MONITOR_SETTINGS s;
unsigned long dwScanningMode;
unsigned long dwSizeLimitMB;
unsigned long dwCleaningMode;
unsigned long dwTimeout;
char *pExcludeMask;
char *pIncludeMask;
char cReserved;
};
Members
KAV_FILE_MONITOR_SETTINGS structure members
Member name |
Description |
|---|---|
|
General monitor settings defined by the |
|
Scanning mode. For more information, see section "Scanning modes". |
|
A cleaning mode. For more information, see section "Cleaning modes". |
|
The maximum time in milliseconds allotted for performing a scan task. |
|
The maximum archive unpacking size in Mbytes. |
|
A pointer to the string describing exclude mask. The exclude mask defines the files that should NOT be monitored even if they are covered by the include mask. It consists of the substrings separated by spaces, commas or semicolons. The substring may contain values based on the following patterns:
Paths that do not have a terminating backslash at the end of the string are not supported. Please make sure to add the backslash to the specified path. Incorrect notation: Proper notation:
Please notice the backslash terminating the string. This backslash enables recursion specifying that all the files and folders under the provided path will be excluded from scanning.
Make sure to always specify absolute paths. For example:
If the mask value is an empty string or |
|
A pointer to the string describing include mask. The include mask defines the files that should be monitored. It consists of the substrings separated by spaces, commas or semicolons. The substring may contain values based on the following patterns:
Paths that do not have a terminating backslash at the end of the string are not supported. Please make sure to add the backslash to the specified path. Incorrect notation: Proper notation:
Please notice the backslash terminating the string. This backslash enables recursion specifying that all the files and folders under the provided path will be added for scanning.
Make sure to always specify absolute paths. For example:
If the mask value is an empty string or |
|
This parameter is reserved for future use; not currently used. |
Two different structures are defined in header files of KAV SDK API, each for a specific character encoding. If you define the UNICODE macro in your code, the Unicode version is used, otherwise ANSI version of the structure will be selected at compilation. Alternatively, you can manually specify what version of the structure you need, by adding the W (for Unicode) or A (for ANSI) postfixes to the structure name.
Page top