TCDFSRecognizer

From Ultibo.org
Jump to: navigation, search

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