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

UnLockRecord

Unlock a record

Declaration

Source position: amigados.pas line 2246

function UnLockRecord(

  Fh: Pointer;

  Offset: LongWord;

  Length: LongWord

):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