Steps to Implement Device Synchronization

Follow these steps to implement device synchronization:

  1. Create a standard DLL project.

  2. Write code to register the device ActiveSync provider in the registry.

  3. Implement the ActiveSync IReplObjHandler COM interface. This interface implements functions to take your items and convert them to a stream of bytes (serialization) and vice versa (deserialization).

  4. Implement the following exported functions that will be called by ActiveSync:

    InitObjType— Called by ActiveSync when the service is loaded and unloaded.

    ObjectNotify— Called by ActiveSync when the item in the store is added, deleted, or updated. The function returns TRUE if the item is to be synchronized.

    GetObjTypeInfo— Called by ActiveSync to obtain information ...

Get Windows® CE 3.0 Application Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.