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

pRows

[in] Required. A pointer to an SRowSet structure that describes the appointments that need rebasing. This structure is usually obtained from a prior call to IOlkApptRebaser::EndEnumerateAppointments.

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.

ppContext

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

Return values

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

Remarks

This task runs on a new thread.

See also