VFS_WriteFile(
HANDLE:hVFSData,
LPVFSFUNCDATA:lpFuncData,
HANDLE:hFile,
LPVOID:lpData,
DWORD:dwSize,
BOOL:fFlush,
LPDWORD:lpdwWriteSize
)
→ BOOL
The VFS_WriteFile function is called to write data to an open file.
You must write as much data as possible up to and including dwSize bytes to your file from the buffer provided. The amount of data actually written must be placed in lpdwWriteSize.