CeGetReplChangeMask (Windows CE 5.0)

Send Feedback

This function retrieves the current replication partnership mask.

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 CE device.

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

Return Values

Returns TRUE if the function succeeds; otherwise, returns FALSE.

Remarks

The first two bits of the mask identify a partnership if the bit is set. Any or all of the bits could be set. Only 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, 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 | CeSetReplChangeMask | CeGetReplChangeBitsEx | CeClearReplChangeBitsEx | CeSetReplChangeBitsEx | CeGetReplOtherBitsEx | CeSetReplOtherBitsEx

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.