共用方式為


ISyncSchedule::AddItem method

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

Adds an item to the synchronization schedule.

Syntax

HRESULT AddItem(
  [in] LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo
);

Parameters

  • pHandlerItemInfo [in]
    Type: LPSYNC_HANDLER_ITEM_INFO

    A pointer to a SYNC_HANDLER_ITEM_INFO structure defining the new item.

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