ISyncProviderConfigUI::Init method (syncregistration.h)

Initializes the configuration UI for a synchronization provider.

Syntax

HRESULT Init(
  [in] LPCGUID        pguidInstanceId,
  [in] LPCGUID        pguidContentType,
  [in] IPropertyStore *pConfigurationProperties
);

Parameters

[in] pguidInstanceId

The instance ID of the configuration UI.

[in] pguidContentType

A GUID that represents the content type that is associated with the synchronization provider that this configuration UI will create.

[in] pConfigurationProperties

The properties that should be specified when the configuration UI is registering the synchronization provider. These properties are also used to properly initialize the configuration UI object.

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.

Remarks

This method will be called by the registration code before the object is returned whenever an instance of the configuration UI is requested from one of the registration interfaces.

Requirements

Requirement Value
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

ISyncProviderConfigUI Interface