FltInitializeOplock - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// fltkernel.h

VOID FLTAPI FltInitializeOplock(
  [out] POPLOCK Oplock
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-fltkernel-fltinitializeoplock)

FltInitializeOplock function

Description

The FltInitializeOplock routine initializes an opportunistic lock (oplock) pointer.

Parameters

Oplock [out]

Caller-supplied pointer variable that receives the initialized opaque oplock pointer. This variable must be initialized to NULL before the initial call to FltInitializeOplock.

Return value

None

Remarks

When the oplock pointer is no longer needed, it can be uninitialized by calling FltUninitializeOplock. The uninitialized oplock pointer can then be initialized for reuse by calling FltInitializeOplock.

To request an oplock or respond to an oplock break notification, call FltOplockFsctrl.

For detailed information about opportunistic locks, see the Microsoft Windows SDK documentation.

See also

FltCheckOplock

FltCurrentBatchOplock

FltOplockFsctrl

FltOplockIsFastIoPossible

FltUninitializeOplock

FsRtlInitializeOplock