Click or drag to resize

FSeek Function

Set the file pointer to a new position, specifying three strongly-typed arguments.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION FSeek(
	 hFile AS USUAL,
	 nOffset AS USUAL,
	 nOrigin AS USUAL
) AS LONG

Parameters

hFile
Type: USUAL
nOffset
Type: USUAL
nOrigin
Type: USUAL

Return Value

Type: Int32
The new position of the file pointer, relative to the beginning of the file (position 0). (The original position of the file pointer does not matter.)
Remarks
The possible values for the origin are:
ConstantSeeks from
FS_ENDEnd-of-file
FS_RELATIVECurrent pointer position
FS_SETBeginning-of-file
See Also