Partager via


IReplStore::IsFolderChanged

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IReplStore::GetStoreInfo

Other Resources

STOREINFO (Storage Manager)