Developer

API Reference

ITrigplayerEventNotifier_AddEventNotifier()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
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.
Parameters
  • 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
Comment
None
  • Follow