QUERY_INFORMATION2: Get File Information

This SMB is gets information about the file represented by fid.

Client Request
==================================
Description
=================================
UCHAR WordCount; Count of parameter words = 2
USHORT Fid; File handle
USHORT ByteCount; Count of data bytes = 0

Server Response
==================================
Description
=================================
UCHAR WordCount; Count of parameter words = 11
SMB_DATE CreationDate;
SMB_TIME CreationTime;
SMB_DATE LastAccessDate;
SMB_TIME LastAccessTime;
SMB_DATE LastWriteDate;
SMB_TIME LastWriteTime;
ULONG FileDataSize; File end of data
ULONG FileAllocationSize; File allocation size
USHORT FileAttributes;
USHORT ByteCount; Count of data bytes; min = 0

The file being interrogated is specified by fid, which must possess at least read permission.

FileAttributes are described in the "File Attribute Encoding" section elsewhere in this document.