Difference between revisions of "TVirtualDiskDeviceImage"
From Ultibo.org
(Created page with "Return to Unit VirtualDisk __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsib...") |
(No difference)
|
Latest revision as of 05:52, 1 June 2018
Return to Unit VirtualDisk
Description
To be documented
Class definitions
TVirtualDiskDeviceImage = 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 GetCylinders:LongWord; override;
|
|
function GetHeads:LongWord; override;
|
|
function GetSectors:LongWord; 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 ConvertImage(AImageType:TImageType):Boolean; override;
|
|
function ShrinkImage(const ASize:Int64):Boolean; override;
|
|
function ExpandImage(const ASize:Int64):Boolean; 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 declarations
constructor TVirtualDiskDeviceImage.Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
Description: To be documented
Note | None documented |
---|
destructor TVirtualDiskDeviceImage.Destroy;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetReady:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetCylinders:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetHeads:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetSectors:LongWord;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetSectorSize:Word;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetSectorCount:Int64;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.GetPartitionId:Byte;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskDeviceImage.Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskDeviceImage.ConvertImage(AImageType:TImageType):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.ShrinkImage(const ASize:Int64):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.ExpandImage(const ASize:Int64):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskDeviceImage.OpenImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note | Open only on Device Image, Cannot Create. |
---|
function TVirtualDiskDeviceImage.CloseImage:Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference