TFileHandle

From Ultibo.org
Jump to: navigation, search

Return to Unit Filesystem


Description


To be documented

Class definitions



TFileHandle = class(TListObject)

constructor Create;  
destructor Destroy; override;  
private
FLock:TSynchronizerHandle;  
public
Volume:TDiskVolume;  
Drive:TDiskDrive;  
 
OpenMode:Integer;  
ShareMode:Integer;  
 
Position:Int64;  
Handle:Integer;  
 
DataValue:LongWord; Available to FileSystem for private use
DataOffset:LongWord; Available to FileSystem for private use
 
ParentEntry:TDiskEntry;  
HandleEntry:TDiskEntry;  
 
function ReaderLock:Boolean;  
function ReaderUnlock:Boolean;  
function ReaderConvert:Boolean;  
function WriterLock:Boolean;  
function WriterUnlock:Boolean;  
function WriterConvert:Boolean;  


Function declarations



constructor TFileHandle.Create;
Description: To be documented
Note None documented


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


function TFileHandle.ReaderLock:Boolean;
Description: To be documented
Note None documented


function TFileHandle.ReaderUnlock:Boolean;
Description: To be documented
Note None documented


function TFileHandle.ReaderConvert:Boolean;
Description: Convert a Reader lock to a Writer lock
Note None documented


function TFileHandle.WriterLock:Boolean;
Description: To be documented
Note None documented


function TFileHandle.WriterUnlock:Boolean;
Description: To be documented
Note None documented


function TFileHandle.WriterConvert:Boolean;
Description: Convert a Writer lock to a Reader lock
Note None documented


Return to Unit Reference