Collapse All
Parallels Virtualization SDK
PrlVmCfg_GetSmartGuardMaxSnapshotsCount Function
PHT_VM_CONFIGURATION

Determines the maximum snapshot count, a SmartGuard setting.

Syntax
PRL_RESULT PrlVmCfg_GetSmartGuardMaxSnapshotsCount(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32_PTR pnMaxSnapshotsCount
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pbEnabled
[out] A pointer to a variable that receives the result.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer to buffer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

SmartGuard is a facility that allows to make automatic snapshots of a virtual machine at predefined time intervals. The snapshot count setting specifies how many snapshots taken by SmartGuard will be kept on the hard drive (maximum is 100). As soon as the maximum number is exceeded, the oldest snapshot is deleted.

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.