Collapse All
Parallels C API Reference Guide
PrlDisk.h
Functions Files Legend Macros Structures Types

PrlDITypes.h

SDK Disk image types

Copyright (c) 2005-2008 Parallels Software International, Inc.

Remarks

All rights reserved. http://www.parallels.com

Functions
Name
Description
This function used to change the key of the encrypted disk
Combines all available disk snapshots into a single entity.
Commits unfinished state operation (interrupted).
This method is deprecated now.
Compacts a virtual disk with free blocks map.
This function used to convert disk size in blocks to the Cylinders-Heads-Sectors (CHS) format, used at disk creation
Converts virtual disks that were created with an older version of Parallels Service to the current version.
Converts virtual disks that were created with an older version of Parallels Service to the current version.
Creates a new virtual disk.
This function can be used to create a new virtual disk locally without being connected to the Parallels Service.
Takes a snapshot of the specified virtual disk.
Allows to decrease the size of an existing virtual disk.
This function used to encrypt whole disk
Deletes the specified virtual disk snapshot.
This function used to encrypt whole disk
Writes data from a virtual disk cache to the real storage.
Frees the PHT_VIRTUAL_DISK handle.
This function used to get default block size of disk
Obtains the information about the specified virtual disk.
This function used to get HDD identify information as it shown in guest OS
Determines the number of snapshots of the specified virtual disk.
Obtains the entire snapshot tree for the specified virtual disk.
This function used to get splitted disk part size
Retrieves user-defined parameter values stored on a virtual disk.
Allows to increase the size of an existing virtual disk.
This function used to check is the disk bootable or not
Determines if the specified virtual disk can be compacted.
This function used to check is the disk encrypted or not
This function used to create a linked clone disk
Obtains a handle of type PHT_VIRTUAL_DISK identifying an existing virtual disk.
Obtains a handle of type PHT_VIRTUAL_DISK identifying an existing virtual disk on a local machine.
Reads data from the specified virtual disk.
Set the caching policy for a virtual disk.
This function used to set the key to the encrypted disk
Sets necessary access permissions on a directory containing a virtual disk to make the disk accessible to other users.
Sets necessary access permissions on a directory containing a virtual disk to make the disk accessible to other users.
Stores user-defined parameter values on a virtual disk.
Reverts a virtual disk to the specified snapshot.
Waits for the background thread to finish executing before returning control to the client.
Writes data to the specified virtual disk.
Macros
Name
Description
Free BSD partition.
Special handle for data partition from GPT (can be linux, windows, any type).
Incoming requests to read/write async must be gathered and aligned
Allow inplace data modification to reduce memory copying and allocation
Disk cache default.
Uncached access to disk image.
Cached access to disk image.
Cached write/uncached read.
Like PRL_DISK_CACHE_UNCACHED_READ , but cache is enabled for
  • small and random/reordered requests.
Default (writelock always on at write on).
Fake open, just for parameters get (processed by real disks that need administrative privileges to work with).
Default access mode that compiled in Parallels itself.
Type of the file access to use (15 file accessors is enough).
Access mode with requests merging.
Access mode with file caching turned off.
Normal access mode (default os)
Ignore storages read only flag (useful at disk creation)
Last (invalid).
Force open of disk for reading without error checking
So not create image when creating disk, just put reference to file in XML
Do not check host free space
Do not use handle pool for disk image handles
Nothing.
States progress definition.
Read
ReadLock
Use raw disk for BootCamp partition (/dev/rdisk instead of /dev/disk)
Write
Write through, disable caching (deprecated)
This parameter is used when user need to change XML data but not access to the drive itself.
EFI system partition
Definitions of length of incoming strings to PrlDisk_GetIdentify function.
Bootcamp
Bootcamp set by UID
Compressed disk (version 1)
Invalid type
Last (invalid)
Partition from disk
Real disk (full)
Plain disk
Software should guess what kind of disk it is
Limited Microsoft VHD support
Invalid partition
Linux partitions
Mac OS
  • Disk partition types

Extended partitions
Invalid callback
Core callback completed
Operation fully completed
Disk operation started
Ordinary callback that disk process going.
At remove all states this callback indicates that one more stage complete in states removal
States progress definition
Windows partitions
Structures
Name
Description
Parallels disk parameters.
Parallels storage parameters
Parallels snapshot tree element
CHS format of disk
CHS format of disk
Parallels disk parameters.
Parallels storage parameters
Parallels snapshot tree element
Types
Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!