VFS_CloseFile(
HANDLE:hVFSData,
LPVFSFUNCDATA:lpFuncData,
HANDLE:hFile
)
→ void
The VFS_CloseFile function is called to close a file handle previously opened by VFS_CreateFile.
You should take any steps necessary to close the file (including flushing any write buffers if appropriate) and free any memory involved in the original allocation of the file handle.