ISimpleSyncProvider::BeginSession

Called by the Sync Framework runtime at the start of each session, when overridden in a derived class. This method is called only once before calls to other provider methods or properties.

Syntax

HRESULT BeginSession(
  ISimpleSyncSessionState *pSimpleSyncSessionState);

Parameters

  • pSimpleSyncSessionState
    [in] The current status of the corresponding session.

Return Value

  • S_OK

  • Provider-determined error codes

  • SYNC_E_PFX_INVALID_OPERATION when the simple provider has not been initialized.

See Also

Reference

ISimpleSyncProvider Interface