L_DestroyPlayback

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_DestroyPlayback(hPlayback, phList)

HPLAYBACK hPlayback;

/* playback handle */

pHBITMAPLIST phList;

/* address of the list variable to be updated */

Invalidates the animation playback handle. The image list is not deleted.

Parameter

Description

hPlayback

Handle that references the animation playback.

phList

NULL or the address of the variable to be updated with the handle to the bitmap list that the playback used. This is useful it the list was created using L_AppendPlayback during the playback. You can pass NULL if you do not need the list handle. In that case, if the list was created using L_AppendPlayback, LEADTOOLS will free the list from memory.

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 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_CreatePlayback, L_GetPlaybackDelay,

 

L_CancelPlaybackWait, L_ProcessPlayback,

 

L_ClearPlaybackUpdateRect, L_GetPlaybackIndex,

 

L_GetPlaybackState, 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_ProcessPlayback. For complete sample code, refer to the CHILD.C module of the DEMO example.