Share via


CeGetReplChangeMask (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the current replication partnership mask.

Syntax

BOOL CeGetReplChangeMask(
  LPDWORD lpmask
);

Parameters

  • lpmask
    [out] Provides a DWORD that is filled in with the current replication partnership mask. A replication partnership mask distinguishes the number of partners associated with a Windows Embedded CE device.

    Windows CE 2.10 and later supports only two partners because of the limit on dirty bits.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

The first two bits of the mask identify a partnership if the bit is set. Any or all of the bits can be set. Use this data only to determine what synchronization partners are running. By default, when ActiveSync is running, it sets the first two bits of the mask, 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
CeSetReplChangeMask
CeGetReplChangeBitsEx
CeClearReplChangeBitsEx
CeSetReplChangeBitsEx
CeGetReplOtherBitsEx
CeSetReplOtherBitsEx

Concepts

Bit-Based Replication