共用方式為


IOlkApptRebaser::BeginRebaseAppointments

Begins a task for appointment rebasing given a list of appointments, usually obtained from IOlkApptRebaser::EndEnumerateAppointments.

Quick Info

See IOlkApptRebaser.

HRESULT BeginRebaseAppointments( 
    const SRowSet *pRows, 
    PFNREBASETASKPROGRESS pfnProgress, 
    PFNREBASETASKCOMPLETE pfnComplete, 
    void **ppContext);

Parameters

  • pfnProgress
    [in] Optional. A pointer to a rebase task progress function to receive progress. PFNREBASETASKPROGRESS is defined in tzmovelib.h.
  • pfnComplete
    [out] Optional. A pointer to a rebase task completion function to receive notification of rebase completion. PFNREBASETASKCOMPLETE is defined in tzmovelib.h.

Return Values

S_OK if the call succeeded; otherwise, an error code.

Remarks

This task runs on a new thread.

See also

About Rebasing Calendars Programmatically for Daylight Saving Time