company logo

File :: unlock - Unlock file positions

The function returns false, when an error occurs while unlocking the file (file not opened, file not locked) and true when being unlocked successfully.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false.

Implementation details

bool File  :: unlock ( int64 iPosition64, int32 iLenght )

The function unlocks iLength bytes at file position iPosition64. The file must have been opened and the positions have to be locked before.File positions must exist virtually, only.

  • iPosition64 - Position in an area or file

    The big position value usually refers to a relative position in an area or file.

  • iLenght - - internal feature (not documented)