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

Developer

API Reference

ITELEPHONE_GETCALLS()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function writes to the given memory location the list of current active Call Descriptors in the system.
Params
pme
[in]:
The interface pointer.
po
[out]:
Buffer to write the active calls data.
dwSize
[in]:
amount of memory in bytes available at address po.
Interface
  • ITELEPHONE
Prototype
  •    int ITELEPHONE_GetCalls( ITelephone *pme, AEETCalls *po, uint32 dwSize );
    
Return
  • SUCCESS : the function succeeded in writing data describing active calls to the given location in memory. EBADPARM : Either po is NULL or dwSize is less than 4 bytes.
Side Effect
  • None
Comments
On SUCCESS, the dwCount member of AEETCalls will indicate the number of active calls in the system. The number of descriptors written to the given memory location is limited to available space.