ISyncProviderConfigUIInfo::GetSyncProviderConfigUI method (syncregistration.h)

Creates an instance of a synchronization provider configuration UI.

Syntax

HRESULT GetSyncProviderConfigUI(
  [in]  DWORD                 dwClsContext,
  [out] ISyncProviderConfigUI **ppSyncProviderConfigUI
);

Parameters

[in] dwClsContext

The context in which the code that manages the newly created object will run. The only context supported is CLSCTX_INPROC_SERVER.

[out] ppSyncProviderConfigUI

The instance of the synchronization provider configuration UI.

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.
E_OUTOFMEMORY
There was not enough memory available to create the configuration UI.
HRESULT_FROM_WIN32(ERROR_INVALID_DATA)
Information stored in the registration store is an unexpected size.

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

ISyncProviderConfigUIInfo Interface