kaveQBGetUsedSpace

Gets the total space (in bytes) that all the objects stored in the backup storage physically occupy on the disk.

The current KAV SDK version does not contain implementation of this function for Linux-based solutions.

Syntax

HRESULT kaveQBGetUsedSpace (

ULONGLONG *pUsedSpace);

Parameters

The kaveQBGetUsedSpace function has the following parameters.

kaveQBGetUsedSpace function parameters

Name

Type

Description

pUsedSpace

out

A pointer to a variable where KAV SDK will write the current backup storage volume in bytes. This is the resulting sum of sizes of all the objects in the backup storage added with system data.

If you pass zero pointer, the E_INVALIDARG code is returned.

Return value

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

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

Page top