Share via


IReplStore::ActivateDialog

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method activates an ActiveSync service provider–specific dialog box.

Syntax

HRESULT ActivateDialog(
  UINT uDlg,
  HWND hwndParent,
  HREPLFLD hFolder,
  IEnumReplItem* penum
);

Parameters

  • uDlg
    [in] Identifies the dialog box to be activated.
  • hwndParent
    [in] Handle to the window that should be used as parent for the dialog box.
  • hFolder
    [in] Handle to a folder.
  • penum
    [in] Pointer to a enumerator of HREPLITEM for objects stored in the folder.

Return Value

The following table shows the possible return values for this method.

Value Description

NOERROR

User selected OK to save the changes made.

RERR_CANCEL

User selected CANCEL to ignore the changes made.

RERR_SHUT_DOWN

User selected OK to save the changes made. The ActiveSync manager must be closed now because of these changes.

E_NOTIMPL

The requested dialog box is not implemented.

Remarks

ActivateDialog activates dialog box options for each object type. The ReplDialogs enumeration in Cesync.h contains the list of dialog boxes that can be activated. An ActiveSync service provider can return E_NOTIMPL if it does not implement a particular dialog box. An enumerator of the HREPLITEM contained in the specified folder is passed in. The ActiveSync service provider should use this enumerator to enumerate all items in the folder.

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

IReplStore
HREPLITEM