Difference between revisions of "TFileHandle"
From Ultibo.org
								
												
				 (Created page with "Return to Unit Filesystem   __TOC__  === Description === ----  ''To be documented''  === Class definitions === ----   <div class="toccolours mw-collapsible...")  | 
				|||
| Line 51: | Line 51: | ||
|    | |    | ||
|-  | |-  | ||
| − | | <code>Handle:  | + | | <code>Handle:THandle;</code>  | 
|    | |    | ||
|-  | |-  | ||
Latest revision as of 04:27, 22 January 2025
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:THandle;
 | 
|
 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