Defined in:Reads data from a file.
FileResult ReadFile(void *buffer, uint32 size);
||A pointer to the location that will receive the data read from the file.|
||The number of bytes to read from the file.|
ReadFilefunction attempts to perform a synchronous read operation for a file object. If successful, this function blocks until the read operation completes. The return value is one of the following file result codes.
||The read operation was successfully completed.|
||No file has been opened for the |
||The operation failed because the operating system returned an error.|