TVirtualDiskMemoryImage
From Ultibo.org
Revision as of 05:49, 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...")
Return to Unit VirtualDisk
Description
To be documented
Class definitions
TVirtualDiskMemoryImage = class(TVirtualDiskImage)
constructor Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
|
|
destructor Destroy; override;
|
|
private
| |
FData:Pointer;
|
|
protected
| |
function GetReady:Boolean; override;
|
|
function GetSectorSize:Word; override;
|
|
function GetSectorCount:Int64; override;
|
|
function GetPartitionId:Byte; override;
|
|
procedure SetName(const AName:String); 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 CloseImage:Boolean; override;
|
Function declarations
constructor TVirtualDiskMemoryImage.Create(ADriver:TFileSysDriver; AController:TDiskController; const AName:String; AImageNo:Integer);
Description: To be documented
Note | None documented |
---|
destructor TVirtualDiskMemoryImage.Destroy;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.GetReady:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.GetSectorSize:Word;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.GetSectorCount:Int64;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.GetPartitionId:Byte;
Description: To be documented
Note | None documented |
---|
procedure TVirtualDiskMemoryImage.SetName(const AName:String);
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.Read(ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskMemoryImage.Write(ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the image lock |
---|
function TVirtualDiskMemoryImage.ConvertImage(AImageType:TImageType):Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskMemoryImage.CreateImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;
Description: To be documented
Note | Create only on Memory Image, Cannot Open. |
---|
function TVirtualDiskMemoryImage.CloseImage:Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference