#include <mo/Mobiclip.h>MOResult MOGetDecodedFrameNumber(const MOInstance* pInstance, u32 *pFrameNumber)| pInstance | Instance of the concerned movie. |
| pFrameNumber | Will contain the last decoded frame number. |
MO_RESULT_OK |
Success. |
MO_RESULT_NULL |
MOInstance pointer is NULL. |
MO_RESULT_NOT_OPENED |
A successfull call to MOOpen function have not been done before, or open process not complete yet. |
That functions will return the absolute frame number of the last decoded frame.
Warning, if you use seek functions such as MOGoToIFrame, the framenumber will not always be the incremented by one at each call.
03/26/2009 Parameter renaming done.
06/22/2008 Initial version.