TVirtualDiskVmwareImage
From Ultibo.org
Return to Unit VirtualDisk
Description
To be documented
Class definitions
TVirtualDiskVmwareImage = class(TVirtualDiskImage)
constructor Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
|
|
destructor Destroy; override;
|
|
private
| |
function GetAttributes:LongWord;
|
|
protected
| |
FDescriptor:TVirtualDiskExtent;
|
|
function GetReady:Boolean; override;
|
|
function GetCylinders:LongWord; override;
|
|
function GetHeads:LongWord; override;
|
|
function GetSectors:LongWord; override;
|
|
function GetSectorSize:Word; override;
|
|
function GetSectorCount:Int64; override;
|
|
public
| |
property Descriptor:TVirtualDiskExtent read FDescriptor;
|
|
function ImageInit:Boolean; override;
|
|
function Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean; override;
|
|
function Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean; override;
|
|
function Allocated(ASector:LongWord; ACount:Word):Word; override;
|
|
function LoadDescriptor(const AFilename:String):Boolean;
|
|
function AddDescriptor(const AFilename:String):TVirtualDiskVmwareExtent;
|
|
function RemoveDescriptor(AExtent:TVirtualDiskVmwareExtent):Boolean;
|
|
function SetDescriptor(AExtent:TVirtualDiskVmwareExtent):Boolean;
|
|
function GetDescriptor:TVirtualDiskVmwareExtent;
|
|
function CreateImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;
|
|
function OpenImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;
|
|
function CloseImage:Boolean; override;
|
|
function ResizeImage(const ASectorCount:Int64):Boolean; override;
|
|
function CreateSnapshot:Boolean; override;
|
|
function DeleteSnapshot:Boolean; override;
|
|
function MergeSnapshot:Boolean; override;
|
Function declarations
constructor TVirtualDiskVmwareImage.Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
Description: To be documented
Note | None documented |
---|
destructor TVirtualDiskVmwareImage.Destroy;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetAttributes:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetReady:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetCylinders:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetHeads:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetSectors:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetSectorSize:Word;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetSectorCount:Int64;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.ImageInit:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskVmwareImage.Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskVmwareImage.Allocated(ASector:LongWord; ACount:Word):Word;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.LoadDescriptor(const AFilename:String):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.AddDescriptor(const AFilename:String):TVirtualDiskVmwareExtent;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.RemoveDescriptor(AExtent:TVirtualDiskVmwareExtent):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.SetDescriptor(AExtent:TVirtualDiskVmwareExtent):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.GetDescriptor:TVirtualDiskVmwareExtent;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.CreateImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.OpenImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.CloseImage:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.ResizeImage(const ASectorCount:Int64):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.CreateSnapshot:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.DeleteSnapshot:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskVmwareImage.MergeSnapshot:Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference