Determines the maximum snapshot count, a SmartGuard setting.
PRL_RESULT PrlVmCfg_GetSmartGuardMaxSnapshotsCount( PRL_HANDLE hVmCfg, PRL_UINT32_PTR pnMaxSnapshotsCount );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer to buffer was passed.
PRL_ERR_SUCCESS - function completed successfully.
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.