SECFileSystem::CompareFiles
BOOLSECFileSystem::CompareFiles(const CString&FileName1, const CString&FileName2, const unsigned longlBuffSize= 10240)
Compares the contents of one file with another.
Defined in: filesys.cpp
Return Value
Nonzero if the files are the same; 0 if the files are different, or an error occurs.
Parameters
FileName1
One filename.
FileName2
Another filename.
Comments
To compare the contents of two files to see if they are the same.
Example
BOOL bRetVal = fs.CompareFiles("foo.txt", "bar.txt", 20480);
lBuffSize
Size of buffer to use when reading file data.
See Also