TNTFSDataKey

From Ultibo.org
Revision as of 05:55, 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



TNTFSDataKey = class(TNTFSDiskKey)

constructor Create(ALocalLock:TMutexHandle);  
destructor Destroy; override;  
private
FData:Pointer;  
 
FDataSize:Word; Size of the data (Only valid when the last entry flag is not set)
 
procedure SetKeySize(ASize:Word); override;  
procedure SetData(AData:Pointer);  
procedure SetDataSize(ASize:Word);  
public
property Data:Pointer read FData write SetData;  
 
property DataSize:Word read FDataSize write SetDataSize;  
 
function DataOffset:Word; Offset to the data (Only valid when the last entry flag is not set)
function CalculatedSize(AVersion:Word):Word; override;  
 
function ReadKey(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean; override;  
function WriteKey(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean; override;  


Function declarations



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


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


procedure TNTFSDataKey.SetKeySize(ASize:Word);
Description: To be documented
Note None documented


procedure TNTFSDataKey.SetData(AData:Pointer);
Description: To be documented
Note None documented


procedure TNTFSDataKey.SetDataSize(ASize:Word);
Description: To be documented
Note None documented


function TNTFSDataKey.DataOffset:Word;
Description: To be documented
Note None documented


function TNTFSDataKey.CalculatedSize(AVersion:Word):Word;
Description: To be documented
Note Calculated Size includes any rounding required for alignment


function TNTFSDataKey.ReadKey(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: Read the index entry from the supplied buffer at the supplied offset
Note None documented


function TNTFSDataKey.WriteKey(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: Write the index entry to the supplied buffer at the supplied offset
Note None documented


Return to Unit Reference