Difference between revisions of "TNTFSFileNameAttribute"
From Ultibo.org
(Created page with "Return to Unit NTFSClass __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible m...") |
(No difference)
|
Latest revision as of 06:07, 24 May 2018
Return to Unit NTFSClass
Description
To be documented
Class definitions
TNTFSFileNameAttribute = class(TNTFSDiskAttribute)
constructor Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);
|
|
destructor Destroy; override;
|
|
private
| |
FParentReference:Int64;
|
File reference to the parent directory |
FCreateTime:TFileTime;
|
C Time - File Creation
Note: These fields are only updated when the filename is changed (See Standard Information instead) |
FWriteTime:TFileTime;
|
A Time - File Altered
Note: These fields are only updated when the filename is changed (See Standard Information instead) |
FChangeTime:TFileTime;
|
M Time - MFT Changed
Note: These fields are only updated when the filename is changed (See Standard Information instead) |
FAccessTime:TFileTime;
|
R Time - File Read
Note: These fields are only updated when the filename is changed (See Standard Information instead) |
FFileAllocated:Int64;
|
Allocated size of the file (As for CreateTime/WriteTime/ChangeTime etc) |
FFileSize:Int64;
|
Real size of the file (As for CreateTime/WriteTime/ChangeTime etc) |
FFileFlags:LongWord;
|
Flags, e.g. Directory, compressed, hidden (As for CreateTime/WriteTime/ChangeTime etc) |
FReparseTag:LongWord;
|
Used by EAs and Reparse |
FNameSpace:Byte;
|
Filename namespace |
FFileName:String;
|
File name |
FFileHash:LongWord;
|
|
function GetFileName:String;
|
|
procedure SetFileName(const AFileName:String);
|
|
public
| |
property ParentReference:Int64 read FParentReference write FParentReference;
|
|
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 FileAllocated:Int64 read FFileAllocated write FFileAllocated;
|
|
property FileSize:Int64 read FFileSize write FFileSize;
|
|
property FileFlags:LongWord read FFileFlags write FFileFlags;
|
|
property ReparseTag:LongWord read FReparseTag write FReparseTag;
|
|
property NameSpace:Byte read FNameSpace write FNameSpace;
|
|
property FileName:String read GetFileName write SetFileName;
|
|
property FileHash:LongWord read FFileHash;
|
|
function FileNameSize:Word;
|
|
function FileNameLength:Byte;
|
Filename length in characters |
function ParentRecord:Int64;
|
|
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 TNTFSFileNameAttribute.Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);
Description: To be documented
Note | None documented |
---|
destructor TNTFSFileNameAttribute.Destroy;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.GetFileName:String;
Description: To be documented
Note | None documented |
---|
procedure TNTFSFileNameAttribute.SetFileName(const AFileName:String);
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.FileNameSize:Word;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.FileNameLength:Byte;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.ParentRecord:Int64;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.CalculatedStreamSize(AVersion:Word):Int64;
Description: To be documented
Note | See notes in virtual base method |
---|
function TNTFSFileNameAttribute.UpdateEntry(AEntry:TNTFSDiskEntry):Boolean;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.UpdateAttribute(AEntry:TNTFSDiskEntry):Boolean;
Description: To be documented
Note | None documented |
---|
function TNTFSFileNameAttribute.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 TNTFSFileNameAttribute.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