IRAPISession::CeSyncStart (Windows Embedded CE 6.0)
This function begins synchronization between a desktop and a remote Windows Embedded CE–based device.
HRESULT CeSyncStart( LPCWSTR szCommand );
When this function is called, ActiveSync will begin to synchronize data between the desktop and the device. The set of items that are synchronized are determined by the previously established partnership between the device and the desktop. Calling this method initiates the same actions as the user clicking the Sync button in the ActiveSync window.Use the IRAPISession::CeSyncStop function to stop synchronization.