TFATRecognizer

From Ultibo.org
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;  
 
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