LEADTOOLS Raster Imaging C DLL Help > Function References > 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
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
Win32, x64, Linux.
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.