Share via


ActiveSyncStart

4/8/2010

This function initiates synchronization.

Syntax

HRESULT ActiveSyncStart();

Return Value

If successful, this method returns S_OK. An error code indicates failure.

Remarks

This is a device-side method. It can be called from applications running on a Windows Embedded CEā€“based device. This method cannot be called from a desktop application.

When synchronization commences, all data sources present on the device will be synchronized according to the ActiveSync application settings. This function starts synchronization but returns immediately and does not wait for synchronization to complete.

Requirements

Header activeSync.h
Library aygshell.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

ActiveSync Functions