LockNetAccessFile
function LockNetAccessFile (const FileName : string; const Key : TKey; var NetAccess : TNetAccess) : Boolean;
TNetAccess = packed record
 Fh         : Integer;
 Key        : TKey;
 CheckValue : Word;
 Index      : Word;
end;

TurboPack OnGuard FMX

LockNetAccessFile

function LockNetAccessFile (const FileName : string; const Key : TKey; var NetAccess : TNetAccess) : Boolean;

TNetAccess = packed record
 Fh         : Integer;
 Key        : TKey;
 CheckValue : Word;
 Index      : Word;
end;

Navigation:  »No topics above this level«

LockNetAccessFile

function LockNetAccessFile (const FileName : string; const Key : TKey; var NetAccess : TNetAccess) : Boolean;

TNetAccess = packed record
 Fh         : Integer;
 Key        : TKey;
 CheckValue : Word;
 Index      : Word;
end;

Return to chapter overview

_bm1 LockNetAccessFile locks an access slot in the network access file specified by FileName and returns false if an error occurs.

This routine is defined in the OgNetWrk unit.