Author: pschweitzer
Date: Sat May 10 15:05:57 2008
New Revision: 33420
URL:
http://svn.reactos.org/svn/reactos?rev=33420&view=rev
Log:
"Implemented" FsRtlNotifyChangeDirectory
It just redirects to FsRtlNotifyFullChangeDirectory (which is *NOT* implemented)
Modified:
trunk/reactos/ntoskrnl/fsrtl/notify.c
Modified: trunk/reactos/ntoskrnl/fsrtl/notify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/notify.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/fsrtl/notify.c [iso-8859-1] Sat May 10 15:05:57 2008
@@ -3,7 +3,7 @@
* LICENSE: GPL - See COPYING in the top level directory
* FILE: ntoskrnl/fsrtl/notify.c
* PURPOSE: Change Notifications and Sync for File System Drivers
- * PROGRAMMERS: None.
+ * PROGRAMMERS: Pierre Schweitzer
*/
/* INCLUDES ******************************************************************/
@@ -18,32 +18,34 @@
* @name FsRtlNotifyChangeDirectory
* @implemented
*
- * FILLME
- *
- * @param NotifySync
- * FILLME
+ * Lets FSD know if changes occures in the specified directory.
+ * Directory will be reenumerated.
+ *
+ * @param NotifySync
+ * Synchronization object pointer
*
* @param FsContext
- * FILLME
+ * Used to identify the notify structure
*
* @param FullDirectoryName
- * FILLME
- *
- * @param NotifyList
- * FILLME
+ * String (A or W) containing the full directory name
+ *
+ * @param NotifyList
+ * Notify list pointer (to head)
*
* @param WatchTree
- * FILLME
+ * True to notify changes in subdirectories too
*
* @param CompletionFilter
- * FILLME
+ * Used to define types of changes to notify
*
* @param NotifyIrp
- * FILLME
- *
- * @return None
- *
- * @remarks None
+ * IRP pointer to complete notify operation. It can be null
+ *
+ * @return None
+ *
+ * @remarks This function only redirects to FsRtlNotifyFullChangeDirectory.
+ * So, it's better to call the entire function.
*
*--*/
VOID
@@ -56,7 +58,16 @@
IN ULONG CompletionFilter,
IN PIRP NotifyIrp)
{
- KEBUGCHECK(0);
+ FsRtlNotifyFullChangeDirectory(NotifySync,
+ NotifyList,
+ FsContext,
+ FullDirectoryName,
+ WatchTree,
+ TRUE,
+ CompletionFilter,
+ NotifyIrp,
+ NULL,
+ NULL);
}
/*++