Share via


IReplStore::IsItemReplicated

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

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 Values

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

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplStore

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.