Share via


IProviderSyncServices::Initialize

Initializes the IProviderSyncServices object. This method must be called before any of the other IProviderSyncServices methods.

HRESULT Initialize(
  const ID_PARAMETERS * pIdParameters);

Parameters

  • pIdParameters
    [in] The ID format schema of the provider.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • SYNC_E_INVALID_OPERATION when this object is already initialized.

  • SYNC_E_ID_FORMAT_MISMATCH when the ID format schema specified by pIdParameters is not valid.

Remarks

Any object thatis created by using an IProviderSyncServices method contains pIdParameters as its ID format schema.

See Also

Reference

IProviderSyncServices Interface
ID_PARAMETERS Structure