kaveRegisterProxySettings

Passes the settings to establish connection to the cloud.

Call this function on processing the EVENT_PROXY_QUERY and EVENT_PROXY_SETTINGS_FAILED events.

Syntax

HRESULT kaveRegisterProxySettings (

const char | wchar_t *context,

unsigned long settingsCount,

const KAV_PROXY_SETTINGS *settingsArray);

Parameters

The kaveRegisterProxySettings function has the following parameters.

kaveRegisterProxySettings function parameters

Name

Type

Description

context

in

A pointer to the specific service data which was passed in the context parameter of the callback function. You must pass this context back to KAV SDK.

settingsCount

in

The number of items in the settingsArray parameter for connection with one or several proxy servers.

If settingsArray contains only one structure, the settingCount parameter must be set to 1.

settingsArray

in

A pointer to the list of connection settings to establish connection with one or several proxy servers.

For detailed information, see KAV_PROXY_SETTINGS.

Return value

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

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

Page top