kaveGetDatabasesPath

Gets the path to the location of the anti-virus database.

Syntax

HRESULT kaveGetDatabasesPath (

unsigned long dwBufLen,

char *pBuf,

unsigned long *pdwBufLen);

Parameters

The kaveGetDatabasesPath function has the following parameters.

kaveGetDatabasesPath function parameters

Name

Type

Description

dwBufLen

in

The size in symbols of the buffer to contain the path to the anti-virus database.

pBuf

out

A pointer to the memory buffer that will contain the path to the anti-virus database.

pdwBufLen

out

A pointer to the number of symbols actually copied to the buffer, or, in case the buffer size specified by the dwBufLen variable is not sufficient, the size (in symbols) of the buffer needed to accommodate the received data.

Return value

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

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

Page top