// ntifs.h
VOID FsRtlNotifyCleanupAll(
[in] PNOTIFY_SYNC NotifySync,
[in] PLIST_ENTRY NotifyList
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlNotifyCleanupAll routine removes all members of the specified notification list.
NotifySync [in]A pointer to the opaque synchronization object for NotifyList.
NotifyList [in]A pointer to the head of the notify list to be cleaned up. Each element in the list is an opaque notify structure.
For each entry in the NotifyList list, FsRtlNotifyCleanupAll completes all pending IRPs. Then the routine removes the entry from the list and deallocates the entry.
Because a notify list is typically associated with a volume, the FsRtlNotifyCleanupAll routine can be used to complete all the IRP requests for the volume.
FsRtlNotifyFilterChangeDirectory
FsRtlNotifyFullChangeDirectory