Expand Minimize

FltCurrentBatchOplock function

A minifilter driver calls FltCurrentBatchOplock to determine whether there are any batch or filter opportunistic locks (oplocks) on a file.

Syntax


BOOLEAN FltCurrentBatchOplock(
  _In_  POPLOCK Oplock
);

Parameters

Oplock [in]

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

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= APC_LEVEL

See also

FltCheckOplock
FltInitializeOplock
FltOplockFsctrl
FltOplockIsFastIoPossible
FltUninitializeOplock
FSCTL_OPBATCH_ACK_CLOSE_PENDING
FSCTL_OPLOCK_BREAK_ACK_NO_2
FSCTL_OPLOCK_BREAK_ACKNOWLEDGE
FSCTL_OPLOCK_BREAK_NOTIFY
FSCTL_REQUEST_BATCH_OPLOCK
FSCTL_REQUEST_FILTER_OPLOCK
FSCTL_REQUEST_OPLOCK_LEVEL_1
FSCTL_REQUEST_OPLOCK_LEVEL_2
FsRtlCurrentBatchOplock

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft