Compacts a virtual disk.
PRL_RESULT PrlDisk_Compact( const PRL_HANDLE Handle, const PRL_DISK_CALLBACK pDiskCallback, PRL_VOID_PTR pParameter );
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid argument values.
PRL_ERR_SUCCESS - function completed successfully.
A virtual disk may become fragmented just like a physical disk. As a result, the size that the disk files occupy on the host's hard drive may be larger than the size of the actual data they contain. The PrlDisk_Compact function defragments the specified virtual disk and decreases the size that the virtual disk files occupy on the physical hard disk. The size of the virtual disk itself (if it is an expanding disk) remains unchanged.
Copyright (c) 1999-2009 Parallels Software International Inc.
|
What do you think about this topic? Send feedback!
|