ISyncProviderConfigUI::ModifySyncProvider method (syncregistration.h)

Updates the ISyncProviderInfo of the synchronization provider that is configured by this ISyncProviderConfigUI.

Syntax

HRESULT ModifySyncProvider(
  [in] HWND              hwndParent,
  [in] IUnknown          *pUnkContext,
  [in] ISyncProviderInfo *pProviderInfo
);

Parameters

[in] hwndParent

HWND serving as the parent for the configuration UI that needs to be presented before the synchronization provider can be created. The HWND should be NULL only if the dwCapabilities member of the SyncProviderConfigUIConfiguration structure is set to not support a UI.

[in] pUnkContext

Pointer to an interface containing additional information needed to generate the synchronization provider. The pointer will be NULL if no additional information is needed.

[in] pProviderInfo

An ISyncProviderInfo that provides information about the synchronization provider that is being modified.

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.

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