Difference between revisions of "TFATRecognizer"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit FATFS __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collap...")
 
 
Line 34: Line 34:
 
|-
 
|-
 
| <code>FNumericTail:Boolean;</code>
 
| <code>FNumericTail:Boolean;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>FInfoSectorEnable:Boolean;</code>
 +
| &nbsp;
 +
|-
 +
| <code>FInfoImmediateUpdate:Boolean;</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-
Line 64: Line 72:
 
|-
 
|-
 
| <code>property NumericTail:Boolean read FNumericTail write FNumericTail;</code>
 
| <code>property NumericTail:Boolean read FNumericTail write FNumericTail;</code>
 +
| &nbsp;
 +
|-
 +
|colspan="2"|&nbsp;
 +
|-
 +
| <code>property InfoSectorEnable:Boolean read FInfoSectorEnable write FInfoSectorEnable;</code>
 +
| &nbsp;
 +
|-
 +
| <code>property InfoImmediateUpdate:Boolean read FInfoImmediateUpdate write FInfoImmediateUpdate;</code>
 
| &nbsp;
 
| &nbsp;
 
|-
 
|-

Latest revision as of 05:22, 7 June 2021

Return to Unit FATFS


Description


To be documented

Class definitions



TFATRecognizer = class(TRecognizer)

constructor Create(ADriver:TFileSysDriver);  
private
FCaseFlags:Boolean;  
FLongNames:Boolean;  
FOemConvert:Boolean;  
FNumericTail:Boolean;  
 
FInfoSectorEnable:Boolean;  
FInfoImmediateUpdate:Boolean;  
 
function CheckLBA:Boolean;  
function CheckFAT32:Boolean;  
function CheckBootSector(ABootSector:PBootSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;  
protected
function GetName:String; override;  
public
property CaseFlags:Boolean read FCaseFlags write FCaseFlags;  
property LongNames:Boolean read FLongNames write FLongNames;  
property OemConvert:Boolean read FOemConvert write FOemConvert;  
property NumericTail:Boolean read FNumericTail write FNumericTail;  
 
property InfoSectorEnable:Boolean read FInfoSectorEnable write FInfoSectorEnable;  
property InfoImmediateUpdate:Boolean read FInfoImmediateUpdate write FInfoImmediateUpdate;  
 
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 TFATRecognizer.Create(ADriver:TFileSysDriver);
Description: To be documented
Note None documented


function TFATRecognizer.CheckLBA:Boolean;
Description: To be documented
Note None documented


function TFATRecognizer.CheckFAT32:Boolean;
Description: To be documented
Note None documented


function TFATRecognizer.CheckBootSector(ABootSector:PBootSector; const AStartSector:Int64; ASectorCount:LongWord):Boolean;
Description: To be documented
Note None documented


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


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


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


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


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


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


Return to Unit Reference