TVirtualDiskIsoImage

From Ultibo.org
Revision as of 05:53, 1 June 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit VirtualDisk __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsib...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit VirtualDisk


Description


To be documented

Class definitions



TVirtualDiskIsoImage = 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;  
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 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 TVirtualDiskIsoImage.Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
Description: To be documented
Note None documented


destructor TVirtualDiskIsoImage.Destroy;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.GetReady:Boolean;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.GetSectorSize:Word;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.GetSectorCount:Int64;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskIsoImage.Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note Caller must hold the image lock


function TVirtualDiskIsoImage.ConvertImage(AImageType:TImageType):Boolean;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.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 TVirtualDiskIsoImage.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 TVirtualDiskIsoImage.CloseImage:Boolean;
Description: To be documented
Note None documented


function TVirtualDiskIsoImage.ResizeImage(const ASectorCount:Int64):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference