FILE_FLAG_WRITE_THROUGH

const win32file.FILE_FLAG_WRITE_THROUGH;

Instructs the system to write through any intermediate cache and go directly to disk. Windows can still cache write operations, but cannot lazily flush them.