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

Developer

API Reference

IOBSERVER_GETLLMDIST()

Brew Release
Brew MP 1.0.2
See Also
IObserver Interface IObserver_GetPropertyEx()
Description
This function retrieves the distance of the linear movement determined by the observer.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
pDist
[]:
[out] The distance of the linear movement in pixels.
Interface
Prototype
  •    int IObserver_GetLLMDist(IObserver *pif, int *pDist); 
    
Return
  •    AEE_SUCCESS - If the distance was retrieved.
       AEE_EFAILED - If the distance was not retrieved.
    
Side Effect
  • IObserver_GetLLMDist() calls IObserver_GetPropertyEx() and has the effect of processing an PROPEX_POINTER_LLM_DIST event.
Comments
In case the movement is not linear the function returns AEE_EFAILED.