TFATRecognizer

From Ultibo.org
Revision as of 04:08, 3 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit FATFS __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collap...")

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

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;  
 
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;  
 
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