FsRtlNotifyFullChangeDirectory

Can anyone tell me what type the first argument of FsRtlNotifyFullChangeDirectory in? It is declared as PNOTIFY_SYNC (PVOID actually). Nagar’s book says it is a KMUTEX, but it crashed the system on NT in that function. Through debug I think it should be a FAST_MUTEX. While on W2K, driver verifier reports exception in that function even with FAST_MUTEX.

Anyone knows for sure the type of the PNOTIFY_SYNC on these platforms?

THanks a lot!

Lijun


Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access

You should consider it opaque.You should ask the file system run time to give you a pointer to a NOTIFY_SYNC using
FsRtlNotifyInitializeSync to get a vlaid synch notify object ptr. Subsequently FsRtlNotifyUninitializeSync will clean the object and release any storage associate with it.

Dan

----- Original Message -----
From: Lijun Wang
To: File Systems Developers
Sent: Monday, July 08, 2002 11:26 PM
Subject: [ntfsd] FsRtlNotifyFullChangeDirectory

Can anyone tell me what type the first argument of FsRtlNotifyFullChangeDirectory in? It is declared as PNOTIFY_SYNC (PVOID actually). Nagar’s book says it is a KMUTEX, but it crashed the system on NT in that function. Through debug I think it should be a FAST_MUTEX. While on W2K, driver verifier reports exception in that function even with FAST_MUTEX.

Anyone knows for sure the type of the PNOTIFY_SYNC on these platforms?

THanks a lot!

Lijun


Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access — You are currently subscribed to ntfsd as: xxxxx@rdsor.ro To unsubscribe send a blank email to %%email.unsub%%

Dan,
Thanks for this vital information.
Appreciate it.
Lijun
Dan Partelly wrote: You should consider it opaque.You should ask the file system run time to give you a pointer to a NOTIFY_SYNC usingFsRtlNotifyInitializeSync to get a vlaid synch notify object ptr. Subsequently FsRtlNotifyUninitializeSync will clean the object and release any storage associate with it. Dan ----- Original Message ----- From: Lijun Wang To: File Systems Developers Sent: Monday, July 08, 2002 11:26 PMSubject: [ntfsd] FsRtlNotifyFullChangeDirectory

Can anyone tell me what type the first argument of FsRtlNotifyFullChangeDirectory in? It is declared as PNOTIFY_SYNC (PVOID actually). Nagar’s book says it is a KMUTEX, but it crashed the system on NT in that function. Through debug I think it should be a FAST_MUTEX. While on W2K, driver verifier reports exception in that function even with FAST_MUTEX.

Anyone knows for sure the type of the PNOTIFY_SYNC on these platforms?

THanks a lot!

Lijun

---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access — You are currently subscribed to ntfsd as: xxxxx@rdsor.ro To unsubscribe send a blank email to %%email.unsub%%—
You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to %%email.unsub%%

---------------------------------
Do You Yahoo!?
New! SBC Yahoo! Dial - 1st Month Free & unlimited access