IReplStore::IsItemReplicated

The IReplStore::IsItemReplicated method determines if an item should be replicated using ActiveSync service provider-defined rules.

Syntax

BOOL IsItemReplicated(
HREPLIFLD
hFolder,
HREPLITEM
hItem
);

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

hFolder
Handle to the folder or container that stores the object.
hItem
Handle to the object. This parameter can be NULL, in which case, IsItemReplicated should determine if the given folder should be replicated.

Return Values

FALSE
The object should not be replicated.
TRUE
The object should be replicated.

Remarks

If the ActiveSync service provider requires that some objects on the desktop PC should not be replicated, it can use the IReplStore::IsItemReplicated method to tell the ActiveSync service manager to ignore these objects. The ActiveSync service provider can design its own rules and store it using the handle of the folder. If all objects should be replicated, the ActiveSync service provider can simply return TRUE in all calls.

See Also

IReplStore