IReplStore::IsItemReplicated

This method determines if an item should be replicated using ActiveSync service provider-defined rules.

At a Glance

Header file: Cesync.h
Windows CE versions: 2.0 and later

Syntax

BOOL IsItemReplicated( HREPLIFLD hFolder, HREPLITEM hItem );

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 specified folder should be replicated.

Return Values

One of the values described in the following table is returned.

Value Description
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 computer 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 to the folder. If all objects should be replicated, the ActiveSync service provider can return TRUE in all calls.

See Also

IReplStore