Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The service manager interfaces with the device provider to access data. To facilitate this interaction, a device provider must implement the same IReplObjHandlerinterface that you use for the desktop provider. It also must implement the InitObjType, GetObjTypeInfo, ObjectNotifyfunctions. 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 ReportStatusfunction.

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

Other Resources