Share via


IFileSyncProviderCallback::OnChangeDetectionCompleted

Occurs when the change detection pass is complete.

Syntax

HRESULT OnChangeDetectionCompleted(
  LONGLONG llTotalFilesFound,
  LONGLONG llTotalDirectoriesFound,
  LONGLONG llTotalFileSize);

Parameters

  • llTotalFilesFound
    [in] The total number of files that are found during change detection. If the total number of files cannot be calculated, llTotalFilesFound will be -1.

  • llTotalDirectoriesFound
    [in] The total number of folders that are found during change detection. If the total number of folders cannot be calculated, llTotalDirectoriesFound will be -1.

  • llTotalFileSize
    [in] The cumulative size of all files that are found during change detection. If the total number of files cannot be calculated, llTotalFileSize will be -1.

Return Value

  • S_OK

Remarks

Files and folders that are excluded by the scope filter or skipped are not counted. Therefore, they are not included in the totals that are provided in the parameters to this method.

See Also

Reference

IFileSyncProviderCallback Interface