LIBDF Functions: dfTestCmpResult



dfTestCmpResult analyses results of comparing, produced with function dfCompare (structure TDfCmpResult) and makes a conclusion whether compared files are equal or not.




int dfTestCmpResult ( TDfCmpResult *  pCmpRes );






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).


See also


TDfCmpResult, TDfCmpOptions



Converted from CHM to HTML with chm2web Standard 2.75 (unicode)