One observation at the IFS FAQ:
The item would only work for file OPEN, not CREATE, REPLACE or
SUPSERSEDE. I’m not missing anything right? (if not, this should be a
“TIP” in the FAQ)
In does not work: I mean the file would remain created or would be
zeroed.
–
Kind regards, Dejan M. MVP for DDK
http://www.alfasp.com E-mail: xxxxx@alfasp.com
Alfa Transparent File Encryptor - Transparent file encryption services.
Alfa File Protector - File protection and hiding library for Win32
developers.
Alfa File Monitor - File monitoring library for Win32 developers.
It is correct, no changes that are result of the create operation are
undone. The list is not limited to the cases you specified. If file was
opened with DeleteOnClose flag specified, it will be deleted. If disposition
is FILE_OPEN_IF then it is safe to use IoCancelOpen if you know that the
file exists, but not safe otherwise. Even if the file was opened there is a
difference between create request being rejected by the file system and by
using IoCancelOpen because in later case LastAccesTime is updated.
Alexei.
“Dejan Maksimovic” wrote in message news:xxxxx@ntfsd…
>
> One observation at the IFS FAQ:
> The item would only work for file OPEN, not CREATE, REPLACE or
> SUPSERSEDE. I’m not missing anything right? (if not, this should be a
> “TIP” in the FAQ)
> In does not work: I mean the file would remain created or would be
> zeroed.
>
> –
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: xxxxx@alfasp.com
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
> developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
>
>
>