FsRtlNotifyInitializeSync function (ntifs.h)

The FsRtlNotifyInitializeSync routine allocates and initializes a synchronization object for a notify list.

Syntax

void FsRtlNotifyInitializeSync(
  [in] PNOTIFY_SYNC *NotifySync
);

Parameters

[in] NotifySync

A pointer to a location in which to return a pointer to the opaque synchronization object.

Return value

None

Remarks

The system allocates the synchronization object from nonpaged pool. If a pool allocation failure occurs, FsRtlNotifyInitializeSync raises a STATUS_INSUFFICIENT_RESOURCES exception. To gain control if this pool allocation failure occurs, the driver should wrap the call to FsRtlNotifyInitializeSync in a try-except or try-finally statement.

Every successful call to FsRtlNotifyInitializeSync must be matched by a subsequent call to FsRtlNotifyUninitializeSync.

Requirements

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

See also

FsRtlNotifyUninitializeSync