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 ISyncSessionState object that can be used to contain information about the synchronization session.
HRESULT CreateSyncSessionState(
ISyncCallback * pCallbacks,
ISyncSessionState ** ppSyncSessionState);
Parameters
Term |
Definition |
pCallbacks |
[in, unique] Callbacks that will receive notifications about change application events. |
ppSyncSessionState |
[out] Returns the newly created ISyncSessionState object. |
Return Value
S_OK
E_POINTER
E_OUTOFMEMORY
Remarks
Sync Framework typically passes an ISyncSessionState object to a provider by using the IKnowledgeSyncProvider::BeginSession method. CreateSyncSessionState can be used in remote scenarios when a provider needs to create an ISyncSessionState object locally.