Export (0) Print
Expand All

2.2.8.1.2 SMB_INFO_QUERY_EA_SIZE

This information level structure is used in TRANS2_FIND_FIRST2 (section 2.2.6.2) and TRANS2_FIND_NEXT2 (section 2.2.6.3) responses to return the SMB_INFO_STANDARD data along with the size of a file's extended attributes (EAs) list for all files that match the request's search criteria.

SMB_INFO_QUERY_EA_SIZE[SearchCount]
  {
  ULONG               ResumeKey (optional);
  SMB_DATE            CreationDate;
  SMB_TIME            CreationTime;
  SMB_DATE            LastAccessDate;
  SMB_TIME            LastAccessTime;
  SMB_DATE            LastWriteDate;
  SMB_TIME            LastWriteTime;
  ULONG               FileDataSize;
  ULONG               AllocationSize;
  SMB_FILE_ATTRIBUTES Attributes;
  ULONG               EaSize;
  UCHAR               FileNameLength;
  SMB_STRING          FileName;
  }

ResumeKey: (4 bytes): This field is optional. If the SMB_FIND_RETURN_RESUME_KEYS bit is set in the Flags field of the TRANS2_FIND_FIRST2 Request (section 2.2.6.2.1) parameters, then this field MUST contain the server-generated resume key. The resume key MUST be supplied in subsequent TRANS2_FIND_NEXT2 Requests (section 2.2.6.3.1) to continue the search. If the SMB_FIND_RETURN_RESUME_KEYS bit is not set, then the server MUST NOT include this field.

CreationDate: (2 bytes): This field contains the date when the file was created.

CreationTime: (2 bytes): This field contains the time when the file was created.

LastAccessDate: (2 bytes): This field contains the date when the file was last accessed.

LastAccessTime: (2 bytes): This field contains the time when the file was last accessed.

LastWriteDate: (2 bytes): This field contains the date when data was last written to the file.

LastWriteTime: (2 bytes): This field contains the time when data was last written to the file.

FileDataSize: (4 bytes): This field contains the file size, in filesystem allocation units.

AllocationSize: (4 bytes): This field contains the size of the filesystem allocation unit, in bytes.

Attributes: (2 bytes): This field contains the file attributes.

EaSize: (4 bytes): This field contains the size of the file's extended attribute (EA) information, in bytes.

FileNameLength: (1 byte): This field contains the length of the FileName field, in bytes.

FileName: (variable): This field contains the name of the file.<153>

 
Show:
© 2014 Microsoft