i'm overwriting to file in 10mb chunks
by WriteFile API
handle is opened using
FILE_FLAG_NO_BUFFERING | FILE_FLAG_WRITE_THROUGH |FILE_FLAG_RANDOM_ACCESS
flags in CreateFile
my question is : what happens to the chunk if my app crashed/terminated/windows BSODed (i'm not asking about powerloss) does the 10mb chuck get overwritten fully , not written at all or partly written ?
if filesystem matters ,NTFS with features that are enabled by defualt in regular windows installation is my question
i'd like to know your experience or knowledge thanks in advance