Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The IsFolderChanged method determines whether any object in the specified folder has been changed since the method was last called. The Activesync service manager calls this method when the timer is up
Syntax
HRESULT IsFolderChanged (
HREPLFLD hFld,
BOOL * pfChanged
);
Parameters
- hFld
[in] Specifies a handle to a folder. - pfChanged
[out] Reference to a Boolean value; TRUE if folder is changed and FALSE otherwise.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully. - RERR_SHUT_DOWN
There was a serious error. 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 entire store was replaced.
Remarks
Using this method helps reduce the number of scans made to the store. An ActiveSync service provider should set pfChanged to TRUE when it does not need to implement this method.
To simulate real-time synchronization, see IReplStore::GetStoreInfo.
Requirements
Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cesync.h
Library: None
See Also
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.