Difference between revisions of "TCDFSRecognizer"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit CDFS __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...")
 
 
Line 32: Line 32:
 
|colspan="2"|&nbsp;
 
|colspan="2"|&nbsp;
 
|-
 
|-
| <code>function CheckPrimaryDescriptor(ASector:PSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;</code>
+
| <code>function CheckPrimaryDescriptor(ASector:PDiskSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
Line 88: Line 88:
 
<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 TCDFSRecognizer.CheckPrimaryDescriptor(ASector:PSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;</pre>
+
<pre style="border: 0; padding-bottom:0px;">function TCDFSRecognizer.CheckPrimaryDescriptor(ASector:PDiskSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;</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 02:58, 5 December 2018

Return to Unit CDFS


Description


To be documented

Class definitions



TCDFSRecognizer = class(TRecognizer)

constructor Create(ADriver:TFileSysDriver);  
private
FLongNames:Boolean;  
FSwapSerial:Boolean;  
 
function CheckPrimaryDescriptor(ASector:PDiskSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;  
protected
function GetName:String; override;  
public
property LongNames:Boolean read FLongNames write FLongNames;  
property SwapSerial:Boolean read FSwapSerial write FSwapSerial;  
 
function RecognizePartitionId(APartitionId:Byte):Boolean; override;  
function RecognizeBootSector(ABootSector:PBootSector; const AStartSector,ASectorCount:Int64):Boolean; override;  
 
function RecognizePartition(APartition:TDiskPartition):Boolean; override;  
function RecognizeVolume(AVolume:TDiskVolume):Boolean; override;  
function MountVolume(AVolume:TDiskVolume; ADrive:TDiskDrive):Boolean; override;  


Function declarations



constructor TCDFSRecognizer.Create(ADriver:TFileSysDriver);
Description: To be documented
Note None documented


function TCDFSRecognizer.CheckPrimaryDescriptor(ASector:PDiskSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;
Description: To be documented
Note None documented


function TCDFSRecognizer.GetName:String;
Description: To be documented
Note None documented


function TCDFSRecognizer.RecognizePartitionId(APartitionId:Byte):Boolean; 
Description: To be documented
Note None documented


function TCDFSRecognizer.RecognizeBootSector(ABootSector:PBootSector; const AStartSector,ASectorCount:Int64):Boolean; 
Description: To be documented
Note None documented


function TCDFSRecognizer.RecognizePartition(APartition:TDiskPartition):Boolean;
Description: To be documented
Note Caller must hold the partition lock


function TCDFSRecognizer.RecognizeVolume(AVolume:TDiskVolume):Boolean;
Description: To be documented
Note Caller must hold the volume writer lock


function TCDFSRecognizer.MountVolume(AVolume:TDiskVolume; ADrive:TDiskDrive):Boolean;
Description: To be documented
Note Caller must hold the volume writer lock


Return to Unit Reference