IRegisteredSyncProvider::Init method (syncregistration.h)
Initializes the synchronization provider before it is ready for a synchronization session.
Syntax
HRESULT Init(
[in] LPCGUID pguidInstanceId,
[in] LPCGUID pguidContentType,
[in] IPropertyStore *pContextPropertyStore
);
Parameters
[in] pguidInstanceId
The instance ID of the synchronization provider.
[in] pguidContentType
A GUID that represents the content type that this provider will synchronize.
[in] pContextPropertyStore
The properties needed to initialize the synchronization provider. These properties are also provided when the synchronization provider is registered.
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. |
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 |