Restores a file from the backup storage to a location on the drive. The restored file is retained in the backup storage.
The current KAV SDK version does not contain implementation of this function for Linux-based solutions.
Syntax
HRESULT kaveQBRestoreObject (
ULONGLONG qwObjectId,
const char *pRestorePath,
BOOL bOverwrite);
Parameters
The kaveQBRestoreObject function has the following parameters.
kaveQBRestoreObject function parameters
Name |
Type |
Description |
|---|---|---|
|
in |
The identifier of an object in the backup storage to be restored. |
|
in |
A pointer to a null-terminated string that contains the full path for restoring the object. If If the application does not have enough rights to write in the specified location, the |
|
in |
If this variable is set to If a file already exists at the specified location and overwriting is prohibited, the |
Return value
If the kaveQBRestoreObject function succeeds, its return value is S_OK.
In other cases an error code is returned. For more information about return codes, see section "Return codes".
Page top