Expand Minimize

FLT_PARAMETERS for IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION 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_SECTION_SYNCHRONIZATION.

Syntax


typedef union _FLT_PARAMETERS {
  ...    ;
  struct {
    FS_FILTER_SECTION_SYNC_TYPE SyncType;
    ULONG POINTER_ALIGNMENT     PageProtection;
  } AcquireForSectionSynchronization;
  ...    ;
} FLT_PARAMETERS, *PFLT_PARAMETERS;

Members

AcquireForSectionSynchronization

Structure containing the following members.

SyncType

Specifies the type of synchronization requested for the section. This parameter must be one of two enumerated values:

SyncTypeCreateSection
SyncTypeOther
PageProtection

Specifies the type of page protection requested for the section. Must be zero if SyncTypeSyncType is SyncTypeOther. Otherwise, one of the following flags, possibly combined with PAGE_NOCACHE:

PAGE_READONLY

PAGE_READWRITE

PAGE_WRITECOPY

PAGE_EXECUTE

Remarks

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

IRP_MJ_ACQUIRE_FOR_SECTION_SYNCHRONIZATION is a file system (FSFilter) callback operation.

If the enumerated value of the SyncType member is set to SyncTypeOther (zero), a file system minifilter or legacy filter driver cannot fail this operation. If SyncType is set to SyncTypeCreateSection, a file system minifilter or legacy filter driver is allowed to fail with a STATUS_INSUFFICIENT_RESOURCES error if there is not enough memory to create the section.

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

Requirements

Version

Available in Windows XP and later versions of the Windows operating system.

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft