Unlocks a region of bytes in a file opened with FCreateEx or FOpenEx.

FUnlockFileEx(nFileHandle, nLockOffset, nBytesToLock)

Parameters

nFileHandle

A file handle retrieved from FCreateEx, FOpenEx or a windows api function.

nLockOffset

Startoffset of the section of bytes to lock in the file.

nBytesToLock

The number of bytes to lock in the file.

Return Value

.T. if the byterange was unlocked successful, .F. otherwise.

See Also

Reference

AFHandlesEx
FChSizeEx
FCloseEx
FCreateEx
FEoFEx
FFlushEx
FGetsEx
FLockFile
FLockFileEx
FOpenEx
FPutsEx
FReadEx
FSeekEx
FUnlockFile
FWriteEx

Used WinApi functions

UnlockFileEx