Share via


IReplStore::IsFolderChanged (Compact 7)

3/12/2014

This method determines if any object in a specified folder has been changed since the method was last called.

Syntax

HRESULT IsFolderChanged(
  HREPLFLD hFolder,
  BOOL* pfChanged
);

Parameters

  • hFolder
    [in] Handle to a folder.
  • pfChanged
    [out] Pointer to a Boolean value that is set TRUE if folder is changed.

Return Value

The following table shows the possible return values for this method.

Value Description

NOERROR

The operation completed successfully. The pfChanged parameter is set TRUE if the folder is changed, or FALSE otherwise.

RERR_SHUT_DOWN

There was a serious error, and the ActiveSync service provider should shut down immediately.

RERR_STORE_REPLACED

The complete store was replaced.

Remarks

If the ActiveSync service provider wants real-time synchronization to be simulated; see IReplStore::GetStoreInfo. The ActiveSync manager calls IsFolderChanged once the timer is up to see if it needs to scan the store further to pick up any changes. This is used to reduce the number of scans replication has to make to the store. An ActiveSync service provider should set the pfChanged parameter to TRUE if it does not need to implement this method.

Requirements

Header

cesync.h

Library

coredll.lib

See Also

Reference

IReplStore
IReplStore::GetStoreInfo

Other Resources

STOREINFO (Storage Manager)