IReplStore::Initialize

The Initialize method initializes the ActiveSync service provider.

Syntax

HRESULT Initialize (
  IReplNotify * pNotify,
  UINT uFlags
);

Parameters

  • pNotify
    Reference to a IReplNotify interface.
  • uFlags
    [in] Specifies information about the store initialization. See Remarks for the possible values.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.
  • RERR_NO_ERR_PROMPT
    Indicates an initializing error.

Remarks

The following table lists the possible values for uFlags.

Flag Value Description
ISF_SELECTED_DEVICE 0x00000001 Store is initialized for the selected device; otherwise, initialized for the connected device.
ISF_REMOTE_CONNECTED 0x00000002 Store is initialized during the remote connection; all user interfaces should be suppressed.

Requirements

Pocket PC: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cesync.h
Library: None

See Also

IReplNotify

IReplStore

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.