The root directory of the search, e.g. "h:\recls". If it is null, or the empty string, the current directory of the calling process is used
pattern
The search pattern, e.g. "*.*. If it is null, or the empty string, all files are searched.
flags
Members of the RECLS_FLAG enumeration, to alter the search. For example,
RECLS_F_DIRECTORIES causes directories to be retrieved; RECLS_F_RECURSIVE causes the
search to recurse all subdirectories of searchRoot
Remarks
No search is conducted at the time of construction of a FileSearch instance. Hence, no search-specific
errors will be reported at this time. Only when the enumeration is conducted on the IEnumerator returned by
the GetEnumerator method will such errors occur.