TNTFSStandardInformationAttribute

From Ultibo.org
Jump to: navigation, search

Return to Unit NTFSClass


Description


To be documented

Class definitions



TNTFSStandardInformationAttribute = class(TNTFSDiskAttribute)

constructor Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);  
destructor Destroy; override;  
private
FCreateTime:TFileTime; File Creation
FWriteTime:TFileTime; File Altered
FChangeTime:TFileTime; MFT Changed
FAccessTime:TFileTime; File Read
FAttributes:LongWord; DOS File Permissions
FMaxVersions:LongWord; Maximum Number of Versions
FVersionNo:LongWord; Version Number
FClassId:LongWord; Class Id
FOwnerId:LongWord; Owner Id
FSecurityId:LongWord; Security Id
FQuotaCharge:Int64; Quota Charged
FUpdateSequenceNumber:Int64; Update Sequence Number
public
property CreateTime:TFileTime read FCreateTime write FCreateTime;  
property WriteTime:TFileTime read FWriteTime write FWriteTime;  
property ChangeTime:TFileTime read FChangeTime write FChangeTime;  
property AccessTime:TFileTime read FAccessTime write FAccessTime;  
property Attributes:LongWord read FAttributes write FAttributes;  
property MaxVersions:LongWord read FMaxVersions write FMaxVersions;  
property VersionNo:LongWord read FVersionNo write FVersionNo;  
property ClassId:LongWord read FClassId write FClassId;  
property OwnerId:LongWord read FOwnerId write FOwnerId;  
property SecurityId:LongWord read FSecurityId write FSecurityId;  
property QuotaCharge:Int64 read FQuotaCharge write FQuotaCharge;  
property UpdateSequenceNumber:Int64 read FUpdateSequenceNumber write FUpdateSequenceNumber;  
 
function CalculatedStreamSize(AVersion:Word):Int64; override;  
 
function UpdateEntry(AEntry:TNTFSDiskEntry):Boolean; override;  
function UpdateAttribute(AEntry:TNTFSDiskEntry):Boolean; 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 TNTFSStandardInformationAttribute.Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);
Description: To be documented
Note None documented


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


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


function TNTFSStandardInformationAttribute.UpdateEntry(AEntry:TNTFSDiskEntry):Boolean;
Description: To be documented
Note None documented


function TNTFSStandardInformationAttribute.UpdateAttribute(AEntry:TNTFSDiskEntry):Boolean;
Description: To be documented
Note None documented


function TNTFSStandardInformationAttribute.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 TNTFSStandardInformationAttribute.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