Bewerken

Delen via


OPLOCK_NOTIFY_PARAMS structure (ntifs.h)

The OPLOCK_NOTIFY_PARAMS structure is passed as a parameter to a NotifyRoutine callback when such a callback is provided to FsRtlCheckOplockEx2.

Syntax

typedef struct _OPLOCK_NOTIFY_PARAMS {
  OPLOCK_NOTIFY_REASON NotifyReason;
  PVOID                NotifyContext;
  PIRP                 Irp;
  NTSTATUS             Status;
} OPLOCK_NOTIFY_PARAMS, *POPLOCK_NOTIFY_PARAMS;

Members

NotifyReason

An OPLOCK_NOTIFY_REASON enumeration value that specifies the reason for the notification callback.

NotifyContext

Set to be the same value as FsRtlCheckOplockEx2's NotifyContext parameter.

Irp

Set to be the same value as FsRtlCheckOplockEx2's Irp parameter.

Status

The NT status code returned from the NotifyRoutine callback. The interpretation of the status code depends on the value of NotifyReason.

Requirements

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

See also

FsRtlCheckOplockEx2

OPLOCK_NOTIFY_REASON