IReplStore::ActivateDialog

The ActivateDialog method activates the dialog box specific to an ActiveSync service provider and activates dialog boxes options for each object type.

Syntax

HRESULT ActivateDialog (
  UINT uidDialog,
  HWND hwndParent,
  HREPLFLD hFld,
  IEnumReplItem * penumItem
);

Parameters

  • uidDialog
    [in] Specifies the dialog box to be activated.
  • hwndParent
    [in] Specifies a handle to the window that should be used as parent for the dialog box.
  • hFld
    [in] Specifies a handle to a folder.
  • penumItem
    [in] Reference to an IEnumReplItem interface.

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.
  • E_NOTIMPL
    The requested dialog box is not implemented.
    RERR_CANCEL
    User selected CANCEL to ignore the changes made.
  • RERR_SHUT_DOWN
    User selected OK to save the changes made. The ActiveSync service manager must now be closed because of these changes.
  • RERR_UNLOAD
    User selected OK to save the changes made. Replication modules must be unloaded so that the change can take effect.
  • E_NOTIMPL
    The requested dialog box is not implemented.

Remarks

The ReplDialogs enumeration contains the list of dialog boxes that can be activated.

Requirements

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

See Also

IEnumReplItem

IReplStore

ReplDialogs

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.