Skip to content

Commit ba3a49f

Browse files
committed
Add missing fields in FLT_PARAMETERS.AcquireForSectionSynchronization
1 parent c9acd2c commit ba3a49f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

windows-driver-docs-pr/ifs/flt-parameters-for-irp-mj-acquire-for-section-synchronization.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ typedef union _FLT_PARAMETERS {
2727
FS_FILTER_SECTION_SYNC_TYPE SyncType;
2828
ULONG PageProtection;
2929
PFS_FILTER_SECTION_SYNC_OUTPUT OutputInformation;
30+
ULONG Flags;
31+
ULONG AllocationAttributes;
3032
} AcquireForSectionSynchronization;
3133
...    ;
3234
} FLT_PARAMETERS, *PFLT_PARAMETERS;
@@ -40,6 +42,18 @@ typedef union _FLT_PARAMETERS {
4042

4143
- **OutputInformation**: A [**FS_FILTER_SECTION_SYNC_OUTPUT**](/windows-hardware/drivers/ddi/ntifs/ns-ntifs-_fs_filter_section_sync_output) structure that specifies information describing the attributes of the section that is being created.
4244

45+
- **Flags**: Bitmask of flags providing additional information or instructions about the section.
46+
47+
| Flag | Meaning |
48+
|------|----------|
49+
| FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_ACCESS<br>0x00000001 | Specifies that the file system shouldn't update the last access time for access to the file through the section that's being created. |
50+
| FS_FILTER_SECTION_SYNC_IN_FLAG_DONT_UPDATE_LAST_WRITE<br>0x00000002 | Specifies that the file system shouldn't update the last write time for modifications to the file through the section that's being created. |
51+
52+
- **AllocationAttributes**: Specifies a bitmask of SEC_XXX flags that determines the allocation attributes of the section. For a description of these flags, see [**CreateFileMapping**](/windows/win32/api/winbase/nf-winbase-createfilemappinga).
53+
54+
Note that **SEC_IMAGE_NO_EXECUTE** will not appear in this field. All image sections are indicated by the flag **SEC_IMAGE**.
55+
56+
4357
## Remarks
4458

4559
The [**FLT_PARAMETERS**](/windows-hardware/drivers/ddi/fltkernel/ns-fltkernel-_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**](/windows-hardware/drivers/ddi/fltkernel/ns-fltkernel-_flt_callback_data)) structure. It is contained in an FLT_IO_PARAMETER_BLOCK structure.

0 commit comments

Comments
 (0)