Hi all.

I was looking for an unbuffered write to disk using QSaveFile and noticed the QIODevice::Unbuffered ( http://doc.qt.io/qt-5/qiodevice.html#OpenModeFlag-enum ) mode, which seemed just like what I needed. Unfortunately the notes for that particular mode says
and limitations in the native API prevent QFile from supporting Unbuffered on Windows.
Knowing that Windows has both a FlushFileBuffers() function and FILE_FLAG_NO_BUFFERING and FILE_FLAG_WRITE_THROUGH flags ( https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx ) I an curious as to why QFile does not support QIODevice::Unbuffered as it seems to match pretty darn well with the flags mentioned.

Can anybody shed light on that matter?

Cheers,
Morten