SysFileGetSizeByHandle (FUN)

 

FUNCTION SysFileGetSizeByHandle : __XWORD

Get file size of the file specified by handle

InOut:

Scope

Name

Type

Comment

Return

SysFileGetSizeByHandle

__XWORD

Size of the file in bytes

Input

hFile

RTS_IEC_HANDLE

Handle of the file

pResult

POINTER TO RTS_IEC_RESULT

Pointer to runtime system error code (see CmpErrors.library)