Difference between revisions of "TDiskImager"
From Ultibo.org
(Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...") |
(No difference)
|
Latest revision as of 04:13, 17 May 2018
Return to Unit Filesystem
Description
To be documented
Class definitions
TDiskImager = class(TObject)
constructor Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
|
|
destructor Destroy; override;
|
|
private
| |
FLock:TSynchronizerHandle;
|
|
FLocalLock:TMutexHandle;
|
|
protected
| |
FDriver:TFileSysDriver;
|
|
FRecognizer:TRecognizer;
|
|
function AcquireLock:Boolean;
|
|
function ReleaseLock:Boolean;
|
|
public
| |
function ReaderLock:Boolean;
|
|
function ReaderUnlock:Boolean;
|
|
function WriterLock:Boolean;
|
|
function WriterUnlock:Boolean;
|
|
function AcceptImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64):Boolean; virtual;
|
|
function CreateImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; virtual;
|
|
function OpenImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; virtual;
|
|
function CloseImage(AImage:TDiskImage):Boolean; virtual;
|
|
function AcceptSnapshot(AImage:TDiskImage):Boolean; virtual;
|
|
function CreateSnapshot(AImage:TDiskImage):Boolean; virtual;
|
|
function DeleteSnapshot(AImage:TDiskImage):Boolean; virtual;
|
|
function MergeSnapshot(AImage:TDiskImage):Boolean; virtual;
|
Function declarations
constructor TDiskImager.Create(ADriver:TFileSysDriver; ARecognizer:TRecognizer);
Description: To be documented
Note | None documented |
---|
destructor TDiskImager.Destroy;
Description: To be documented
Note | None documented |
---|
function TDiskImager.AcquireLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.ReleaseLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.ReaderLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.ReaderUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.WriterLock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.WriterUnlock:Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.AcceptImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64):Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.CreateImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; 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 TDiskImager.OpenImage(AImage:TDiskImage; const AName:String; AImageType:TImageType; 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 TDiskImager.CloseImage(AImage:TDiskImage):Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.AcceptSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.CreateSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.DeleteSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note | None documented |
---|
function TDiskImager.MergeSnapshot(AImage:TDiskImage):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference