Moves the file pointer in a file opened with FCreateEx or FOpenEx.

FSeekEx(nFileHandle, nBytesToMove [, nRelativePosition])

Parameters

nFileHandle

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

nBytesToMove

The number of bytes the file pointer should be moved.

nRelativePosition (optional)

default = FILE_BEGIN

One of the following values.
ValueDescription
FILE_BEGINThe starting point is zero or the beginning of the file.
FILE_CURRENTThe starting point is the current value of the file pointer.
FILE_ENDThe starting point is the current end-of-file position.

Return Value

The new file pointer position.

See Also

Reference

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

Used WinApi functions

SetFilePointer