Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of the synchronization provider.
Syntax
HRESULT GetSyncProvider(
[in] DWORD dwClsContext,
[out] IRegisteredSyncProvider **ppSyncProvider
);
Parameters
[in] dwClsContext
The context in which the code that manages the newly created object will run. The only context supported is CLSCTX_INPROC_SERVER.
[out] ppSyncProvider
The instance of the synchronization provider.
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 create the synchronization provider. |
|
Information stored in the registration store is an unexpected size. |
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 |