Share via


IReplStore::ActivateDialog (Windows CE 5.0)

Send Feedback

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

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 Values

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.
RERR_UNLOAD User selected OK to save the changes made. Replication modules must be unloaded so the change can take effect.
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

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.

See Also

IReplStore | HREPLITEM

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.