SysFileRead (FUN)
FUNCTION SysFileRead : __XWORD
Read number of bytes out of the file
- InOut:
Scope
Name
Type
Comment
Return
SysFileRead__XWORDNumber of bytes read from file. 0=if failed
Input
hFileRTS_IEC_HANDLEHandle of the file
pbyBufferPOINTER TO BYTE
Pointer to buffer for read data
ulSize__XWORDNumber of bytes to read from file. Must be less or equal the buffer size!
pResultPOINTER TO RTS_IEC_RESULT
Pointer to runtime system error code (see CmpErrors.library)