Skip to content

Commit

Permalink
Mirror - Add DeleteOnClose comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna authored Jun 19, 2016
1 parent 11bb829 commit bbbdbcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/dokan_mirror/mirror.c
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ static void DOKAN_CALLBACK MirrorCleanup(LPCWSTR FileName,
}

if (DokanFileInfo->DeleteOnClose) {
// Should already be deleted by CloseHandle
// if open with FILE_FLAG_DELETE_ON_CLOSE
DbgPrint(L"\tDeleteOnClose\n");
if (DokanFileInfo->IsDirectory) {
DbgPrint(L" DeleteDirectory ");
Expand Down

0 comments on commit bbbdbcb

Please sign in to comment.