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

Developer

API Reference

IBTCONNECTION_GETEVENT()

Brew Release
Brew MP 1.0.2
See Also
IBTConnection_OnEventNotify()
Description
This method retrieves the next event on the connection object. When the signal registered via IBTConnection_OnEventNotify() is triggered, this API should be called repeatedly until it returns AEE_ENOREMORE to retrieve all events.
Params
po
[in]:
the object
pdEvent
[out]:
destination for the event code
pdResult
[out]:
only valid for event representing failure operation
Return
AEE_SUCCESS
[]:
event info successfully retrieved
AEE_EBADPARM
[]:
input pointers are invalid
AEE_ENOMORE
[]:
no more events to retrieve
Interface
Prototype
  •    int IBTConnection_GetEvent (IBTConnection*    po, 
                                   BTConnEventType*  pdEvent,
                                   BTResult*         pdResult);
    
Side Effect
  • None
Comments
None