Collapse All
Parallels C API Reference Guide
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 size.
Returns the hard disk type.
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.
Returns sign whether virtual hard disk device is encrypted.
Determines if the virtual hard disk is split into multiple files.
Sets the size of the specified virtual hard disk.
Sets the type of the specified virtual hard disk.
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.
See Also
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!