Collapse All
Parallels C API Reference Guide
PrlVmCfg_SetAutoCompressInterval Function
PHT_VM_CONFIGURATION See Also

Sets the time interval at which compacting virtual disks are doing by Automatic HDD compress.

Syntax
PRL_RESULT PrlVmCfg_SetAutoCompressInterval(
    PRL_HANDLE hVmCfg, 
    PRL_UINT32 nInterval
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nInterval
The time interval to set, in seconds.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Automatic HDD compress is feature that allows to make automatic compress of a virtual machine disks at predefined time intervals. This function allows to set the interval at which the automatic compress are taken.

See Also
Links
What do you think about this topic? Send feedback!