dfTestCmpResult Function
Summary
dfTestCmpResult analyses results of comparing, produced with function dfCompare (structure TDfCmpResult) and makes a conclusion whether compared files are equal or not.
Syntax
int dfTestCmpResult ( TDfCmpResult * pCmpRes );
Arguments
pCmpRes
[Input]
Pointer on a structure containing results of file comparing (produced with function dfCompare).
Can not be NULL.
Return Values
- Returns "0", if files are considered identical.
- Returns "1", if files are considered different by at least one of components (name, attributes, last modification date, content).
- Returns "-1", if it is impossible to make a conclusion whether file are equal or not (as far as when creating of the comparing context one of files was skipped).
|