Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PHT_VIRTUAL_DEV_HARD_DISK
Functions  Functions by Handle  Legend  See Also

The PHT_VIRTUAL_DEV_HARD_DISK handle is used to manage virtual hard disks in a virtual machine. The handle is obtained by making the PrlVmCfg_CreateVmDev or the PrlVmCfg_GetHardDisk function call.

Functions
 
Name 
Description 
 
Assigns a boot camp partition to the specified virtual hard disk. 
 
Checks whether specified for encrypted virtual hard disk password matched to the current one. 
 
Returns the hard disk block size. 
 
Returns the hard disk size. 
 
Returns the hard disk type. 
 
Returns the mount point of the specified virtual hard disk. 
 
Returns the virtual hard disk online compact mode. 
 
Obtains a handle of type PHT_VIRTUAL_DEV_HD_PARTITION containing information about the specified partition of the virtual hard disk. 
 
Determines the number of partitions on the virtual hard disk. 
 
Returns the size of the occupied space on the hard disk. 
 
Return custom storage URL. 
 
Returns the auto compress flag of the specified virtual hard disk. 
 
Returns sign whether virtual hard disk device is encrypted. 
 
Determines if the virtual hard disk is split into multiple files. 
 
Sets the auto compress sign flag of the specified virtual hard disk. 
 
Sets the block size of the specified virtual hard disk. 
 
Sets the size of the specified virtual hard disk. 
 
Sets the type of the specified virtual hard disk. 
 
Sets the mount point of the specified virtual hard disk. 
 
Sets the virtual hard disk online compact mode. 
 
Lets to setup password for virtual hard disk device in case if last one is encrypted (this password uses then at calls PrlVmDevHd_CheckPassword and PrlVm_Commit
 
Allows to specify whether the hard disk should be split into multiple files or if a single file should be used. 
 
Set custom storage URL. 
See Also
Links
© 2021 Parallels International GmbH. All rights reserved.