Collapse All
Virtuozzo Virtualization SDK C API Reference
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. 
 
Returns the hard disk size. 
 
Returns the hard disk type. 
 
Returns the disk encryption parameters 
 
Returns the mount point of the specified virtual hard disk. 
 
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. 
 
Return disk serial number. 
 
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. 
 
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 size of the specified virtual hard disk. 
 
Sets the type of the specified virtual hard disk. 
 
Specify disk encryption parameters 
 
Sets the mount point of the specified virtual hard disk. 
 
Set disk serial number. 
 
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. 
 
Obtains the custom host adapter name. 
 
Returns the MAC address of a virtual network adapter inside a virtual machine (in human-friendly format xx:xx:xx:xx:xx:xx). 
 
Sets the custom host adapter name in a bridged networking mode, (autogenerated if not set) hVmDev : A handle of type PHT_VIRTUAL_DEV_NET_ADAPTER identifying the virtual network adapter. 
See Also
Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.