Developing the Device Provider (Windows Embedded CE 6.0)
1/6/2010
The service manager interfaces with the device provider to access data. To facilitate this interaction, a device provider must implement the same IReplObjHandler interface that you use for the desktop provider. It also must implement the InitObjType, GetObjTypeInfo, ObjectNotify functions. It is recommended that the device provider implement FindObjects, because this can increase the efficiency of the ActiveSync engine. The device provider can also implement the optional ReportStatus function.
To implement the device provider
Create a GUID for the store, by using the Visual C++ GUID generator tool, Guidgen.exe.
Initialize the device store. For more information, see Initializing the Device Store.
Enumerate device objects. For more information, see Enumerating Objects with the FindObjects Function.
Detect device object changes. For more information, see Detecting Device Object Changes.
See Also
Concepts
Creating ActiveSync Service Providers