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

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
Merges all snapshots.
Compacts a virtual disk.
Converts pre-Atlantis disk to Sumer and later.
Converts pre-Atlantis disk to Sumer and later.
Creates a new virtual disk.
This function can be used to create a new virtual disk locally without being connected to the Parallels Service.
Start creation procedure of the new state
Allows to decrease the size of an existing virtual disk.
Start delete state procedure.
Writes data from a virtual disk cache to the real storage.
This method is used to free the disk reference with closing.
Get disk information.
Get snapshots count.
Get snapshots tree.
Get user parameter for disk.
Allows to increase the size of an existing virtual disk.
Check is image compactable.
Obtains a handle of type PHT_VIRTUAL_DISK identifying an existing virtual disk.
Method let to open disk and return handle This function can be used locally, without a Parallels Service connection.
Write data to disk.
Set caching policy for disk.
Set shared directory (all files created somewhere in this directory will have 666 permissions).
Set shared directory (all files created somewhere in this directory will have 666 permissions) This function can be used locally, without a Parallels Service connection.
Set user parameter for disk.
Start switching to state procedure.
Wait for completion of the work.
Write data to disk.
Macros
Name
Description
Free BSD partition.
Special handle for data partition from GPT (can be linux, windows, any type).
Disk cache default.
Uncached access to disk image.
Cached access to disk image.
Cached write/uncached read.
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)
Last (invalid).
Nothing.
States progress definition.
Read
ReadLock
Write
Write through, disable caching
This parameter is used when user need to change XML data but not access to the drive itself.
EFI system partition
Bootcamp
Compressed disk (version 1)
Compressed disk (version 2)
Invalid type
Last (invalid)
Partition from disk
Real disk (full)
Plain disk
Software should guess what kind of disk it is
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
Parallels disk parameters.
Parallels storage parameters
Parallels snapshot tree element
Types
Links
Copyright (c) 1999-2008 Parallels Software International Inc.
What do you think about this topic? Send feedback!