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. |
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.
-
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.