SysFileGetPos (FUN)

 

FUNCTION SysFileGetPos : RTS_IEC_RESULT

Get actual file pointer position

InOut:

Scope

Name

Type

Comment

Return

SysFileGetPos

RTS_IEC_RESULT

The runtime system error code (see CmpErrors.library)

Input

hFile

RTS_IEC_HANDLE

Handle of the file

pulPos

POINTER TO __XWORD

Pointer to get actual position of the file pointer from the beginning of the file