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

Developer

API Reference

ITRIGPLAYEREVENTNOTIFIER_ADDEVENTNOTIFIER()

Brew Release
Brew MP 1.0.2
Description
This function allows a callback function to be registered for notification of all events that are delivered to trigplayer.
Params
pif
[]:
A pointer to an ITrigplayerEventNotifier object.
eventNotificationCB
[]:
The function registered for event notification.
context
[]:
The context used for registering the callback function.

Prototype
  •    int ITrigplayerEventNotifier_AddEventNotifier(
          ITrigplayerEventNotifier* pif, 
          TrigplayerEventNotificationCB eventNotificationCB, 
          void * context);
    
Return
  •    SUCCESS   - the call has been completed successfully
       EFAILED   - a null value was supplied to the function
       ENOMEMORY - the function failed to allocate enough memory
    
Side Effect
  • None
Comments
None