Difference between revisions of "TNTFSExtended"

From Ultibo.org
Jump to: navigation, search
(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:26, 24 May 2018

Return to Unit NTFSClass


Description


To be documented

Class definitions



TNTFSExtended = class(TListObject)

Note: Data of attribute $EA
 
constructor Create(ALocalLock:TMutexHandle);  
destructor Destroy; override;  
private
FLocalLock:TMutexHandle;  
 
FExtendedOffset:LongWord; Offset to next Extended Attribute (Offset to next EA is the size of this EA)
FExtendedFlags:Byte; Flags
FExtendedName:String; Name Note: No offset so always in the same location (Not Unicode)
FExtendedData:Pointer; Value
FExtendedDataSize:Word; Value Length
 
FExtendedHash:LongWord;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function GetExtendedName:String;  
procedure SetExtendedName(const AExtendedName:String);  
procedure SetExtendedDataSize(ASize:Word);  
public
property ExtendedOffset:LongWord read FExtendedOffset write FExtendedOffset;  
property ExtendedFlags:Byte read FExtendedFlags write FExtendedFlags;  
property ExtendedName:String read GetExtendedName write SetExtendedName;  
property ExtendedData:Pointer read FExtendedData;  
property ExtendedDataSize:Word read FExtendedDataSize write SetExtendedDataSize;  
 
property ExtendedHash:LongWord read FExtendedHash;  
 
function ExtendedSize:LongWord;  
 
function ExtendedNameSize:Word;  
function ExtendedNameLength:Byte; Name Length
 
function ReadExtended(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;  
function WriteExtended(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;  


Function declarations



constructor TNTFSExtended.Create(ALocalLock:TMutexHandle);
Description: To be documented
Note None documented


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


function TNTFSExtended.AcquireLock:Boolean;
Description: To be documented
Note None documented


function TNTFSExtended.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function TNTFSExtended.GetExtendedName:String;
Description: To be documented
Note None documented


procedure TNTFSExtended.SetExtendedName(const AExtendedName:String);
Description: To be documented
Note None documented


procedure TNTFSExtended.SetExtendedDataSize(ASize:Word);
Description: To be documented
Note None documented


function TNTFSExtended.ExtendedSize:LongWord;
Description: To be documented
Note None documented


function TNTFSExtended.ExtendedNameSize:Word;
Description: To be documented
Note None documented


function TNTFSExtended.ExtendedNameLength:Byte;
Description: To be documented
Note None documented


function TNTFSExtended.ReadExtended(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: Read the extended attribute from the supplied buffer at the supplied offset
Note None documented


function TNTFSExtended.WriteExtended(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: Write the extended attribute to the supplied buffer at the supplied offset
Note None documented


Return to Unit Reference