Skip to content

Latest commit

 

History

History
147 lines (115 loc) · 5.27 KB

nf-syncregistration-isyncproviderregistration-enumeratesyncproviders.md

File metadata and controls

147 lines (115 loc) · 5.27 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:syncregistration.ISyncProviderRegistration.EnumerateSyncProviders
ISyncProviderRegistration::EnumerateSyncProviders (syncregistration.h)
Returns an IEnumSyncProviderInfos enumeration interface that enumerates all registered ISyncProviderInfo objects for the specified criteria.
EnumerateSyncProviders
EnumerateSyncProviders method [Windows Sync]
EnumerateSyncProviders method [Windows Sync]
ISyncProviderRegistration interface
ISyncProviderRegistration interface [Windows Sync]
EnumerateSyncProviders method
ISyncProviderRegistration.EnumerateSyncProviders
ISyncProviderRegistration::EnumerateSyncProviders
syncregistration/ISyncProviderRegistration::EnumerateSyncProviders
winsync.isyncproviderregistration_enumeratesyncproviders
winsync\isyncproviderregistration_enumeratesyncproviders.htm
winsync
36a2b498-237e-418a-b5b8-5f9bcdfbe734
12/05/2018
EnumerateSyncProviders, EnumerateSyncProviders method [Windows Sync], EnumerateSyncProviders method [Windows Sync],ISyncProviderRegistration interface, ISyncProviderRegistration interface [Windows Sync],EnumerateSyncProviders method, ISyncProviderRegistration.EnumerateSyncProviders, ISyncProviderRegistration::EnumerateSyncProviders, syncregistration/ISyncProviderRegistration::EnumerateSyncProviders, winsync.isyncproviderregistration_enumeratesyncproviders
syncregistration.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Windows
19H1
ISyncProviderRegistration::EnumerateSyncProviders
syncregistration/ISyncProviderRegistration::EnumerateSyncProviders
c++
APIRef
kbSyntax
COM
Syncregistration.h
ISyncProviderRegistration.EnumerateSyncProviders

ISyncProviderRegistration::EnumerateSyncProviders

-description

Returns an IEnumSyncProviderInfos enumeration interface that enumerates all registered ISyncProviderInfo objects for the specified criteria.

-parameters

-param pguidContentType [in]

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

-param dwStateFlagsToFilterMask [in]

A synchronization provider state flag that can be used to mask (preserve or remove) the existing state. If this parameter is set to zero, all synchronization provider states will be enumerated. See the dwStateFlagsToFilter parameter description for a list of flags.

-param dwStateFlagsToFilter [in]

One of the following flags that represent the synchronization provider state.

  • SYNC_PROVIDER_STATE_ENABLED ((DWORD)0x00000001)The provider is enabled and available for synchronization.
  • SYNC_PROVIDER_STATE_DIRTY ((DWORD)0x00000002)The active provider has been updated and has new data to synchronize.
If this parameter is set to zero, all synchronization provider states will be enumerated.

-param refProviderClsId [in]

The REFCLSID of a particular provider. If this parameter is set to CLSID_NULL, all providers will be enumerated.

-param dwSupportedArchitecture [in]

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.

-param ppEnumSyncProviderInfos [out]

The IEnumSyncProviderInfos enumeration interface that will enumerate all ISyncProviderInfo objects that match the specified criteria.

-returns

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 return the enumeration interface.

-see-also

IEnumSyncProviderInfos Interface

ISyncProviderRegistration Interface