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

  1. Create a GUID for the store, by using the Visual C++ GUID generator tool, Guidgen.exe.

  2. Initialize the device store. For more information, see Initializing the Device Store.

  3. Enumerate device objects. For more information, see Enumerating Objects with the FindObjects Function.

  4. Detect device object changes. For more information, see Detecting Device Object Changes.

See Also

Concepts

Creating ActiveSync Service Providers

Other Resources