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)
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 |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
|
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 |