SysFileSetPos (FUN)

 

FUNCTION SysFileSetPos : RTS_IEC_RESULT

Set the file pointer to the specified position

InOut:

Scope

Name

Type

Comment

Return

SysFileSetPos

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Input

hFile

RTS_IEC_HANDLE

Handle of the file

ulOffset

__XWORD

Offset to set from the beginning of the file