TNTFSIndexRootAttribute

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

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

Return to Unit NTFSClass


Description


To be documented

Class definitions



TNTFSIndexRootAttribute = class(TNTFSDiskAttribute)

constructor Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);  
destructor Destroy; override;  
private
FIndexType:LongWord; Attribute Type
FCollateRule:LongWord; Collation Rule
FIndexRecordSize:LongWord; Size of Index Allocation Entry (bytes)
FIndexCounterOffset:LongWord; Index Record Number increment
public
property IndexType:LongWord read FIndexType write FIndexType;  
property CollateRule:LongWord read FCollateRule write FCollateRule;  
property IndexRecordSize:LongWord read FIndexRecordSize write FIndexRecordSize;  
property IndexCounterOffset:LongWord read FIndexCounterOffset write FIndexCounterOffset;  
 
function CreateIndex(AVersion,ASector:Word):Boolean; override;  
function NewIndex(AVersion,ASector:Word; AType,ARule,ASize,AOffset:LongWord):Boolean; override;  
 
function CalculatedStreamSize(AVersion:Word):Int64; override;  
 
function ReadData(ABuffer:Pointer; var AOffset:LongWord; AVersion:Word):Boolean; override;  
function WriteData(ABuffer:Pointer; var AOffset:LongWord; AVersion:Word):Boolean; override;  


Function declarations



constructor TNTFSIndexRootAttribute.Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);
Description: To be documented
Note None documented


destructor TNTFSIndexRootAttribute.Destroy;
Description: To be documented
Note None documented


function TNTFSIndexRootAttribute.CreateIndex(AVersion,ASector:Word):Boolean;
Description: Create an index setup properties do not update Attribute
Note None documented


function TNTFSIndexRootAttribute.NewIndex(AVersion,ASector:Word; AType,ARule,ASize,AOffset:LongWord):Boolean;
Description: Setup parameters and create an index
Note None documented


function TNTFSIndexRootAttribute.CalculatedStreamSize(AVersion:Word):Int64;
Description: To be documented
Note See notes in virtual base method


function TNTFSIndexRootAttribute.ReadData(ABuffer:Pointer; var AOffset:LongWord; AVersion:Word):Boolean;
Description: Read the resident attribute data from the supplied buffer at the supplied offset
Note None documented


function TNTFSIndexRootAttribute.WriteData(ABuffer:Pointer; var AOffset:LongWord; AVersion:Word):Boolean;
Description: Write the resident attribute data to the supplied buffer at the supplied offset
Note None documented


Return to Unit Reference