ISyncScheduleMgr::LaunchScheduleWizard method

[The ISyncScheduleMgr::LaunchScheduleWizard method is available for use through Windows XP. It is not available in subsequent versions of Windows.]

Launches the New Schedule page, used to create or modify the schedule for a synchronization item.

Syntax


HRESULT LaunchScheduleWizard(
  [in]       HWND hParent,
  [in]       DWORD dwFlags,
  [in, out]  SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  [out]      ISyncSchedule **ppSyncSchedule
);

Parameters

hParent [in]

Type: HWND

The handle of the parent window.

dwFlags [in]

Type: DWORD

Flags to be set for the modified or newly-created schedule item.

SYNCSCHEDINFO_FLAGS_READONLY (0x0001)

The schedule is read-only and cannot be altered.

SYNCSCHEDINFO_FLAGS_AUTOCONNECT (0x0002)

A network connection required for the synchronization should be requested automatically.

SYNCSCHEDINFO_FLAGS_HIDDEN (0x0004)

The item is not displayed in the synchronization schedule UI.

pSyncSchedCookie [in, out]

Type: SYNCSCHEDULECOOKIE*

A pointer to a GUID by which the schedule is identified in subsequent method calls. This GUID is typically obtained through ISyncScheduleMgr::CreateSchedule. If this parameter is GUID_NULL on entry, a new schedule with a unique name is created and returned on exit.

ppSyncSchedule [out]

Type: ISyncSchedule**

The address of a pointer to the interface representing the schedule.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Syncmgr.h

IDL

Syncmgr.idl

DLL

Mobsync.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft