2.2.8.3.9 SMB_QUERY_FILE_NAME_INFO

This information level structure is used in TRANS2_QUERY_PATH_INFORMATION (section 2.2.6.6) and TRANS2_QUERY_FILE_INFORMATION (section 2.2.6.8) responses to return the Unicode-formatted long file name of the file specified in the request.<178>

 SMB_QUERY_FILE_NAME_INFO 
   {
   ULONG FileNameLength;
   WCHAR FileName[FileNameLength/2];
   }

FileNameLength: (4 bytes): This field MUST contain the length of the FileName field in bytes.

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