TNTFSSecurityDescriptorAttribute

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



TNTFSSecurityDescriptorAttribute = class(TNTFSDiskAttribute)

Note: This is the same structure that is used for all security in Windows (File/Kernel/Registry etc). See TSecurityDescriptor and associated values in Security unit for more information.
 
constructor Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);  
destructor Destroy; override;  
private
FSecurity:TNTFSSecurity;  
public
property Security:TNTFSSecurity read FSecurity;  
 
function CreateSecurity:Boolean;  
function NewSecurity(ASecurity:TNTFSSecurity):Boolean;  
 
function CalculatedStreamSize(AVersion:Word):Int64; override;  
 
function ReadSecurity(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;  
function WriteSecurity(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;  
 
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 TNTFSSecurityDescriptorAttribute.Create(ALocalLock:TMutexHandle; AParent:TNTFSDiskRecord);
Description: To be documented
Note None documented


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


function TNTFSSecurityDescriptorAttribute.CreateSecurity:Boolean;
Description: Create a security, setup properties do not update Attribute
Note None documented


function TNTFSSecurityDescriptorAttribute.NewSecurity(ASecurity:TNTFSSecurity):Boolean;
Description: Create a security, setup properties and update Attribute
Note None documented


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


function TNTFSSecurityDescriptorAttribute.ReadSecurity(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: To be documented
Note None documented


function TNTFSSecurityDescriptorAttribute.WriteSecurity(ABuffer:Pointer; var AOffset,ASize:LongWord; AVersion:Word):Boolean;
Description: To be documented
Note None documented


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