RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.TFilenameCaseMatch Enumeration

File match indicator for ExpandFileNameCase.

Pascal
TFilenameCaseMatch = (
  mkNone,
  mkExactMatch,
  mkSingleMatch,
  mkAmbiguous
);
C++
enum TFilenameCaseMatch {
  mkNone,
  mkExactMatch,
  mkSingleMatch,
  mkAmbiguous
};

This table lists values that indicate the match results from ExpandFileNameCase in its search for files matching a given file name.

Value 
Meaning 
mkExactMatch  
Exactly one file in case-sensitive match.  
mkSingleMatch  
Exactly one file in the given directory path matches the given filename on a case-insensitive basis.  
mkAmbiguous  
More than one file in the given directory path matches the given filename case-insensitively. In many cases, this should be considered an error.  
mkNone  
File not found.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!