Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_GetFreeDiskSpaceRatio Function
PHT_VM_CONFIGURATION  See Also

Determines the free disk space ratio at which compacting virtual disks are doing by Automatic HDD compress.

Syntax
PRL_RESULT PrlVmCfg_GetFreeDiskSpaceRatio(
    PRL_HANDLE hVmCfg, 
    PRL_DOUBLE_PTR pdFreeDiskSpaceRatio
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pdFreeDiskSpaceRatio
[out] A pointer to a variable the receives the automatic compress space ratio, in percents.

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

Automatic HDD compress is a facility that allows to make automatic compress of a virtual machine disks at predefined space ratio. The currently set space ratio can be obtained using this function.

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.