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

Developer

API Reference

ITAPI_ONCALLSTATUS()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ITAPI
Description
Used to register a callback function that will be invoked by Brew MP when there is a change in the call-status. It supports flags that can be used to specify what type of call-states the applet cares about.
Params
pITAPI
[]:
pointer to the ITAPI object.
pfn
[]:
notification function to be called when any call-status changes.
pUser
[]:
user data to be passed to the notification function when it is invoked.
dwDelay
[]:
the time period in milliseconds when Brew MP waits after the call-state has changed and before notifying the applet.
wFlags
[]:
the following flags are supported...
Interface
Prototype
  •  int ITAPI_OnCallStatus(ITAPI * pITAPI, PFNNOTIFY pfn, void * pUser, uint32 dwDelay, uint16 wFlags);
    
Return
  • AEE_SUCCESS : successfully registered. AEE_ENOMEMORY : failed.
Side Effect
  • None
Comments
None