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
 

TDfChangePhase Structure

Summary

Pointer on the structure TDfChangePhase is passed as the only parameter of the callback-function of process phase change notification.

Syntax

struct TDfChangePhase

{

EnDfPhase enPhase;
int bBegin;
void * lpPhaseData;
void * lpUserData;

};

unerase digital photo usb drive recovery flash drive recovery software
data recovery software download best data recovery download data recovery utilities
recover password partition file restore laptop data recovery

Fields

enPhase – execution phase identifier (ID). Currently the following phases are defined:

Phase ID

Description

Function, which can use it

eaphContentCmp

File content comparing

dfCompare

eaphOldMD5

Calculating of old file's MD5

dfBuildN, dfBuildH

eaphNewMD5

Calculating of new file's MD5

dfBuildN, dfBuildH

eaphGenDf

df-file building

dfBuildN, dfBuildH

eaphApplyDf

df-file applying

dfApplyN, dfApplyH

bBegin – flag of beginning/ending of the phase execution.

Possible values:

"1" – phase beginning;

"0" – phase ending.

For each phase executed a callback-function OnDfChangePhase will be called 2 times: before phase beginning and after phase ending.

Notification of phase changing is called in such a way that two different phases cannot cross by time, i.e. if a notification of the 1st phase beginning comes then a notification of its ending will be called before a notification of the 2nd phase beginning comes.

lpPhaseData – pointer on additional data concerned with the current phase.

Currently the value of lpPhaseData is defined only for eaphOldMD5 and eaphNewMD5 phases: at their completion (bBegin is "0") the field lpPhaseData points on the calculated value of MD5 of an old and new file accordingly. In other cases field lpPhaseData contains NULL.

lpUserData – value passed to the field lpUserData of TDfInteract structure.

Can be used by application on its own.

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