Difference between revisions of "TDiskDevice"
From Ultibo.org
Line 1,091: | Line 1,091: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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 TDiskDevice.OpenDevice(AMode:Integer):THandle | + | <pre style="border: 0; padding-bottom:0px;">function TDiskDevice.OpenDevice(AMode:Integer):THandle;</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 1,103: | Line 1,103: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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;">procedure TDiskDevice.CloseDevice(AHandle:THandle) | + | <pre style="border: 0; padding-bottom:0px;">procedure TDiskDevice.CloseDevice(AHandle:THandle);</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 1,115: | Line 1,115: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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 TDiskDevice.ReadDevice(AHandle:THandle; var ABuffer; ACount:Integer):Integer | + | <pre style="border: 0; padding-bottom:0px;">function TDiskDevice.ReadDevice(AHandle:THandle; var ABuffer; ACount:Integer):Integer;</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 1,127: | Line 1,127: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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 TDiskDevice.WriteDevice(AHandle:THandle; const ABuffer; ACount:Integer):Integer | + | <pre style="border: 0; padding-bottom:0px;">function TDiskDevice.WriteDevice(AHandle:THandle; const ABuffer; ACount:Integer):Integer;</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 1,139: | Line 1,139: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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 TDiskDevice.EraseDevice(AHandle:THandle; ACount:Integer):Integer | + | <pre style="border: 0; padding-bottom:0px;">function TDiskDevice.EraseDevice(AHandle:THandle; ACount:Integer):Integer;</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
Line 1,151: | Line 1,151: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | <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 TDiskDevice.SeekDevice(AHandle:THandle; const AOffset:Int64; AOrigin:Integer):Int64 | + | <pre style="border: 0; padding-bottom:0px;">function TDiskDevice.SeekDevice(AHandle:THandle; const AOffset:Int64; AOrigin:Integer):Int64;</pre> |
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | <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;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> |
Latest revision as of 04:56, 29 January 2025
Return to Unit Filesystem
Description
To be documented
Class definitions
[Expand]
TDiskDevice = class(TListObject)
Function declarations
[Expand]
constructor TDiskDevice.Create(ADriver:TFileSysDriver; AController:TDiskController; AImage:TDiskImage; AStorage:PStorageDevice; ADeviceNo:Integer; const AIdentifier:String);
Description: To be documented
[Expand]
function TDiskDevice.GetFreeSectors:Int64;
Description: Get the total Count of Unused Sectors on the Device
[Expand]
function TDiskDevice.GetAvailableSectors:Int64;
Description: Get the largest Count of Unused Sectors on the Device
[Expand]
function TDiskDevice.GetAvailableBlock(var AStart,ACount:Int64):Boolean;
Description: Get the Start and Count of largest Unused Sectors on the Device
[Expand]
procedure TDiskDevice.SetDiskSignature(ADiskSignature:LongWord);
Description: To be documented
[Expand]
function TDiskDevice.DeleteVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.CreatePartition(AParent:TDiskPartition; APartitionId:Byte; ACount:LongWord; AActive:Boolean):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.DeletePartition(APartition:TDiskPartition):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.ModifyPartition(APartition:TDiskPartition; APartitionId:Byte):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.ActivatePartition(APartition:TDiskPartition; AActive:Boolean):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.ShrinkPartition(APartition:TDiskPartition; const AStart,ASize:Int64):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.ExpandPartition(APartition:TDiskPartition; const AStart,ASize:Int64):Boolean;
Description: To be documented
[Expand]
function TDiskDevice.ReadDevice(AHandle:THandle; var ABuffer; ACount:Integer):Integer;
Description: To be documented
[Expand]
function TDiskDevice.WriteDevice(AHandle:THandle; const ABuffer; ACount:Integer):Integer;
Description: To be documented
[Expand]
function TDiskDevice.EraseDevice(AHandle:THandle; ACount:Integer):Integer;
Description: To be documented
[Expand]
function TDiskDevice.SeekDevice(AHandle:THandle; const AOffset:Int64; AOrigin:Integer):Int64;
Description: To be documented
Return to Unit Reference