// fltkernel.h
NTSTATUS FLTAPI FltSetEaFile(
[in] PFLT_INSTANCE Instance,
[in] PFILE_OBJECT FileObject,
[in] PVOID EaBuffer,
[in] ULONG Length
);
View the official Windows Driver Kit DDI referenceNo description available.
FltSetEaFile sets extended-attribute (EA) values for a file.
Instance [in]Opaque instance pointer for the minifilter driver instance that the SetEa operation is to be sent to. The instance must be attached to the volume where the file resides.
FileObject [in]File object pointer for the file.
EaBuffer [in]Pointer to a caller-supplied, FILE_FULL_EA_INFORMATION-structured input buffer that contains the extended attribute (EA) values to be set.
Length [in]Length, in bytes, of the buffer that the EaBuffer parameter points to.
FltSetEaFile returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following:
| Return code | Description |
|---|---|
| STATUS_FLT_DELETING_OBJECT | The instance or volume is being torn down. This is an error code. |