Click or drag to resize

Functions.FSeek Method

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.07
Syntax
 FUNCTION FSeek(
	 hFile AS USUAL,
	 nOffset AS USUAL,
	 nOrigin AS USUAL
) AS LONG
View Source

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