tSysFileRead (STRUCT)

TYPE tSysFileRead : STRUCT

Parameter to read a file asynchronously
InOut:

Name

Type

Comment

pbyBuffer

POINTER TO BYTE

Pointer to buffer for read data

ulSize

__XWORD

Number of bytes to read from file. Must be less or equal the buffer size!

pResult

POINTER TO RTS_IEC_RESULT

[OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)

pulOut

POINTER TO __XWORD

[OUT] Number of bytes read from file. 0=if failed