Share via


IReplStore::IsFolderChanged

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

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 Values

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_UNLOAD There was a less serious error, and replication modules must be unloaded.
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

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplStore::GetStoreInfo | STOREINFO

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.