TVirtualDiskFileImage
From Ultibo.org
Return to Unit VirtualDisk
Description
To be documented
Class definitions
TVirtualDiskFileImage = class(TVirtualDiskImage)
constructor Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
|
|
destructor Destroy; override;
|
|
private
| |
FHandle:THandle;
|
|
protected
| |
function GetReady:Boolean; override;
|
|
function GetSectorSize:Word; override;
|
|
function GetSectorCount:Int64; override;
|
|
function GetPartitionId:Byte; override;
|
|
public
| |
function Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean; override;
|
|
function Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean; override;
|
|
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 declarations
constructor TVirtualDiskFileImage.Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
Description: To be documented
Note | None documented |
---|
destructor TVirtualDiskFileImage.Destroy;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.GetReady:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.GetSectorSize:Word;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.GetSectorCount:Int64;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.GetPartitionId:Byte;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskFileImage.Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskFileImage.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 TVirtualDiskFileImage.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 TVirtualDiskFileImage.CloseImage:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskFileImage.ResizeImage(const ASectorCount:Int64):Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference