Parallels C API Reference Guide
PrlDisk.h Macros
PrlDisk.h
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
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.