共用方式為


2.1.5.12.10 FileEaInformation

OutputBuffer is of type FILE_EA_INFORMATION as described in [MS-FSCC] 2.4.12.<164>

Pseudocode for the operation is as follows:

  • If OutputBufferSize is smaller than sizeof(FILE_EA_INFORMATION), the operation MUST be failed with STATUS_INFO_LENGTH_MISMATCH.

  • The object store MUST set:

    • OutputBuffer.EaSize set to Open.File.ExtendedAttributesLength. If Open.File.ExtendedAttributesLength is a nonzero value, OutputBuffer.EaSize is incremented by 4 to account for the header.

  • Upon successful completion of the operation, the object store MUST return:

    • ByteCount set to sizeof(FILE_EA_INFORMATION).

    • Status set to STATUS_SUCCESS.