Compartir a través de


2.2.8.1.6 SMB_FIND_FILE_NAMES_INFO

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 file name for all files that match the request's search criteria.

 SMB_FIND_FILE_NAMES_INFO[SearchCount]
   {
   ULONG      NextEntryOffset;
   ULONG      FileIndex;
   ULONG      FileNameLength;
   UCHAR      FileName[];
   }

NextEntryOffset: (4 bytes): This field contains the offset, in bytes, from this entry in the list to the next entry in the list. If there are no additional entries, the value MUST be zero (0x00000000).

FileIndex: (4 bytes): This field SHOULD<163> be set to zero when sent in a response and SHOULD be ignored when received by the client.

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

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