Share via


IFileSyncProviderCallback::OnChangeDetectionProgress

Occurs when a directory is about to be analyzed during a change detection pass.

HRESULT OnChangeDetectionProgress( 
  LPCWSTR pcszDirectoryPath);

Parameters

  • pcszDirectoryPath
    [in, string] The path of the folder that is about to be analyzed during change detection, relative to the root directory.

Return Value

  • S_OK

Remarks

This event fires one time for every directory during a change detection pass, including the root directory. The event fires before change detection begins for that folder.

If OnChangeDetectionProgress returns an error, the file synchronization provider stops processing the current change batch and returns the error from the method that initiated change detection.

See Also

Reference

IFileSyncProviderCallback Interface