FLT_PARAMETERS for IRP_MJ_ACQUIRE_FOR_MOD_WRITE union

The following union component is used when the MajorFunction field of the FLT_IO_PARAMETER_BLOCK structure for the operation is IRP_MJ_ACQUIRE_FOR_MOD_WRITE.

Syntax

typedef union _FLT_PARAMETERS {
  ...    ;
  struct {
    PLARGE_INTEGER EndingOffset;
    PERESOURCE     *ResourceToRelease;
  } AcquireForModifiedPageWriter;
  ...    ;
} FLT_PARAMETERS, *PFLT_PARAMETERS;

Members

  • AcquireForModifiedPageWriter: Structure containing the following members.

  • EndingOffset: Pointer to a variable that contains the offset of the last byte being written plus one.

  • ResourceToRelease: Pointer to a pointer to the resource (ERESOURCE) to be acquired.

Remarks

The FLT_PARAMETERS structure for IRP_MJ_ACQUIRE_FOR_MOD_WRITE operations contains the parameters for an AcquireForModifiedPageWriter operation represented by a callback data (FLT_CALLBACK_DATA) structure. It is contained in an FLT_IO_PARAMETER_BLOCK structure.

IRP_MJ_ACQUIRE_FOR_MOD_WRITE is a file system (FSFilter) callback operation. In this operation, ResourceToRelease is a pointer to the pointer to the resource to acquire (pre-operation) or that was acquired (post-operation). The resource will be released in an IRP_MJ_RELEASE_FOR_MOD_WRITE callback operation.

For more information about FSFilter callback operations, see the reference entry for FsRtlRegisterFileSystemFilterCallbacks.

Requirements

Requirement type Requirement
Header Fltkernel.h (include Fltkernel.h)

See also

FLT_CALLBACK_DATA

FLT_IO_PARAMETER_BLOCK

FLT_IS_FASTIO_OPERATION

FLT_IS_FS_FILTER_OPERATION

FLT_IS_IRP_OPERATION

FLT_PARAMETERS

FsRtlRegisterFileSystemFilterCallbacks