// ntifs.h
typedef struct _QUERY_ON_CREATE_FILE_LX_INFORMATION {
ACCESS_MASK EffectiveAccess;
ULONG LxFlags;
ULONG LxUid;
ULONG LxGid;
ULONG LxMode;
ULONG LxDeviceIdMajor;
ULONG LxDeviceIdMinor;
} QUERY_ON_CREATE_FILE_LX_INFORMATION, *PQUERY_ON_CREATE_FILE_LX_INFORMATION;
View the official Windows Driver Kit DDI referenceNo description available.
The QUERY_ON_CREATE_FILE_LX_INFORMATION structure is used to write a file's Linux metadata extended attributes when FltRequestFileInfoOnCreateCompletion is called with the QoCFileLxInformation flag set in the InfoClassFlags parameter.
EffectiveAccessThe access rights of the file.
LxFlagsThe flags associated with FILE_STAT_LX_INFORMATION that specify which metadata fields are present in the file. Can be a bit mask of the following values:
| Flag | Value |
|---|---|
| LX_FILE_METADATA_HAS_UID (0x1) | The file has a user ID. |
| LX_FILE_METADATA_HAS_GID (0x2) | The file has a group ID. |
| LX_FILE_METADATA_HAS_MODE (0x4) | The file has mode information. |
| LX_FILE_METADATA_HAS_DEVICE_ID (0x8) | The file has a device ID. |
| LX_FILE_CASE_SENSITIVE_DIR (0x10) | The directory has case sensitivity information. |
LxUidThe user ID of the file.
LxGidThe group ID of the file.
LxModeThe Linux file type and file system permissions. These values are defined in sys/stat.h in the Windows SDK. See FILE_STAT_LX_INFORMATION for more information.
LxDeviceIdMajorFor device files (_S_IFCHR or S_IFBLK), specifies the device major number. For other file types, this field is not used.
LxDeviceIdMinorFor device files (_S_IFCHR or S_IFBLK), specifies the device minor number. For other file types, this field is not used.
The file system allocates this structure and fills in the requested information, if supported, while it processes a file create. Filter Manager will free the allocated structure.
FltRequestFileInfoOnCreateCompletion
FltRetrieveFileInfoOnCreateCompletionEx