An ActiveSync service manager implements this interface, which can be used by an ActiveSync service provider to notify the ActiveSync service manager of certain events taking place in the ActiveSync service provider’s store.
At a Glance
Header file: | Cesync.h |
Windows CE versions: | 2.0 and later |
Methods | Description |
IReplNotify::GetWindow | Obtains a handle to the window that must be used as a parent for any modal dialog or message box that an ActiveSync service provider wants to display. |
IReplNotify::OnItemCompleted | Used internally by the ActiveSync service manager. An ActiveSync service provider should not call this explicitly. |
IReplNotify::OnItemNotify | Notifies the ActiveSync service manager that an item has been created, deleted, or modified. |
IReplNotify::QueryDevice | Used to ask for information about a device. |
IReplNotify::SetStatusText | Sets the text to be displayed on the Explorer Window status control. |
IUnknown::AddRef | Increments the reference count for an interface on an object. It should be called for every new copy of a pointer to an interface on a specified object. |
IUnknown::QueryInterface | Returns a pointer to a specified interface on an object to which a client currently holds an interface pointer. This method must call IUnknown::AddRef on the pointer it returns. |
IUnknown::Release | Decrements the reference count for the calling interface on a object. If the reference count on the object falls to 0, the object is freed from memory. |
Remarks
The IReplNotify : IUnknown interface is implemented and exposed by the ActiveSync service manager. If the store is capable of detecting changes and deletions to the objects as they occur, an ActiveSync service provider should use the interface to notify the ActiveSync service manager of these changes and deletions. This is more efficient than enumerating the changes and comparing time stamps.