SysFileReadAsyncΒΆ
This function block is used to read from an open file.
Variable | I/O | Data type | Description |
---|---|---|---|
hFile | I | DWORD | File identifier (see SysFileOpenAsync) |
pBuffer | I | DWORD | Address of the buffer to read to. |
dwSize | I | DWORD | Number of bytes to read from the file to buffer. |
dwRead | O | DWORD | Number of actually read bytes. |
Parameter pBuffer must be evaluated via the ADR() operator. The files to be written are read binarily, i.e. without any conversion and copied to pBuffer.