TUSBDiskController
From Ultibo.org
Revision as of 05:06, 17 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...")
Return to Unit Filesystem
Description
To be documented
Class definitions
TUSBDiskController = class(TExtDiskController)
constructor Create(ADriver:TFileSysDriver);
|
|
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 VendorId(ADevice:TDiskDevice):Word; override;
|
|
function DeviceId(ADevice:TDiskDevice):Word; override;
|
|
function Manufacturer(ADevice:TDiskDevice):String; override;
|
|
function Product(ADevice:TDiskDevice):String; override;
|
|
function SerialNumber(ADevice:TDiskDevice):String; override;
|
|
function LogicalUnitNo(ADevice:TDiskDevice):LongWord; 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 Ejectable(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 TUSBDiskController.Create(ADriver:TFileSysDriver);
Description: To be documented
Note | None documented |
---|
function TUSBDiskController.ControllerInit:Boolean;
Description: To be documented
Note | None documented |
---|
function TUSBDiskController.LocateDevices:Boolean;
Description: To be documented
Note | None documented |
---|
function TUSBDiskController.Read(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; var ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Write(ADevice:TDiskDevice; ASector:LongWord; ACount:Word; const ABuffer):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Reset(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LockMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.UnlockMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.EjectMedia(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.MediaReady(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.MediaChanged(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.MediaLocked(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Information(ADevice:TDiskDevice):String;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.VendorId(ADevice:TDiskDevice):Word;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.DeviceId(ADevice:TDiskDevice):Word;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Manufacturer(ADevice:TDiskDevice):String;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Product(ADevice:TDiskDevice):String;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.SerialNumber(ADevice:TDiskDevice):String;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LogicalUnitNo(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LBA(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.MediaType(ADevice:TDiskDevice):TMediaType;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.FloppyType(ADevice:TDiskDevice):TFloppyType;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Ready(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Locked(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Lockable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Ejectable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Readable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Writeable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.Removable(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.ChangeLine(ADevice:TDiskDevice):Boolean;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.PhysicalCylinders(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.PhysicalHeads(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.PhysicalSectors(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LogicalCylinders(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LogicalHeads(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.LogicalSectors(ADevice:TDiskDevice):LongWord;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.SectorSize(ADevice:TDiskDevice):Word;
Description: To be documented
Note | Caller must hold the device lock |
---|
function TUSBDiskController.SectorCount(ADevice:TDiskDevice):Int64;
Description: To be documented
Note | Caller must hold the device lock |
---|
Return to Unit Reference