VFS_ReadFile(
HANDLE:hVFSData,
LPVFSFUNCDATA:lpFuncData,
HANDLE:hFile,
LPVOID:lpData,
DWORD:dwSize,
LPDWORD:lpdwReadSize
)
→ BOOL
The VFS_ReadFile function is called to read data from an open file.
When this function is called you should read as much data as possible up to and including dwSize bytes from the file into the buffer provided. You should not block or wait for additional data to become available - only return as much data as you can (up to the provided buffer size). The amount of data returned must be placed in lpdwReadSize.