SysFileTruncate (FUN)
FUNCTION SysFileTruncate : RTS_IEC_RESULT
Set a new filesize. May be larger or smaller than current size.
- InOut:
Scope
Name
Type
Comment
Return
SysFileTruncateRTS_IEC_RESULTReturns the runtime system error code (see CmpErrors.library)
Input
hFileRTS_IEC_HANDLEHandle of the file
ulSizeNew__XWORDSize to set.