Using `FILE_DELETE_ON_CLOSE` can silently succeed without reporting any error
on non-empty directory. This commit adds usage of NtSetInformationFile
which will report `DIRECTORY_NOT_EMPTY`.
911f74e93bxEgoist committed on 4/16/2023, 8:18:15 PMparent7fad555