FsRtlNotifyCleanupAll function (ntifs.h)

The FsRtlNotifyCleanupAll routine removes all members of the specified notification list.

Syntax

void FsRtlNotifyCleanupAll(
  [in] PNOTIFY_SYNC NotifySync,
  [in] PLIST_ENTRY  NotifyList
);

Parameters

[in] NotifySync

A pointer to the opaque synchronization object for NotifyList.

[in] NotifyList

A pointer to the head of the notify list to be cleaned up. Each element in the list is an opaque notify structure.

Return value

None

Remarks

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.

Requirements

Requirement Value
Minimum supported client Windows Vista
Target Platform Universal
Header ntifs.h (include FltKernel.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=APC_LEVEL

See also

FsRtlNotifyCleanup

FsRtlNotifyFilterChangeDirectory

FsRtlNotifyFilterReportChange

FsRtlNotifyFullChangeDirectory

FsRtlNotifyFullReportChange