tSysFileRead (STRUCT)ΒΆ
TYPE tSysFileRead : STRUCT
Parameter to read a file asynchronously
- InOut:
Name
Type
Comment
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
[OUT] Pointer to the runtime system error code (see CmpErrors2 Interface Library)
pulOutPOINTER TO __XWORD
[OUT] Number of bytes read from file. 0=if failed