I just notice there is a problem combining the two server calls into one, because `FILE_DISPOSITION_INFORMATION` has no effect on `FILE_FLAG_DELETE_ON_CLOSE`, wheras `FILE_DISPOSITION_INFORMATION_EX` always sets it or clears it.
I will come back later with a version that has the two server calls separated.