SysFileReadΒΆ
This function of type DWORD serves to read a file, which has been opened before by SysFileOpen. The return value is the number of successfully read bytes.
Input-Variable | Data Type | Description |
---|---|---|
File | DWORD | File number (see SysFileOpen) |
Buffer | DWORD | Address of the buffer which contains the data to be read (get this with the aid of the ADR operator) |
Size | DWORD | Number of bytes to be read from the buffer |
Example:\ \
ReadBuffer : ReadBuffer:ARRAY[0..5] OF BYTE;
hFile : DWORD;
dwRead : DWORD;