Hello,
Can some one explain to me what is the difference between returning
FILE_EXISTS and FILE_OPENED?
When is FILE_EXISTS returned?
–
Elias
Hello,
Can some one explain to me what is the difference between returning
FILE_EXISTS and FILE_OPENED?
When is FILE_EXISTS returned?
–
Elias
If you look at the FASTFAT example in the IFS kit, they return
FILE_EXISTS when they open a target directory (e.g., for a rename
operaton) - see FatOpenTargetDirectory in create.c.
FILE_OPENED appears to be used in most other cases.
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of lallous
Sent: Monday, September 20, 2004 4:22 AM
To: ntfsd redirect
Subject: [ntfsd] iosb.status.information , after IRP_MJ_CREATE
Hello,
Can some one explain to me what is the difference between returning
FILE_EXISTS and FILE_OPENED?
When is FILE_EXISTS returned?
–
Elias
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Hi lallous
I see we are more or less on the same subject as the nieghbouring thread
FILE_OPENED is returned when the file (or directory, …) is opened.
FILE_EXISTS is returned when the SL_OPEN_TARGET_DIRECTORY flag was set in
the IRP_MJ_CREATE and the named file (or directory) exists; the way the
parent directory of the named file (or directory) has also been opened.
Well at least this is what I believe I observe.
Good luck!
Lyndon
“lallous” wrote in message news:xxxxx@ntfsd…
> Hello,
>
> Can some one explain to me what is the difference between returning
> FILE_EXISTS and FILE_OPENED?
>
> When is FILE_EXISTS returned?
>
> –
> Elias
>
>
>