OPLOCK_NOTIFY_REASON enumeration (ntifs.h)

OPLOCK_NOTIFY_REASON specifies the reason for calling the notification callback provided to FsRtlCheckOplockEx2.

Syntax

typedef enum {
  OPLOCK_NOTIFY_BREAK_WAIT_INTERIM_TIMEOUT,
  OPLOCK_NOTIFY_BREAK_WAIT_TERMINATED
} OPLOCK_NOTIFY_REASON;

Constants

 
OPLOCK_NOTIFY_BREAK_WAIT_INTERIM_TIMEOUT
The first blocking wait for an opportunistic lock (oplock) break timed out.
OPLOCK_NOTIFY_BREAK_WAIT_TERMINATED
The wait for an oplock break is completed, successfully or otherwise. If successful, the Status field of OPLOCK_NOTIFY_PARAMS is STATUS_SUCCESS; otherwise, Status is set to indicate the reason for the termination.

Remarks

The OPLOCK_NOTIFY_REASON is specified in the NotifyReason member of the OPLOCK_NOTIFY_PARAMS structure.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header ntifs.h

See also

FsRtlCheckOplockEx2

OPLOCK_NOTIFY_PARAMS