Partager via


CeSetReplChangeMask (Windows Embedded CE 6.0)

1/6/2010

This function sets the current replication partnership mask.

Syntax

BOOL CeSetReplChangeMask(
  DWORD mask
);

Parameters

  • mask
    [out] 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 can be set.

Return Value

TRUE indicates success. FALSE indicates failure.

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 function is part of the bit-based replication model and is not supported under the counter-based replication model.

Requirements

Header pwindbas.h
Library coredll.lib
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Database Replication Functions
CeRegisterReplNotification
CeGetReplChangeMask
CeGetReplChangeBitsEx
CeClearReplChangeBitsEx
CeSetReplChangeBitsEx
CeGetReplOtherBitsEx
CeSetReplOtherBitsEx

Concepts

Bit-Based Replication