// ntifs.h
typedef struct _OPLOCK_NOTIFY_PARAMS {
OPLOCK_NOTIFY_REASON NotifyReason;
PVOID NotifyContext;
PIRP Irp;
NTSTATUS Status;
} OPLOCK_NOTIFY_PARAMS, *POPLOCK_NOTIFY_PARAMS;
View the official Windows Driver Kit DDI referenceNo description available.
The OPLOCK_NOTIFY_PARAMS structure is passed as a parameter to a NotifyRoutine callback when such a callback is provided to FsRtlCheckOplockEx2.
NotifyReasonAn OPLOCK_NOTIFY_REASON enumeration value that specifies the reason for the notification callback.
NotifyContextSet to be the same value as FsRtlCheckOplockEx2's NotifyContext parameter.
IrpSet to be the same value as FsRtlCheckOplockEx2's Irp parameter.
StatusThe NT status code returned from the NotifyRoutine callback. The interpretation of the status code depends on the value of NotifyReason.