IOlkApptRebaser::BeginRebaseAppointments

IOlkApptRebaser::BeginRebaseAppointments

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

Quick Info

See IOlkApptRebaser.

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

Parameters

pRows

[in] Required. Pointer to an SRowSet structure describing the appointments that need rebasing. This structure is usually obtained from a prior call to EndEnumerateAppointments.

pfnProgress

[in] Optional. Pointer to a rebase task progress function to receive progress. PFNREBASETASKPROGRESS is defined in tzmovelib.h.

pfnComplete

[out] Optional. Pointer to a rebase task completion function to receive notification of rebase completion. PFNREBASETASKCOMPLETE is defined in tzmovelib.h.

ppContext

[out] Required. Pointer to a pointer to the returned context. This context will usually be passed to EndRebaseAppointments.

Return Values

S_OK

The function call is successful.

Remarks

This task runs on a new thread.

See Also

About Rebasing Calendars Programmatically for Daylight Saving Time