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

Win32, x64, Mobile.

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:

Raster Image Functions: Creating and Maintaining Lists of Images

 

Implementing Animation

Example

For a short example, refer to L_AppendPlayback. For complete sample code, refer to the FRAME.C module of the DEMO example.