FsRtlCheckOplockForFsFilterCallback function (ntifs.h)
A file system can call FsRtlCheckOplockForFsFilterCallback to break oplocks that are affected by file system filter operations.
Syntax
NTSTATUS FsRtlCheckOplockForFsFilterCallback(
POPLOCK Oplock,
PVOID CallbackData,
ULONG Flags
);
Return value
FsRtlCheckOplockForFsFilterCallback returns TRUE if it can complete the operation on exiting this thread; otherwise, it returns FALSE.
Remarks
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.
- FS_FILTER_ACQUIRE_FOR_SECTION_SYNCHRONIZATION
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 |
Header | ntifs.h |
IRQL | Less than or equal to APC_LEVEL |