Developer

API Reference

IvCalStore_LockCalendar()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
IvCalStore_UnlockCalendar
Description
This IvCalStore Interface has been deprecated, use the pim_IRecordStore Interface. This function is used to Lock the calendar.
Parameters
  • pIvCalStore
    []:
    [in] Pointer to the IvCalStore Interface object.
Interface
Prototype
   int IvCalStore_LockCalendar(IvCalStore  *pIvCalStore);
Return
AEE_SUCCESS : If the calendar is locked successfully. AEE_EPRIVLEVEL : If the app doesn't have enough privileges to lock
Side Effect
None
Comment
Only an app with privilege level AEEPRIVID_vCalStoreLock would be able to lock the calendar. Once the calendar is locked no other app with less priv level would be able to access the calendar database.
  • Follow