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

Developer

API Reference

PIM_ICALLHISTORYUTIL_GETNEXTFIELD()

Brew Release
Brew MP 1.0.2
See Also
pim_ICallHistoryUtil_CreateIterator() pim_ICallHistoryUtil_GetNumFields()
Description
This function parses the pim_IRecordStore record using the pim_ICallHistoryUtil_Iterator object created with pim_ICallHistoryUtil_CreateIterator() and returns the next pim_ICallHistoryUtil_Field entry in the record. The "next" field depends on the location of the Iterator object within the record. If Iterator is pim_ICallHistoryUtil_SupportedFieldsIterator, the function will return the "next" field from the list of supported CallHistory fields.
Prototype
  •    AEEResult pim_ICallHistoryUtil_GetNextField(pim_ICallHistoryUtil* _pif, 
                                                   pim_ICallHistoryUtil_Iterator Itr, 
                                                   char* FieldName, 
                                                   int FieldNameLen, 
                                                   int* FieldNameLenReq, 
                                                   pim_ICallHistoryUtil_FieldValueType* ValueType)
    
Return
  • AEE_SUCCESS if field could be read successfully.
    Error code otherwise
Side Effect
  • None
Comments
Unless Itr was pim_ICallHistoryUtil_SupportedFieldsIterator, it is important to call pim_ICallHistoryUtil_DeleteIterator() after completing the record parsing operation.