Partager via


IReplStore::Initialize (Windows Embedded CE 6.0)

1/6/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.

Requirements

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

See Also

Reference

IReplStore
IReplNotify