What does the desktop ActiveSync provider need to do to support synchronization with multiple Windows CE-based devices?
Not much. The ActiveSync manager automatically manages different mappings with different Windows CE-based devices. It makes sure the correct ActiveSync file is loaded for the correct Windows CE-based device. All the ActiveSync provider needs to do is to make sure any device-specific data or settings it uses — and which the ActiveSync manager has no knowledge of — is saved in the device-specific registry key or file folder. The device-specific file folder is DEVINFO::szPath, returned by IReplNotify::QueryDevice (QDC_SEL_DEVICE, &devInfo). The device-specific registry key is hKey, returned by IReplNotify::QueryDevice (QDC_SEL_DEVICE_KEY, &hKey).