IReplNotify::OnItemNotify (Windows CE 5.0)
This method notifies the ActiveSync manager that an object has been created, deleted, or modified.
HRESULT OnItemNotify(UINTuCode,LPSTRlpszProgId,LPSTRlpszObjType,HREPLITEMhItem,ULONGulFlags);
Parameters
- uCode
[in] Code that describes what happened. It is one of the following values.Value Description RNC_CREATED Object was created. RNC_MODIFIED Object was modified. RNC_DELETED Object was deleted. RNC_SHUTDOWN The store has been shut down. ActiveSync should unload the module immediately. - lpszProgId
[in] Long pointer to the null-terminated string that contains the programmatic identifier of the store. - lpszObjType
[in] Long pointer to the null-terminated string that contains the name of the object type. - hItem
[in] Handle to the concerned item. - ulFlags
[in] Reserved.
Return Values
An appropriate HRESULT value is returned.
Remarks
If the store is capable of detecting changes and deletions as they occur, an ActiveSync service provider should call the IReplNotify::OnItemNotify method immediately after any changes or deletions are detected.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.
Link Library: Coredll.lib.
See Also
Send Feedback on this topic to the authors