Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

UnLockRecord

Unlock a record

Declaration

Source position: amigados.pas line 2718

function UnLockRecord(

  Fh: LongInt;

  Offset: Int64;

  Length: Int64

):LongBool;

Arguments

Fh

  

File handle of locked file

Offset

  

Record start position

Length

  

Length of record in bytes

Description

This releases the specified lock on a file. Note that you must use the same filehandle you used to lock the record, and offset and length must be the same values used to lock it. Every LockRecord() call must be balanced with an UnLockRecord() call.

See also

LockRecords

  

Lock a series of records

LockRecord

  

Locks a portion of a file

UnLockRecords

  

Unlock a list of records


Documentation generated on: 2021-07-30