Directory search question

Scott,

You should return every answer that matches. If this is a case
insensitive search and you have multiple matches, you should return
every entry that matches. The SL_RETURN_SINGLE_ENTRY only relates to
how many entries you should return for this particular call. If the
caller calls you again, return more entries.

You can of course confirm this behavior by writing a program to create
multiple files that differ ony in the case of their names on an NTFS
volume and then querying using a case insensitive query.

Regards,

Tony


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Scott Piper
Sent: Monday, February 09, 2004 2:10 PM
To: ntfsd redirect
Subject: [ntfsd] Directory search question

Suppose a user enters “dir foo.txt” from Command Prompt.
There may be more than one match if multiple files with
this name, differing only in case, exist. In this case,
is my FSD obligated to return all the matches? Does the
SL_RETURN_SINGLE_ENTRY flag in the IRP_MN_QUERY_DIRECTORY
operation I receive have any bearing on the answer? I
wasn’t able to find a previous posting that addressed
this question directly.

Thanks

Scott Piper

Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com