2.4.15.1 FILE_GET_EA_INFORMATION
This data structure can be used to specify an explicit list of attributes to query via the FileFullEaInformation (section 2.4.15) information class. If no FILE_GET_EA_INFORMATION elements are specified, all extended attributes for the given file are returned.
When multiple FILE_GET_EA_INFORMATION data elements are present in the buffer, each MUST be aligned on a 4-byte boundary. Any bytes inserted for alignment SHOULD be set to zero, and the receiver MUST ignore them. No padding is required following the last data element.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NextEntryOffset |
|||||||||||||||||||||||||||||||
EaNameLength |
EaName (variable) |
||||||||||||||||||||||||||||||
... |
NextEntryOffset (4 bytes): A 32-bit unsigned integer that contains the byte offset from the beginning of this entry, at which the next FILE_GET_EA_INFORMATION entry is located, if multiple entries are present in a buffer. This member MUST be zero if no other entries follow this one. An implementation MUST use this value to determine the location of the next entry (if multiple entries are present in a buffer).
EaNameLength (1 byte): An 8-bit unsigned integer that contains the length, in bytes, of the EaName field. This value MUST NOT include the terminating null character to EaName.
EaName (variable): An array of 8-bit ASCII characters that contains the extended attribute name followed by a single terminating null character byte.