IReplStore::IsItemReplicated
A version of this page is also available for
4/8/2010
This method determines if an item should be replicated using ActiveSync service provider-defined rules.
Syntax
BOOL IsItemReplicated(
HREPLIFLD hFolder,
HREPLITEM hItem
);
Parameters
- hFolder
[in] Handle to the folder or container that stores the object.
- hItem
[in] Handle to the object. This parameter can be NULL, in which case, IsItemReplicated should determine if the specified folder should be replicated.
Return Value
Returns TRUE if the object should be replicated, otherwise returns FALSE.
Remarks
If the ActiveSync service provider requires that some objects on the desktop computer should not be replicated, it can use IsItemReplicated to tell the ActiveSync manager to ignore these objects. The ActiveSync service provider can design its own rules and store it using the handle to the folder. If all objects should be replicated, the ActiveSync service provider can return TRUE in all calls.
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 |