TFileHandle

From Ultibo.org
Revision as of 03:44, 17 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Filesystem __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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