Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact Us Request to publish your help manuals Request to remove your help manuals
Introduction
» Overview
» DF SDK™ Version 1.0.2.2
» DF SDK v1.0.2.2 Version History
» Binary Files Comparing
» Acknowledgments
Library LIBDF
» Introduction
» How it Works?
Getting Started
» File Comparing & Difference File Building
» df-file Applying (Reconstruction of New File)
Comparing & Diff
» dfOpenCmpByNames Function
» dfOpenCmpByHandles Function
» dfCompare Function
» dfTestCmpResult Function
» dfBuildN, dfBuildH Function
» dfCloseCmp Function
» TDfCmp Structure
» TDfCmpOptions Structure
» TDfCmpResult Structure
» TDfBldOptions Structure
Difference Applying
» dfOpenDfFile Function
» dfCloseDfFile Function
» dfGetDfInfo Function
» dfApplyN, dfApplyH Function
» dfTouch Function
» dfGetExtraDataSize Function
» dfGetExtraData Function
» TDfChangePhase Structure
» TDfInteract Structure
» TDfProgress Structure
Support Detail
» Error Codes
» Frequenlty Asked Questions
» How to Register DF SDK?
» DF SDK Update & Support
» Contact Information
 

TDfInteract Structure

Summary

Execution time of some of LIBDF functions can appear to be prolonged enough especially in case of big files processing.

That is why in such functions the following features are provided: application program notification of execution phases, phase execution progress, and function interruption.

TDfInteract structure is used particularly fo these purposes, its pointer can be passed to the following functions: dfCompare, dfBuildN, dfBuildH, dfApplyN, dfApplyH.

partition file recovery laptop data recovery password reset
usb data restore key drive data restore pictures unerase
best data recovery software disk recovery tools data recovery utilities

Syntax

struct TDfInteract

{

PFN_OnDfChangePhase fnOnDfChangePhase;
PFN_OnDfProgress fnOnDfProgress;
int * pAbortFlag;
void * lpUserData;

};

Fields

fnOnDfChangePhase – pointer on a callback-function which will be called when changing function execution phases.

Function must have the following prototype:

void OnDfChangePhase( TDfChangePhase const * pChgPhase );

The only function parameter pChgPhase points on the structure TDfChangePhase which fields are filled by the calling function (see TDfChangePhase structure description for details).

Can be NULL.

fnOnDfProgress - pointer on a callback-function which is called to indicate the progress of current phase execution.

Function must have the following prototype:

void OnDfProgress( TDfProgress const * pPrgs );

The only function parameter pPrgs points on the structure TDfProgress, which fields are filled by the calling function (see TDfProgress structure description for details).

Can be NULL.

pAbortFlag – pointer on the variable of int type which value is periodically checked by executed function. If the value of this variable becomes different from "0", then execution of the function is immediately terminated and function returns EDF_ABORTED error code.

Can be NULL.

lpUserData – pointer on user data.

Can be used by application on its own.

Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals