TDiskSecurity

From Ultibo.org
Jump to: navigation, search

Return to Unit Filesystem


Description


To be documented

Class definitions



TDiskSecurity = class(TObject)

Note: A disk security descriptor.
 
constructor Create(ALocalLock:TMutexHandle);  
constructor CreateFromSecurity(ALocalLock:TMutexHandle; ASecurity:TDiskSecurity); virtual;  
constructor CreateFromDescriptor(ALocalLock:TMutexHandle; ADescriptor:Pointer); virtual;  
destructor Destroy; override;  
private
FAcls:TFileSysList;  
FAclLock:TMutexHandle;  
protected
FLocalLock:TMutexHandle;  
 
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
public
function SecuritySize:LongWord; virtual;  
 
function SecurityDescriptor:Pointer; virtual;  
function SecurityDescriptorEx(ALocal:Boolean):Pointer; virtual;  
function InheritedDescriptor:Pointer; virtual;  
function MergedDescriptor(AChild:Pointer):Pointer; virtual;  
function ReleaseDescriptor(ADescriptor:Pointer; AInherited,AMerged:Boolean):Boolean; virtual;  
 
function CopyToSecurity(ASecurity:TDiskSecurity):Boolean; virtual;  
function CopyFromSecurity(ASecurity:TDiskSecurity):Boolean; virtual;  
 
function CopyToDescriptor(ADescriptor:Pointer; ASize:LongWord):Boolean; virtual;  
function CopyToDescriptorEx(ADescriptor:Pointer; ASize:LongWord; ALocal:Boolean):Boolean; virtual;  
function CopyFromDescriptor(ADescriptor:Pointer; ASize:LongWord):Boolean; virtual;  


Function declarations



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


constructor TDiskSecurity.CreateFromSecurity(ALocalLock:TMutexHandle; ASecurity:TDiskSecurity);
Description: To be documented
Note None documented


constructor TDiskSecurity.CreateFromDescriptor(ALocalLock:TMutexHandle; ADescriptor:Pointer);
Description: To be documented
Note None documented


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


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


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


function TDiskSecurity.SecuritySize:LongWord;
Description: To be documented
Note None documented


function TDiskSecurity.SecurityDescriptor:Pointer;
Description: To be documented
Note None documented


function TDiskSecurity.SecurityDescriptorEx(ALocal:Boolean):Pointer;
Description: To be documented
Note None documented


function TDiskSecurity.InheritedDescriptor:Pointer;
Description: To be documented
Note None documented


function TDiskSecurity.MergedDescriptor(AChild:Pointer):Pointer;
Description: To be documented
Note None documented


function TDiskSecurity.ReleaseDescriptor(ADescriptor:Pointer; AInherited,AMerged:Boolean):Boolean;
Description: To be documented
Note None documented


function TDiskSecurity.CopyToSecurity(ASecurity:TDiskSecurity):Boolean;
Description: To be documented
Note None documented


function TDiskSecurity.CopyFromSecurity(ASecurity:TDiskSecurity):Boolean;
Description: To be documented
Note None documented


function TDiskSecurity.CopyToDescriptor(ADescriptor:Pointer; ASize:LongWord):Boolean;
Description: To be documented
Note None documented


function TDiskSecurity.CopyToDescriptorEx(ADescriptor:Pointer; ASize:LongWord; ALocal:Boolean):Boolean;
Description: To be documented
Note None documented


function TDiskSecurity.CopyFromDescriptor(ADescriptor:Pointer; ASize:LongWord):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference