Ask for the implementation of the file delete #379
Answered
by
LTRData
ZhangHuan0407
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
LTRData
Aug 24, 2025
Replies: 1 comment
-
|
It all depends on how applications call it. Either they call And yes, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ZhangHuan0407
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


It all depends on how applications call it. Either they call
CreateFilewithFILE_FLAG_DELETE_ON_CLOSEspecified and then callCloseHandle, or they callDeleteFilewhich internally callsCreateFile,DeleteFileandCloseHandle.And yes,
CreateFileis used to both create new files and open existing files and directories.