FlushFileBuffers
Windows Mobile 6.5
A version of this page is also available for
4/8/2010
This function clears the buffers for the specified file and writes all buffered data to the file.
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
The WriteFile function typically writes data to an internal buffer that the OS writes to disk on a regular basis. This function writes the buffered information for the specified file to disk.