// fltkernel.h
BOOLEAN FLTAPI FltOplockIsFastIoPossible(
[in] POPLOCK Oplock
);
View the official Windows Driver Kit DDI referenceNo description available.
The FltOplockIsFastIoPossible routine checks a file's opportunistic lock (oplock) state to determine whether fast I/O can be performed on the file.
Oplock [in]Opaque oplock pointer for the file. This pointer must have been initialized by a previous call to FltInitializeOplock.
FltOplockIsFastIoPossible returns FALSE if there are outstanding oplocks on the file that prevent fast I/O from being performed; TRUE otherwise.
FltOplockIsFastIoPossible determines whether fast I/O can be performed on a file, according to the following conditions:
For detailed information about opportunistic locks, see the Windows SDK documentation.
FSCTL_OPBATCH_ACK_CLOSE_PENDING
FSCTL_OPLOCK_BREAK_ACKNOWLEDGE