ISyncProviderRegistration::CreateSyncProviderConfigUIRegistrationInstance method (syncregistration.h)

Creates an in-memory instance of a synchronization provider configuration UI.


HRESULT CreateSyncProviderConfigUIRegistrationInstance(
  [in]  const SyncProviderConfigUIConfiguration *pConfigUIConfig,
  [out] ISyncProviderConfigUIInfo               **ppConfigUIInfo


[in] pConfigUIConfig

A SyncProviderConfigUIConfiguration structure that contains the configuration UI registration information.

[out] ppConfigUIInfo

Returns a pointer to an ISyncProviderConfigUIInfo interface that is used to store the configuration UI’s UX elements and any necessary persisted configuration information.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
The method succeeded.
Invalid pointer.
The same CLSID and content type combination, or the same unique instance ID has already been registered for a configuration UI.


The configuration UI is not registered on the system until the ISyncProviderConfigUIInfo::Commit method is called. This method is inherited by ISyncProviderConfigUIInfo from IPropertyStore.


Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header syncregistration.h

See also

ISyncProviderRegistration Interface

SyncProviderConfigUIConfiguration Structure