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.GetSyncProviderFromInstanceId |
ISyncProviderRegistration::GetSyncProviderFromInstanceId (syncregistration.h) |
Returns an initialized and instantiated IRegisteredSyncProvider object for the specific unique instance ID. |
|
winsync\isyncproviderregistration_getsyncproviderfrominstanceid.htm |
winsync |
ed204998-9e9a-4bac-b178-b4137be87ff4 |
12/05/2018 |
GetSyncProviderFromInstanceId, GetSyncProviderFromInstanceId method [Windows Sync], GetSyncProviderFromInstanceId method [Windows Sync],ISyncProviderRegistration interface, ISyncProviderRegistration interface [Windows Sync],GetSyncProviderFromInstanceId method, ISyncProviderRegistration.GetSyncProviderFromInstanceId, ISyncProviderRegistration::GetSyncProviderFromInstanceId, syncregistration/ISyncProviderRegistration::GetSyncProviderFromInstanceId, winsync.isyncproviderregistration_getsyncproviderfrominstanceid |
syncregistration.h |
Windows |
Windows 7 [desktop apps only] |
Windows Server 2008 R2 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
Returns an initialized and instantiated IRegisteredSyncProvider object for the specific unique instance ID.
The unique instance ID of the IRegisteredSyncProvider object.
The context in which the code that manages the newly created object will run. The only context supported is CLSCTX_INPROC_SERVER.
The initialized and instantiated synchronization provider object.
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. |
|
The instance ID is GUID_NULL. |
|
There was not enough memory available to create the synchronization provider. |
|
The synchronization provider’s CLSID is not registered with the requested context or the provider has not had its DLL registered. |
|
A synchronization provider with the specified instance ID was not registered. |
Note The caller of this method should not explicitly call IRegisteredSyncProvider::Init on the IRegisteredSyncProvider object that is returned, as this method will do this on the caller's behalf. The caller should call QueryInterface on the IRegisteredSyncProvider object that is returned to obtain an ISyncProvider interface to pass to the synchronization session.