On 29.05.2015 17:55, Stefan Fuhrmann wrote: > If you assume / suspect that FlushFileBuffers() only operates on the > open handle, i.e. only flushes those changes made through that thandle,
>From my dabbling with the Windows I/O stack and filesystems way back, I'd say that flushing (and all other operations, really) are per-FCB. The FCB (file control block) is a per-open-file unique structure deep in the I/O stack that all file handles refer to. Any file handle that has the necessary access and sharing rights to flush the file cache will affect the cache state for all other file handles. -- Brane