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.
Parameters
  • 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.
Comment
In case the movement is not linear the function returns AEE_EFAILED.
  • Follow