L_GetPlaybackState (original) (raw)
Summary
Gets the current state of the animation playback engine.
Syntax
#include "l_bitmap.h"
L_LTDIS_API L_INT L_GetPlaybackState(hPlayback, puState)
Parameters
HPLAYBACK hPlayback
Handle that references the animation playback.
L_UINT *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
Value | Meaning |
---|---|
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
Win32, x64, Linux.
See Also
Functions
- L_CreatePlayback
- L_DestroyPlayback
- L_GetPlaybackDelay
- L_CancelPlaybackWait
- L_ProcessPlayback
- L_ClearPlaybackUpdateRect
- L_GetPlaybackIndex
- L_GetPlaybackUpdateRect
- L_SetPlaybackIndex
- L_AppendPlayback
- L_ValidatePlaybackLines
Topics
Example
For an example, refer to L_AppendPlayback.
For a complete sample code, refer to the FRAME.C module of the DEMO example.
LEADTOOLS Raster Imaging C API Help