delete-on-close

Tag

Cards List
#delete-on-close

I opened a file with FILE_FLAG_DELETE_ON_CLOSE, but now I changed my mind

The Old New Thing (Raymond Chen) · 2026-07-06 Cached

Explains that FILE_FLAG_DELETE_ON_CLOSE is irreversible, but you can achieve conditional deletion by using SetFileInformationByHandle to toggle the delete disposition.

0 favorites 0 likes
← Back to home

Submit Feedback