Share via


IFileSyncProvider::DetectChanges

Triggers an enumeration of the local file system replica for changes, and updates the metadata appropriately.

HRESULT DetectChanges();

Parameters

None.

Return Value

Remarks

An application does not have to call this method. This method is provided for applications that want more precise control over when change detection occurs.

If the FILESYNC_INIT_FLAG_DISABLE_IMPLICIT_DETECT_CHANGES flag was not set in the provider's constructor, the provider will implicitly do change detection on the first call to the provider’s GetChangeBatch or ProcessChangeBatch method for each synchronization.

If the FILESYNC_INIT_FLAG_DISABLE_IMPLICIT_DETECT_CHANGES flag was set, the application should explicitly call DetectChanges to detect local file system changes before it starts a synchronization session.

See Also

Reference

IFileSyncProvider Interface