FsRtlUninitializeOplock function (ntifs.h)

FsRtlUninitializeOplock uninitializes an opportunistic lock (oplock) pointer.

Syntax

void FsRtlUninitializeOplock(
  [in, out] POPLOCK Oplock
);

Parameters

[in, out] Oplock

Opaque opportunistic lock pointer. This pointer must have been initialized by a previous call to FsRtlInitializeOplock.

Return value

None

Remarks

File systems and filter drivers call FsRtlUninitializeOplock to uninitialize an initialized opportunistic lock (oplock) pointer. The uninitialized oplock pointer can be initialized for reuse by calling FsRtlInitializeOplock.

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

Minifilters should call FltUninitializeOplock instead of FsRtlUninitializeOplock.

Requirements

Requirement Value
Target Platform Universal
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <= APC_LEVEL

See also

FSCTL_OPBATCH_ACK_CLOSE_PENDING

FSCTL_OPLOCK_BREAK_ACKNOWLEDGE

FSCTL_OPLOCK_BREAK_ACK_NO_2

FSCTL_OPLOCK_BREAK_NOTIFY

FSCTL_REQUEST_BATCH_OPLOCK

FSCTL_REQUEST_FILTER_OPLOCK

FSCTL_REQUEST_OPLOCK_LEVEL_1

FSCTL_REQUEST_OPLOCK_LEVEL_2

FltUninitializeOplock

FsRtlCheckOplock

FsRtlCurrentBatchOplock

FsRtlInitializeOplock

FsRtlOplockFsctrl

FsRtlOplockIsFastIoPossible