Initializing the WMUF database

Because the SDK supports several process models, following must be noted for each of the models before you begin initializing the WMUF database.

Initializing WMUF

Model

Flag

Note

In-process

KAV_SHT_INPROC

Make sure to add the KAV_SHT_ENGINE_WMUF flag to the dwScannerHostType parameter when calling kaveInitializeEx function.

If for any reason the Web Monitor fails to load the WMUF database, the initialization function returns the KAV_E_MOD_NOT_FOUND error code.

Out-of-process

KAV_SHT_OUTPROC

Make sure to add the KAV_SHT_ENGINE_WMUF flag to the dwScannerHostType parameter when calling kaveInitializeEx function.

If for any reason the Web Monitor fails to load the WMUF database, the initialization function returns the KAV_E_MOD_NOT_FOUND error code.

Service mode

KAV_SHT_SERVICE

Windows platform

Make sure to add the KAV_SHT_ENGINE_WMUF flag to the dwScannerHostType parameter when calling kaveInitializeEx function.

If for any reason the Web Monitor fails to load the WMUF database, the initialization function returns the KAV_E_MOD_NOT_FOUND error code.

Unix-like platforms:

Before initializing the KAV Engine to run in service mode, make sure to add the KAV_SHT_ENGINE_WMUF flag to the Flags element within the kavehost.xml configuration file, for example:

<Flags>KAV_SHT_ENGINE_KLAV | KAV_SHT_ENGINE_WMUF | KAV_SHT_ENGINE_KLAVEMU</Flags>

For more information about configuring the kavehost.xml file, see section "Kavehost service configuration file".

If for any reason the Web Monitor fails to load the WMUF database, the initialization function returns the KAV_E_MOD_NOT_FOUND error code.

Page top