ISyncMgrSynchronizeCallback::PrepareForSyncCompleted method (mobsync.h)

Called by a registered handler of an application after the PrepareForSync method is complete.

Syntax

HRESULT PrepareForSyncCompleted(
  [in] HRESULT hr
);

Parameters

[in] hr

Type: HRESULT

The return value of the PrepareForSync method. If S_OK is returned, the synchronization manager calls Synchronize for the item. If the HRESULT is set to anything other than S_OK, the synchronization manager releases the handler without calling the Synchronize method.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK
The call is completed successfully.

Remarks

A registered handler of an application should return as soon as possible from the PrepareForSync method, and then call this method to notify the synchronization manager that the registered application is preparing for synchronization.

It is acceptable for the registered handler of an application to call this method before returning from the PrepareForSync method.

The registered handler of an application should not call this method if the PrepareForSync method returns any value that is different from S_OK.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mobsync.h
DLL Mobsync.dll

See also

ISyncMgrSynchronizeCallback

PrepareForSync

Synchronize