CeSetReplChangeMask (Windows CE 5.0)
This function sets the current replication partnership mask.
BOOL CeSetReplChangeMask(DWORD mask);
Parameters
- mask
[out] The new replication partnership mask to set for the system. The first two bits of the mask identify a partnership if the bit is set. Any or all of the bits could be set.
Return Values
Returns TRUE if the function succeeds; otherwise, returns FALSE.
Remarks
An application should call CeGetReplChangeMask before setting new values. Use this data to determine what synchronization partners are running. By default, when ActiveSync is running, it sets the first two bits of the mask (that is, 0x00000003).
This API is part of the bit-based replication model and is not supported under the counter-based replication model.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Pwindbas.h.
Link Library: Coredll.lib.
See Also
Bit-Based Replication | CeRegisterReplNotification | CeGetReplChangeMask | CeGetReplChangeBitsEx | CeClearReplChangeBitsEx | CeSetReplChangeBitsEx | CeGetReplOtherBitsEx | CeSetReplOtherBitsEx
Send Feedback on this topic to the authors