Share via


ActiveSync

Microsoft® ActiveSync® synchronizes data between a desktop computer and the Windows Mobile-based device. Application Manager for ActiveSync installs and removes applications on the Windows Mobile-based device when the device is connected to the desktop computer.

The ActiveSync API enables you to complete the following programming tasks:

  • Implement a file filter. As a file is transferred between the Windows Mobile-based device and the desktop computer, ActiveSync uses a file filter stored on the desktop computer to convert a file format. ActiveSync includes some basic file filters. You can implement a custom file filter by using the ICeFileFilter ActiveSync API interface and registering the filter. For more information, see Converting File Formats.

  • Create an ActiveSync service provider. ActiveSync service providers define data types for synchronization. ActiveSync includes service providers for commonly used applications and data types on Windows Mobile-based devices. You can create a custom service provider by using the IReplStore and IReplObjHandler ActiveSync API interfaces and the following ActiveSync API functions:

    Note   The preceding functions implement Windows CE functions that you use to create a custom service provider.

    For more information, see Creating the ActiveSync Service Provider.

  • Notify a desktop application about Windows Mobile-based device connections. By modifying the registry, you can have a desktop application launched when a connection is made or broken between the desktop computer and the Windows Mobile-based device. You can use the CeSvcOpen and CeSvcSetString ActiveSync API functions to modify the registry. For more information, see Registry-Based Notification.

ActiveSync also enables you to perform the following operations:

See Also

Converting File Formats

Creating the ActiveSync Service Provider

How to: Connect the Emulator to a Development Tool

How to: Connect the Windows Mobile-Based Device to a Development Tool

How to: Use ActiveSync with the Emulator

ICeFileFilter

IReplObjHandler

IReplStore

PFINDOBJECTS

PGETOBJTYPEINFO

PINITOBJPROC

POBJNOTIFYPROC

PREPORTSTATUS

PSYNCDATA

Registry-Based Notification

Remote API (RAPI)

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.