TDiskPartition

From Ultibo.org
Revision as of 04:55, 29 January 2025 by Ultibo (Talk | contribs)

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

Return to Unit Filesystem


Description


To be documented

Class definitions



[Expand]

TDiskPartition = class(TListObject)


Function declarations



[Expand]
constructor TDiskPartition.Create(ADriver:TFileSysDriver; ADevice:TDiskDevice; APartition:TDiskPartition; APartitionNo:Integer);
Description: To be documented


[Expand]
destructor TDiskPartition.Destroy;
Description: To be documented


[Expand]
function TDiskPartition.AcquireLock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.ReleaseLock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.GetName:String;
Description: To be documented


[Expand]
function TDiskPartition.GetPath:String;
Description: To be documented


[Expand]
function TDiskPartition.GetParent:String;
Description: To be documented


[Expand]
function TDiskPartition.GetLogical:Boolean;
Description: Check for a non extended partition with a parent


[Expand]
function TDiskPartition.GetPrimary:Boolean;
Description: Check for a non extended partition with no parent


[Expand]
procedure TDiskPartition.SetExtended(AExtended:Boolean);
Description: Mark partition as extended, update no and recalculate start


[Expand]
function TDiskPartition.GetFreeSectors:LongWord;
Description: Get the total Count of Unused Sectors in the Partition


[Expand]
function TDiskPartition.GetAvailableSectors:LongWord;
Description: Get the largest Count of Unused Sectors in the Partition


[Expand]
function TDiskPartition.GetAvailableBlock(var AStart,ACount:LongWord):Boolean;
Description: Get the Start and Count of largest Unused Sectors in the Partition


[Expand]
function TDiskPartition.GetRoot:TDiskPartition;
Description: Returns the first level extended for a second level plus partition


[Expand]
function TDiskPartition.GetParentStart:LongWord;
Description: To be documented


[Expand]
function TDiskPartition.ReaderLock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.ReaderUnlock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock


[Expand]
function TDiskPartition.WriterLock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.WriterUnlock:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock


[Expand]
function TDiskPartition.PartitionInit:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.LocatePartitions:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.LocateVolumes:Boolean;
Description: To be documented


[Expand]
function TDiskPartition.CreateVolume:TDiskVolume;
Description: To be documented


[Expand]
function TDiskPartition.DeleteVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented


[Expand]
function TDiskPartition.OpenPartition(AMode:Integer):THandle;
Description: To be documented


[Expand]
procedure TDiskPartition.ClosePartition(AHandle:THandle);
Description: To be documented


[Expand]
function TDiskPartition.ReadPartition(AHandle:THandle; var ABuffer; ACount:Integer):Integer;
Description: To be documented


[Expand]
function TDiskPartition.WritePartition(AHandle:THandle; const ABuffer; ACount:Integer):Integer;
Description: To be documented


[Expand]
function TDiskPartition.SeekPartition(AHandle:THandle; const AOffset:Int64; AOrigin:Integer):Int64;
Description: To be documented


Return to Unit Reference