ISyncProviderRegistration::CreateSyncProviderConfigUIRegistrationInstance method (syncregistration.h)

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

Syntax

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

Parameters

[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
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
SYNC_E_REGISTRATION_ALREADYREGISTERED
The same CLSID and content type combination, or the same unique instance ID has already been registered for a configuration UI.

Remarks

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

Requirements

   
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