FltCurrentBatchOplock function (fltkernel.h)
A minifilter driver calls FltCurrentBatchOplock to determine whether there are any batch or filter opportunistic locks (oplocks) on a file.
Syntax
BOOLEAN FLTAPI FltCurrentBatchOplock(
[in] POPLOCK Oplock
);
Parameters
[in] Oplock
Opaque oplock pointer for the file. This pointer must have been initialized by a previous call to FltInitializeOplock.
Return value
FltCurrentBatchOplock returns TRUE if there are current outstanding batch or filter oplocks; FALSE otherwise.
Remarks
FltCurrentBatchOplock returns FALSE if no batch or filter opportunistic locks are currently held.
For detailed information about opportunistic locks, see the Microsoft Windows SDK documentation.
Requirements
Requirement | Value |
---|---|
Target Platform | Universal |
Header | fltkernel.h (include Fltkernel.h) |
Library | FltMgr.lib |
IRQL | <= APC_LEVEL |
See also
FSCTL_OPBATCH_ACK_CLOSE_PENDING