From bbbdbcb8f0ce666582365fff6db653d1b853acfd Mon Sep 17 00:00:00 2001 From: Liryna Date: Sun, 19 Jun 2016 16:39:41 +0200 Subject: [PATCH] Mirror - Add DeleteOnClose comment --- samples/dokan_mirror/mirror.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/dokan_mirror/mirror.c b/samples/dokan_mirror/mirror.c index f705e7110..013d48173 100644 --- a/samples/dokan_mirror/mirror.c +++ b/samples/dokan_mirror/mirror.c @@ -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 ");