Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
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, IsItemReplicatedshould 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 IsItemReplicatedto 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

See Also

Reference

IReplStore