title: How to flush all file buffers in Windows?
body: <p>There is <code>FlushFileBuffers()</code> API in Windows to flush buffers till hard drive for a <em>single</em> file. There is <code>sync()</code> API in Linux to flush file buffers for <em>all</em> files.</p>
  
  <p>However, is there WinAPI for flushing all files too, i.e. a <code>sync()</code> analog?</p>