FsRtlNotifyFilterChangeDirectory vs FsRtlNotifyFullChangeDirectory

Checked online documents, they look no difference. Which one should be used for a file system? What is the difference? I am new to NTFS. Many thanks,

Max

FsRtlNotifyFilterChangeDirectory differs from the FsRtlNotifyFullChangeDirectory in that it accepts a FilterRoutine Callback.
You can use all FsRtlNotify* routines.

-----Původní zpráva-----
Od: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] za uživatele xxxxx@gmail.com
Odesláno: Thursday, October 25, 2007 4:39 PM
Komu: Windows File Systems Devs Interest List
Předmět: [ntfsd] FsRtlNotifyFilterChangeDirectory vs FsRtlNotifyFullChangeDirectory

Checked online documents, they look no difference. Which one should be used for a file system? What is the difference? I am new to NTFS. Many thanks,

Max


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@asw.cz
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you very much.

Petr Kurtin wrote:

FsRtlNotifyFilterChangeDirectory differs from the FsRtlNotifyFullChangeDirectory in that it accepts a FilterRoutine Callback.
You can use all FsRtlNotify* routines.

-----Původní zpráva-----
Od: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] za uživatele xxxxx@gmail.com
Odesláno: Thursday, October 25, 2007 4:39 PM
Komu: Windows File Systems Devs Interest List
Předmět: [ntfsd] FsRtlNotifyFilterChangeDirectory vs FsRtlNotifyFullChangeDirectory

Checked online documents, they look no difference. Which one should be used for a file system? What is the difference? I am new to NTFS. Many thanks,

Max


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@asw.cz
To unsubscribe send a blank email to xxxxx@lists.osr.com

You need the filter version to “filter out” data that shouldn’t be reported back to the user. For example, a directory change might occur inside a transaction, but this should not be reported to callers OUTSIDE the transaction, since they cannot see the effect of the change anyway. Thus, the filter gives the FSD a mechanism for “filtering out” operations that should not trigger directory change notifications.

A file system filter driver (or layered file system driver) could also use this to suppress change information being reported back to the applications for files that are “hidden from view”. Ergo, it provides a mechanism for “filtering out” reports that shouldn’t be returned back to the user.

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com