// ntifs.h
NTSTATUS FsRtlCheckOplockForFsFilterCallback(
POPLOCK Oplock,
PVOID CallbackData,
ULONG Flags
);
View the official Windows Driver Kit DDI referenceNo description available.
A file system can call FsRtlCheckOplockForFsFilterCallback to break oplocks that are affected by file system filter operations.
Oplock[in] Pointer to the oplock structure for the file.
CallbackData[in] Pointer to theFS_FILTER_CALLBACK_DATA structure describing the FS filter operation.
Flags[in] OPLOCK_FLAG_*XXX* values in the OPLOCK_FS_FILTER_FLAGS mask.
FsRtlCheckOplockForFsFilterCallback returns TRUE if it can complete the operation on exiting this thread; otherwise, it returns FALSE.
FsFilter operations can't be pended and shouldn't be blocked, so this routine can only break oplocks asynchronously.
This routine handles the following operation. Passing any other FsFilter operations is an error.