Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

FltInitializeOplock routine

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

Syntax


VOID FltInitializeOplock(
  _Out_ POPLOCK Oplock
);

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.

Requirements

Target platform

Universal

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

IRQL

<= APC_LEVEL

See also

FltCheckOplock
FltCurrentBatchOplock
FltOplockFsctrl
FltOplockIsFastIoPossible
FltUninitializeOplock
FsRtlInitializeOplock

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft