in reply to When file is committed to disk?

In all probability, the file will have a write lock on it [the file] while the OS (or, in this case, Windoze :-) is writing it, so you could maybe try opening the file - I'd guess the call should fail until the OS has completed writing ... or even opening the file with a blocking wait.

A user level that continues to overstate my experience :-))