ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.CompareFilenames

Compares two file names.

Syntax
Pascal
function CompareFilenames(const Filename1: String; const Filename2: String): Integer;
Parameters 
Description 
const Filename1: String 
The first file name. 
const Filename2: String 
The second file name. 

Zero if the file names are identical. 1 if the first file name has a greater value than the second. -1 if the first file name has a lesser value than the second.