TVirtualDiskController
From Ultibo.org
Revision as of 05:40, 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
TVirtualDiskController = class(TDiskController)
constructor Create(ADriver:TFileSysDriver);
|
|
private
| |
public
| |
function ControllerInit:Boolean; override;
|
|
function LocateDevices:Boolean; override;
|
|
function Read(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; var ABuffer):Boolean; override;
|
|
function Write(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; const ABuffer):Boolean; override;
|
|
function Reset(ADevice:TDiskDevice):Boolean; override;
|
|
function LockMedia(ADevice:TDiskDevice):Boolean; override;
|
|
function UnlockMedia(ADevice:TDiskDevice):Boolean; override;
|
|
function EjectMedia(ADevice:TDiskDevice):Boolean; override;
|
|
function MediaReady(ADevice:TDiskDevice):Boolean; override;
|
|
function MediaChanged(ADevice:TDiskDevice):Boolean; override;
|
|
function MediaLocked(ADevice:TDiskDevice):Boolean; override;
|
|
function Information(ADevice:TDiskDevice):String; override;
|
|
function LBA(ADevice:TDiskDevice):Boolean; override;
|
|
function MediaType(ADevice:TDiskDevice):TMediaType; override;
|
|
function FloppyType(ADevice:TDiskDevice):TFloppyType; override;
|
|
function Ready(ADevice:TDiskDevice):Boolean; override;
|
|
function Locked(ADevice:TDiskDevice):Boolean; override;
|
|
function Lockable(ADevice:TDiskDevice):Boolean; override;
|
|
function Readable(ADevice:TDiskDevice):Boolean; override;
|
|
function Writeable(ADevice:TDiskDevice):Boolean; override;
|
|
function Removable(ADevice:TDiskDevice):Boolean; override;
|
|
function ChangeLine(ADevice:TDiskDevice):Boolean; override;
|
|
function PhysicalCylinders(ADevice:TDiskDevice):LongWord; override;
|
|
function PhysicalHeads(ADevice:TDiskDevice):LongWord; override;
|
|
function PhysicalSectors(ADevice:TDiskDevice):LongWord; override;
|
|
function LogicalCylinders(ADevice:TDiskDevice):LongWord; override;
|
|
function LogicalHeads(ADevice:TDiskDevice):LongWord; override;
|
|
function LogicalSectors(ADevice:TDiskDevice):LongWord; override;
|
|
function SectorSize(ADevice:TDiskDevice):Word; override;
|
|
function SectorCount(ADevice:TDiskDevice):Int64; override;
|
Function declarations
constructor TVirtualDiskController.Create(ADriver:TFileSysDriver);
Description: To be documented
Note | None documented |
---|
function TVirtualDiskController.ControllerInit:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskController.LocateDevices:Boolean;
Description: To be documented
Note | None documented |
---|
function TVirtualDiskController.Read(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Write(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Reset(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.LockMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.UnlockMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.EjectMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.MediaReady(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.MediaChanged(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.MediaLocked(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Information(ADevice:TDiskDevice):String;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.LBA(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.MediaType(ADevice:TDiskDevice):TMediaType;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.FloppyType(ADevice:TDiskDevice):TFloppyType;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Ready(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Locked(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Lockable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Readable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Writeable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.Removable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.ChangeLine(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.PhysicalCylinders(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.PhysicalHeads(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.PhysicalSectors(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.LogicalCylinders(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.LogicalHeads(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.LogicalSectors(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.SectorSize(ADevice:TDiskDevice):Word;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TVirtualDiskController.SectorCount(ADevice:TDiskDevice):Int64;
Description: To be documented
Note | Caller must hold the device lock |
---|
Return to Unit Reference