ActiveSyncStart (Compact 7)

3/12/2014

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 Compact-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

See Also

Reference

ActiveSync Functions