This method determines if any object in a specified folder has been changed since the method was last called.
At a Glance
Header file: | Cesync.h |
Windows CE versions: | 2.0 and later |
Syntax
HRESULT IsFolderChanged( HREPLFLD hFolder, BOOL * pfChanged );
Parameters
hFolder
Handle to a folder.
pfChanged
Pointer to a Boolean value that is set to TRUE if folder is changed.
Return Values
One of the values described in the following table is returned.
Value | Description |
NOERROR | The operation completed successfully. The pfChanged parameter is set to 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 GetStoreInfo. The ActiveSync service manager calls the IReplStore::IsFolderChanged method 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 return TRUE if it does not need to implement this method.
See Also