TRANS2_FIND_NEXT2: Resume Directory Search Using Wildcards

This request resumes a search which was begun with a previous TRANS2_FIND_FIRST2 request.

Client Request
==================================
Value
=================================
WordCount 15
SetupCount 1
Setup[0] TRANS2_FIND_NEXT2
Parameter Block Encoding
==================================
Description
=================================
USHORT Sid; Search handle
USHORT SearchCount; Maximum number of entries to return
USHORT InformationLevel; Levels described in TRANS2_FIND_FIRST2 request
ULONG ResumeKey; Value returned by previous find2 call
USHORT Flags; Additional information: bit set-
0 - close search after this request
1 - close search if end of search reached
2 - return resume keys for each entry found
3 - resume/continue from previous ending place
4 - find with backup intent
STRING FileName; Resume file name

sid is the value returned by a previous successful TRANS2_FIND_FIRST2 call. If bit3 of flags is set, then FileName may be the NULL string, since the search is continued from the previous TRANS2_FIND request. Otherwise, FileName must not be more than 256 characters long.

Response Field
==================================
Description
=================================
USHORT SearchCount; Number of entries returned
USHORT EndOfSearch; Was last entry returned?
USHORT EaErrorOffset; Offset into EA list if EA error
USHORT LastNameOffset; Offset into data to file name of last entry, if server needs it to resume search; else 0
UCHAR Data[TotalDataCount] Level dependent info about the matches found in the search