Developer

API Reference

IBTBIPInitiator_GetEvent()

Brew Release
Brew MP 1.0.2
See Also
IBTBIPInitiator_OnEventNotify
Description
Retrieves the next event from the event queue. Application should call this API repeatedly until it returns AEE_ENOMORE.
Parameters
  • _me
    [in]:
    the object
  • pEvent
    [out]:
    destination for event data
    Return
  • AEE_SUCCESS
    []:
    event is successfully retrieved
  • AEE_EBADPARM
    []:
    invalid input parameters
  • AEE_ENOMORE
    []:
    no more events to retrieve
Prototype
   AEEResult IBTBIPInitiator_GetEvent(IBTBIPInitiator*            _me, 
                                      AEEBTBIPInitiatorEventType* pEvent);
Comment
The following list shows data fields in AEEBTBIPInitiatorEventType associated with each event:
AEEBTBIPI_EV_CONNECTED : cResult AEEBTBIPI_EV_DISCONNECTED : cResult AEEBTBIPI_EV_GET_FUNCS_DONE : cResult, cFunc AEEBTBIPI_EV_OP_INITIATED : cFunc AEEBTBIPI_EV_OP_PROGRESS : nSize = number of data bytes transferred AEEBTBIPI_EV_OP_COMPLETED : cFunc, cResult, and others depending on operation AEEBTBIPI_EV_EVENT_Q_OVERFLOW : nCount = number of events dropped since last GetEvent call
  • Follow