FltSetEaFile
TOC
Collapse the table of content
Expand the table of content

FltSetEaFile function

FltSetEaFile sets extended-attribute (EA) values for a file.

Syntax


NTSTATUS FltSetEaFile(
  _In_ PFLT_INSTANCE Instance,
  _In_ PFILE_OBJECT  FileObject,
  _In_ PVOID         EaBuffer,
  _In_ ULONG         Length
);

Parameters

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.

Return value

FltSetEaFile returns STATUS_SUCCESS or an appropriate NTSTATUS value such as the following:

Return codeDescription
STATUS_FLT_DELETING_OBJECT

The instance or volume is being torn down. This is an error code.

 

Requirements

Target platform

Universal

Version

Available in Microsoft Windows 2000 Update Rollup 1 for SP4, Windows XP SP3, Windows Server 2003 SP1, and later versions of the Windows operating system.

Header

Fltkernel.h (include Fltkernel.h)

Library

FltMgr.lib

DLL

Fltmgr.sys

IRQL

PASSIVE_LEVEL

See also

FILE_FULL_EA_INFORMATION
FltQueryEaFile
IoCheckEaBufferValidity

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft