L_DestroyPlayback (original) (raw)
Summary
Invalidates the animation playback handle. The image list is not deleted.
Syntax
#include "l_bitmap.h"
L_LTDIS_API L_INT L_DestroyPlayback(hPlayback, phList)
Parameters
HPLAYBACK hPlayback
Handle that references the animation playback.
pHBITMAPLIST 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
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_GetPlaybackDelay
- L_CancelPlaybackWait
- L_ProcessPlayback
- L_ClearPlaybackUpdateRect
- L_GetPlaybackIndex
- L_GetPlaybackState
- L_GetPlaybackUpdateRect
- L_SetPlaybackIndex
- L_AppendPlayback
- L_ValidatePlaybackLines
Topics
Example
For an example, refer to L_ProcessPlayback.
For a complete sample code, refer to the CHILD.C module of the DEMO example.
LEADTOOLS Raster Imaging C API Help