// ntifs.h
typedef enum {
OPLOCK_NOTIFY_BREAK_WAIT_INTERIM_TIMEOUT,
OPLOCK_NOTIFY_BREAK_WAIT_TERMINATED
} OPLOCK_NOTIFY_REASON;
View the official Windows Driver Kit DDI referenceNo description available.
OPLOCK_NOTIFY_REASON specifies the reason for calling the notification callback provided to FsRtlCheckOplockEx2.
OPLOCK_NOTIFY_BREAK_WAIT_INTERIM_TIMEOUTThe first blocking wait for an opportunistic lock (oplock) break timed out.
OPLOCK_NOTIFY_BREAK_WAIT_TERMINATEDThe 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.
The OPLOCK_NOTIFY_REASON is specified in the NotifyReason member of the OPLOCK_NOTIFY_PARAMS structure.