dfBuildN, dfBuildH functions are used to build a df-file based on the results of file comparing, presented by the comparing context.
int dfBuildN (
int dfBuildH (
Pointer on the comparing context.
Name of the result df-file.
If specified file already exists then it is replaced.
File descriptor, in which the result file is written. Previous file content will be lost.
Cannot be INVALID_FD_VALUE.
Pointer on the structure containing parameters of df-file building.
If NULL, then default parameters values are taken.
(See description of structure TDfBldOptions)
Pointer on the structure of interaction with application program (see description of the structure TDfInteract).
Can be set NULL.
If the function succeeds, the return value is zero (EDF_SUCCESS).
If the function fails, the return value is one of the following:
dfBuildN and dfBuildH can be called immediately after context creation or after successful call of dfCompare.
If dfBuildN or dfBuildH are called after dfCompare terminates with an error, then EDF_BAD_PARAM is returned.