Set FlushAndPurgeOnCleanup in the C++ passthrough

This commit is contained in:
Colin Atkinson
2019-02-22 11:25:02 -05:00
parent 791a2162a3
commit 9cd2f6972b
2 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,7 @@ NTSTATUS Ptfs::Init(PVOID Host0)
Host->SetPassQueryDirectoryPattern(TRUE);
Host->SetVolumeCreationTime(_CreationTime);
Host->SetVolumeSerialNumber(0);
Host->SetFlushAndPurgeOnCleanup(TRUE);
return STATUS_SUCCESS;
}