Partager via


IReplStore::Initialize

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method initializes the IReplStore ActiveSync service provider.

Syntax

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 Value

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

On Windows Mobile ,this method returns RERR_SETUP_NOT_COMPLETE to indicate that the object cannot synchronize because additional setup is needed.

Requirements

Header cesync.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IReplNotify
IReplStore