TRANS2_FIND_NEXT2 (0x0002)

This Transaction2 subcommand was introduced in the NT LAN Manager dialect, replacing the obsolete TRANS2_FIND_NEXT subcommand introduced in the LAN Manager 1.2 dialect.

This transaction is used to continue a search for file(s) within a directory or for a directory. The search MUST have been initiated using TRANS2_FIND_FIRST2. There are several information levels that can be queried for the returned files or directories. The information level is specified in the Trans2_Parameters.InformationLevel field, and each information level has a unique response format. See TRANS2_FIND_FIRST2 for the specification of each information level's response data. If the client attempts to terminate a search prior to reaching the end of the search results, as indicated by the server's response, the client MUST use the SMB_COM_FIND_CLOSE2 command and MUST provide the SID from the search.