kaveSetTempFolder

Sets a new temporary folder where temporary files needed for scanning are written.

The new folder path will come into effect only after the anti-virus database is reloaded.

Syntax

HRESULT kaveSetTempFolder (

const char *pTempFolder);

Parameters

The kaveSetTempFolder function has the following parameters.

kaveSetTempFolder function parameters

Name

Type

Description

pTempFolder

in

A pointer to the null-terminated string containing the path to the temporary folder.

Return value

If the kaveSetTempFolder function succeeds, its return value is S_OK.

For other return codes, see section "Return codes".

Page top