Unit VirtualDisk

From Ultibo.org
Revision as of 05:08, 26 January 2017 by Ultibo (Talk | contribs)

Jump to: navigation, search

Return to Unit Reference


Description


Ultibo Virtual Disk interface unit

To be documented

Constants



[Expand]
Virtual disk specific constants VIRTUAL_*


[Expand]
Virtual flag contants virtualFlag*


[Expand]
VMware constants vmware*


[Expand]
VMware disk type constants vmware*DiskType


[Expand]
VMware descriptor tag constants vmwareTag*


[Expand]
VMware create type constants vmwareCreateType_*


[Expand]
VMware access type constants vmwareAccessType_*


[Expand]
VMware extent type constants vmwareExtentType_*


[Expand]
VMware disk flag constants vmwareFlag*


[Expand]
VMware compression type constants vmwareCompression*


[Expand]
VPC constants vpc*


[Expand]
VPC disk type constants vpcDiskType*


[Expand]
VPC feature constants vpcFeature*


[Expand]
VPC creator host OS constants vpcCreator*


[Expand]
VPC platform code constants vpcPlatform*


[Expand]
VPC bitmap mask constants vpcBitmapMask*


[Expand]
VirtualBox constants vbox*


[Expand]
VirtualBox disk type constants vboxDiskType*


[Expand]
VirtualBox disk flag constants vboxDiskFlags*


Type definitions



ESX sparse extent header

[Expand]

PEsxSparseExtentHeader = ^TEsxSparseExtentHeader;

TEsxSparseExtentHeader = packed record

VMware sparse extent header

[Expand]

PVmwareSparseExtentHeader = ^TVmwareSparseExtentHeader;

TVmwareSparseExtentHeader = packed record

Microsoft virtual PC dish geometry

[Expand]

PVpcDiskGeometry = ^TVpcDiskGeometry;

TVpcDiskGeometry = packed record

Microsoft virtual PC parent locator

[Expand]

PVpcParentLocator = ^TVpcParentLocator;

TVpcParentLocator = packed record

Microsoft virtual PC hard disk footer

[Expand]

PVpcHardDiskFooter = ^TVpcHardDiskFooter;

TVpcHardDiskFooter = packed record

Microsoft virtual PC dynaic disk header

[Expand]

PVpcDynamicDiskHeader = ^TVpcDynamicDiskHeader;

TVpcDynamicDiskHeader = packed record

VirtualBox disk header

[Expand]

PVboxDiskHeader = ^TVboxDiskHeader;

TVboxDiskHeader = packed record


Class definitions


To be documented

Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure VirtualInit;
Description: To be documented


[Expand]
procedure VirtualQuit;
Description: To be documented


Virtual disk helper functions

[Expand]
function VirtualDataToPointer(const AData; ASize:Integer; ASwap:Boolean):Pointer;
Description: Creates a pointer and copies data from a buffer


[Expand]
function VirtualPointerToData(APointer:Pointer; var AData; ASize:Integer; ASwap:Boolean):Boolean;
Description: Copies data to a buffer from supplied pointer


[Expand]
function VirtualDataToString(const AData; ASize:Integer; AUnicode:Boolean):String;
Description: Converts the supplied data to a string


[Expand]
function VirtualStringToData(const AString:String; var AData; ASize:Integer ;AUnicode:Boolean):Boolean;
Description: Converts the supplied string to data


Return to Unit Reference