ISyncProviderRegistration::EnumerateSyncProviderConfigUIs method (syncregistration.h)

Returns an IEnumSyncProviderConfigUIInfos enumeration interface that enumerates all registered ISyncProviderConfigUIInfo objects for the specified criteria.

Syntax

HRESULT EnumerateSyncProviderConfigUIs(
  [in] LPCGUID                        pguidContentType,
  [in] DWORD                          dwSupportedArchitecture,
       IEnumSyncProviderConfigUIInfos **ppEnumSyncProviderConfigUIInfos
);

Parameters

[in] pguidContentType

The LPCGUID of the specified content type. If this parameter is NULL, all content types will be enumerated.

[in] dwSupportedArchitecture

One, or a combination of, the following flags that represent the architectures of the providers to be enumerated. If SYNC_32_BIT_SUPPORTED is specified, all providers that support 32 bits or 32 and 64 bits will be enumerated. If SYNC_32_BIT_SUPPORTED | SYNC_64_BIT_SUPPORTED is specified, only those providers that support both 32 bits and 64 bits will be enumerated.

  • SYNC_32_BIT_SUPPORTED ((DWORD)0x00000001)
  • SYNC_64_BIT_SUPPORTED ((DWORD)0x00000002)
If this parameter is set to zero, synchronization providers for all architectures will be enumerated.

ppEnumSyncProviderConfigUIInfos

A reference to an IEnumSyncProviderConfigUIInfos

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 register the provider.

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

IEnumSyncProviderInfos Interface

ISyncProviderRegistration Interface