API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

PIM_ICONTACTS_BEGINTRANSACTION()

Brew Release
Brew MP 1.0.2
See Also
Error Codes pim_IContacts
Description
This function allows the client to optimize changes to the underlying store using transactions, providing the client with a method to begin a transaction in the underlying store.
Params
pif
[]:
[in] The pim_IContacts interface.
Interface
Prototype
  •    AEEResult pim_IContacts_BeginTransaction(pim_IContacts *pif);
    
Return
  • AEE_SUCCESS : Successful transaction beginning. Another error code : Otherwise.
Side Effect
  • None
Comments
Note that any changes made while a transaction is underway are not committed to the underlying file system until the transaction is committed. Note that only one transaction may be active on the contacts data store at any time. This implies that if an application starts a transaction, other applications will be unable to modify the data store until the transaction is committed or rolled back.