Difference between revisions of "TVirtualDiskMemoryImage"
From Ultibo.org
(Created page with "Return to Unit VirtualDisk __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsib...") |
|||
Line 67: | Line 67: | ||
|- | |- | ||
| <code>function CreateImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;</code> | | <code>function CreateImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>function OpenImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64; ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer; override;</code> | ||
| | | | ||
|- | |- | ||
Line 207: | Line 210: | ||
|- | |- | ||
! Note | ! Note | ||
− | | | + | | None documented |
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">function TVirtualDiskMemoryImage.OpenImage(AMediaType:TMediaType; AFloppyType:TFloppyType; AAttributes:LongWord; ASectorSize:Word; const ASectorCount:Int64;ACylinders,AHeads,ASectors:LongWord; APartitionId:Byte):Integer;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
|- | |- | ||
|} | |} |
Latest revision as of 04:42, 29 October 2021
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 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 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 | None documented |
---|
function TVirtualDiskMemoryImage.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 TVirtualDiskMemoryImage.CloseImage:Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference