Share via


IReplStore::Initialize (Windows CE 5.0)

Send Feedback

This method initializes the IReplStore ActiveSync service provider.

HRESULT Initialize(IReplNotify* pReplNotify,UINT uFlags);

Parameters

  • pReplNotify
    [in] Pointer to the IReplNotify interface.
  • uFlags
    [in] Flags passed to the store by the ActiveSync manager. It is one of the following values.
    Value Description
    ISF_SELECTED_DEVICE Set if the store is initialized for the selected device; otherwise, it is initialized for the connected device.
    ISF_REMOTE_CONNECTED Set if the store is initialized during the remote connection; all user interface (UI) should be suppressed.

Return Values

Returns NOERROR if the method completed successfully, otherwise returns HRESULT_FROM_WIN32.

Windows Mobile Remarks

This method returns RERR_SETUP_NOT_COMPLETE to indicate that the object cannot synchronize because additional setup is needed.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplNotify | IReplStore

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.