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

Developer

API Reference

IOBSERVER_GETLASTPOINTERUPEVENT()

Brew Release
Brew MP 1.0.2
See Also
- IObserver_GetProperty()
Description
This function is used to retrieve last pointer up event. Size of the last pointer up event string can be retrieved by passing -1 as buffer argument.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
pcBuffer
[]:
[in] Pointer to a buffer where the last pointer up event string is to be loaded into
pnSize
[]:
[in/out] Pointer to size of last pointer up event string or input buffer
Interface
Prototype
  •    int IObserver_GetLastPointerUpEvent(IObserver *pif, char *pcBuffer, int* pnSize);
    
Return
  •    AEE_SUCCESS - If observer returns last pointer up event string.
       AEE_EFAILED - Otherwise.
    
Side Effect
  • IObserver_GetLastPointerUpEvent() calls IObserver_GetProperty() and has the effect of processing an PROPEX_LAST_EVT_POINTER_UP event.
Comments
If the pointer to the given buffer is set to -1 the size of the event string will be returned in the size field.