Compartilhar via


ReplCloseSync (Windows CE 5.0)

Send Feedback

This function closes a synchronization client's synchronization session.

BOOL ReplCloseSync(HREPLhRepl);

Parameters

  • hRepl
    [in] Handle to an open synchronization session, obtained from a call to the ReplOpenSync function.

Return Values

Returns TRUE if the session is successfully closed. Returns FALSE if an error occurs. For extended error information, see the GetLastError function.

Remarks

The synchronization session may resume later by saving the session state returned by the ReplGetSyncState function and passing it to ReplOpenSync to reopen it later.

This API is part of the counter-based replication model and is not supported under the bit-based replication model.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pwindbas.h.
Link Library: Coredll.lib.

See Also

Counter-Based Replication | ReplGetSyncState | ReplOpenSync

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.