tSysFileGetSize
(STRUCT)
TYPE tSysFileGetSize : STRUCT
Parameter to get file size of the file specified by name
- InOut:
Name
Type
Comment
szFileName
STRING
File name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)!
pResult
POINTER TO RTS_IEC_RESULT
[OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library) - ERR_OK: Successful - ERR_NO_OBJECT: File not available - ERR_FAILED: Failed to get file size
pulOut
POINTER TO __XWORD
[OUT] Size of the file in bytes