Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_GetPlaybackState
#include "l_bitmap.h"
L_LTDIS_API L_INT L_GetPlaybackState(hPlayback, puState)
HPLAYBACK hPlayback; |
/* playback handle */ |
L_UINT *puState; |
/* address of the variable to be updated */ |
Gets the current state of the animation playback engine.
Parameter |
Description |
hPlayback |
Handle that references the animation playback. |
puState |
Address of the variable to be updated with a constant that describes the current state of the animation playback engine. For possible values, refer to Animation Playback States. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Windows 2000 / XP/Vista, Windows CE.
See Also
Example
For a short example, refer to L_AppendPlayback. For complete sample code, refer to the FRAME.C module of the DEMO example.